Commit Graph

144 Commits

Author SHA1 Message Date
Karsten Heiken
c648715fd0 Add prototype for a settings page 2011-07-31 19:10:43 +02:00
Karsten Heiken
29f9424a66 Add settings language file 2011-07-31 19:10:26 +02:00
Karsten Heiken
3efb6dcc53 Automatically load the project model since we need it in the header 2011-07-31 18:46:50 +02:00
Karsten Heiken
eaf6396b50 Add div to the notifications so we can load them via ajax 2011-07-31 18:33:02 +02:00
Karsten Heiken
89067dddcf Spaces to tabs 2011-07-31 18:32:28 +02:00
Karsten Heiken
22b30b53df Personalize the welcome message 2011-07-31 18:29:06 +02:00
Karsten Heiken
79e36493db user model: if we don't get an explicit username, use the active user
and while we're at it change spaces to tabs
2011-07-31 18:28:17 +02:00
Karsten Heiken
f31d78ef96 Automatically load the user model 2011-07-31 18:25:59 +02:00
Karsten Heiken
abf1746924 Remove tree helper
We don't need it anymore, since we got rid of Ext. Thank goodness.
2011-07-31 18:07:07 +02:00
Karsten Heiken
072b201de1 Implement notification system in global header file
Usage:
  $this->messages->add('Text goes here', 'type')

Types:
 - notice
 - success
 - error
2011-07-31 18:05:02 +02:00
Karsten Heiken
2e3e92f708 Change class name in css file 2011-07-31 18:03:51 +02:00
Karsten Heiken
3a5799e257 Automatically load the messaging system 2011-07-31 18:02:20 +02:00
Karsten Heiken
74a1e71ccd Include messaging system for better handling of notifications 2011-07-31 18:01:57 +02:00
Karsten Heiken
62307b5dd8 Implement basic authentication
TODO: Forgot password, Registration, and so on
2011-07-31 17:55:02 +02:00
Karsten Heiken
0abec5ecea Get completely rid of ExtJS for good
Fuck that shit!

Signed-off-by: Karsten Heiken <karsten@disposed.de>
2011-07-31 17:38:24 +02:00
Karsten Heiken
ceae02ff91 h4 instead of labels for the forms 2011-07-31 17:33:50 +02:00
Karsten Heiken
08be8918e4 Add tabs to the "wizard" for creation of new trials 2011-07-31 17:28:46 +02:00
Karsten Heiken
965d5b5c5a Change notifications from ids to classes 2011-07-31 17:28:17 +02:00
Karsten Heiken
d5459a4efc Add tab definitions to the CSS file 2011-07-31 17:26:03 +02:00
Karsten Heiken
c98cd7b832 Add JS file for jQuery magic 2011-07-31 17:24:08 +02:00
Karsten Heiken
7777f31158 Add jQuery from the Google CDN 2011-07-31 17:23:25 +02:00
Karsten Heiken
ee6dd202b6 Create a programs controller 2011-07-31 16:41:19 +02:00
Karsten Heiken
052b32cc05 Add some getters to the program model 2011-07-31 16:40:01 +02:00
Karsten Heiken
b81794fe77 Add some commonly used buttons to the dashboard 2011-07-31 16:39:42 +02:00
Karsten Heiken
d89c2b087c Change buttons to Google style 2011-07-31 15:57:08 +02:00
Karsten Heiken
fbf9e3fb4f Add googleish buttons 2011-07-31 15:55:33 +02:00
Karsten Heiken
6dd68d8f7d Add link to create a new trial 2011-07-31 15:02:14 +02:00
Karsten Heiken
c98ca7ee44 Load projects dynamically in the sidebar
Code in views sucks. Yes.
Anyway, this is simplest way.

Simplicity = Good

Signed-off-by: Karsten Heiken <karsten@disposed.de>
2011-07-31 14:52:50 +02:00
Karsten Heiken
2437060483 Create temporary method to get own projects
TODO: Change this to the actual user after we implemented sessions
2011-07-31 14:51:13 +02:00
Karsten Heiken
02e921c435 Load parameters dynamically when creating a new trial
When creating a project we read the available parameters
from the database.
2011-07-31 14:43:53 +02:00
Karsten Heiken
e86d90cd0c Create a program model 2011-07-31 14:42:06 +02:00
Karsten Heiken
c6cc599d10 Create prototype for trial management 2011-07-31 14:07:54 +02:00
Karsten Heiken
adae20d957 Update DataMapper even if it's not needed 2011-07-28 20:20:09 +02:00
Karsten Heiken
33853da2b1 Add view to display the details of a project 2011-07-28 20:19:29 +02:00
Karsten Heiken
6367493000 Add view to create new projects 2011-07-28 20:18:53 +02:00
Karsten Heiken
7821be22e7 Create getAll() in project controller 2011-07-28 20:18:31 +02:00
Karsten Heiken
2a8f4e1b97 Rename get to getById in project controller 2011-07-28 20:18:04 +02:00
Karsten Heiken
5cf99a7640 Set get* methods private in project model because they are not done 2011-07-28 20:12:16 +02:00
Karsten Heiken
18e5bf7c12 Reimplement deletion of projects 2011-07-28 20:10:49 +02:00
Karsten Heiken
273bfbd1e0 Remove DataMapper snippet from project controller 2011-07-28 20:09:53 +02:00
Karsten Heiken
8ef79d4e34 Implement basic project listing 2011-07-28 20:08:27 +02:00
Karsten Heiken
50a551da7a Implement project creation
ToDo: Enable uploading of configuration files and 3d models
2011-07-28 20:01:31 +02:00
Karsten Heiken
a3a5225143 Improve creation of new projects 2011-07-28 19:58:55 +02:00
Karsten Heiken
1419ee03bd Add link to dashboard so we can create projects 2011-07-28 19:57:26 +02:00
Karsten Heiken
b74c8501fc Add links to the dashboard and project list to the header 2011-07-28 19:56:50 +02:00
Karsten Heiken
015022503c Add table selector to stylesheet 2011-07-28 19:54:26 +02:00
Karsten Heiken
67aef80279 Rename configurations to trials 2011-07-28 19:53:47 +02:00
Karsten Heiken
19c963f6f6 Create a stupid-ass notification system
Later we should switch to something more sophisticated.
2011-07-28 18:38:37 +02:00
Karsten Heiken
f16720f8ff Remove unneeded stylsheet 2011-07-28 18:32:53 +02:00
Karsten Heiken
babe7e2368 Move api controller to the root directory.
There are very few actions to perform through the api. We do not
need a special directory for them.
2011-07-22 17:21:58 +02:00