Last change
on this file since 280 was
275,
checked in by hendrikvanantwerpen, 13 years ago
|
- [Server] Added PUT support to API.
- [Client] Extended questions page with Accordion and list with actions on each row.
|
File size:
1.1 KB
|
Rev | Line | |
---|
[263] | 1 | require([ |
---|
| 2 | 'dijit/form/Form', |
---|
[274] | 3 | 'dijit/form/TextBox', |
---|
| 4 | 'dijit/form/Button', |
---|
| 5 | 'dijit/form/Textarea', |
---|
[263] | 6 | 'dojo/store/JsonRest', |
---|
| 7 | 'dojo/data/ObjectStore', |
---|
| 8 | 'dojox/grid/DataGrid', |
---|
| 9 | 'dijit/layout/ContentPane', |
---|
| 10 | 'dijit/layout/TabContainer', |
---|
[274] | 11 | 'dijit/layout/AccordionContainer', |
---|
[263] | 12 | 'dijit/MenuBar', |
---|
| 13 | 'dijit/MenuBarItem', |
---|
[274] | 14 | 'dijit/PopupMenuBarItem', |
---|
| 15 | 'dijit/DropDownMenu', |
---|
[263] | 16 | 'rft/ui/MenuBarLink', |
---|
[274] | 17 | 'rft/ui/MenuLink', |
---|
[275] | 18 | 'rft/ui/LineWithActionsWidget', |
---|
[274] | 19 | 'rft/pages/questions' // could this be done dynamically? |
---|
[263] | 20 | ]); |
---|
| 21 | |
---|
[260] | 22 | require(['dojo/_base/window','dojo/parser', 'rft/ui/LoginDialog', |
---|
| 23 | 'dojo/dom', 'dojo/_base/connect', 'rft/auth', 'rft/content', |
---|
[274] | 24 | 'dojo/domReady!' ], |
---|
[260] | 25 | function(win,parser,LoginDialog,dom,connect,auth,content) { |
---|
| 26 | parser.parse(); |
---|
| 27 | |
---|
[263] | 28 | var login = new LoginDialog().placeAt(win.body()); |
---|
[260] | 29 | login.startup(); |
---|
| 30 | |
---|
| 31 | auth.restore() |
---|
[263] | 32 | .then(function(){ |
---|
[260] | 33 | content.initial(); |
---|
| 34 | },function(){ |
---|
| 35 | login.show(); |
---|
| 36 | }); |
---|
| 37 | |
---|
[274] | 38 | connect.connect(dom.byId('loginMenu'),'click',function(){ |
---|
[260] | 39 | login.show(); |
---|
| 40 | }); |
---|
[274] | 41 | |
---|
[260] | 42 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.