Changes to the prototype of Ride(Rich IDE)

Esse commit está contido em:
Morvana Bonin
2012-04-16 00:24:23 -03:00
commit f2559bdf1b
4 arquivos alterados com 96 adições e 16 exclusões
+60 -1
Ver Arquivo
@@ -4,7 +4,66 @@
?>
<div id="appBody">
<div id="menuPanel">
<br/>
<nav id="menuList">
<ul>
<li tabindex="0">
File
<ul>
<li>New project</li>
<li>Open</li>
<li class="depends-on-project">Save</li>
<li class="depends-on-project">Save as...</li>
<li class="separator"></li>
<li>Import</li>
<li class="depends-on-project">Export</li>
<li class="separator"></li>
<li>Exit</li>
</ul>
</li>
<li tabindex="0">
Edit
<ul>
<li class="depends-on-project">Project properties</li>
<li>User properties</li>
<li>User preferences</li>
<li class="separator"></li>
<li>Manage projects</li>
<li class="depends-on-admin">Manage users</li>
</ul>
</li>
<li tabindex="0">
View
<ul>
<li>Left Panel</li>
<li>Output Panel</li>
</ul>
</li>
<li tabindex="0">
Tools
<ul>
<li class="depends-on-project">Analyze project</li>
<li class="depends-on-project">Update project</li>
<li class="depends-on-project">Commit project</li>
<li class="depends-on-project">Generate...</li>
</ul>
</li>
<li tabindex="0">
Help
<ul>
<li>Documentation</li>
<li>User Interface</li>
<li>User group</li>
<li class="separator"></li>
<li>Report a bug</li>
<li>Contribute</li>
</ul>
</li>
</ul>
</nav>
</div>
<div id="toolsPanel">
<br/>
+28 -5
Ver Arquivo
@@ -1,4 +1,4 @@
/*
/*
Document : mind-RIDE
Created on : Jun 10, 2011, 8:18:20 PM
Author : felipenmoura
@@ -6,7 +6,7 @@
Purpose of the stylesheet follows.
*/
root {
root {
display: block;
height:100%;
}
@@ -71,8 +71,31 @@ body
position:absolute;
}
#menuList{
position: relative;
}
#menuList ul{
margin: 0px;
padding: 0px;
list-style: none;
}
#menuList>ul>li{
padding: 4px;
margin-righ: 1px;
position: relative;
float: left;
}
#menuList>ul>li ul{
margin: 0px;
padding: 0px;
position: absolute;
display: none;
}
#menuList ul li:hover ul{
display: block;
}
#menuList ul li:focus ul{
}
+3 -5
Ver Arquivo
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of TheWebMind 3rd generation.
*
*
* @author Felipe Nascimento de Moura <felipenmoura@gmail.com>
* @license licenses/mind3rd.license
*/
@@ -10,10 +10,8 @@
Symfony\Component\Console;
/**
* This class represents the program auth, receiving the user and
* may also receive the password. It will start your session
* allowing you to run the restricted programs
*
* This program commits the current alterations to eveyone.
*
* @author Felipe Nascimento de Moura <felipenmoura@gmail.com>
*/
class Commit extends MindCommand implements program
+5 -5
Ver Arquivo
@@ -1,7 +1,7 @@
<?php
/**
* This file is part of TheWebMind 3rd generation.
*
*
* @author Felipe Nascimento de Moura <felipenmoura@gmail.com>
* @license licenses/mind3rd.license
*/
@@ -16,24 +16,24 @@
*/
class Who extends MindCommand implements program
{
public function executableFunction()
{
$name= JSON_decode($_SESSION['auth']);
$name= $name->name;
echo 'You are '.$_SESSION['login'].", also known as ".$name."\n";
}
public function __construct()
{
$this->setCommandName('who')
->setDescription("Show information about the currently logged used")
->setRestrict(true)
->setHelp("Show information about the currently logged used")
->setHelp("Show information about the currently logged user")
->setAction(function($class){
$class->executableFunction();
});
/*$this->addOption('am', 'am');
$this->addOption('i', 'i');*/
$this->addRequiredArgument('am',