1 | <!DOCTYPE html>
|
---|
2 | <html>
|
---|
3 | <head>
|
---|
4 | <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
---|
5 | <title>Research Facilitator Tool</title>
|
---|
6 | <link rel="stylesheet" type="text/css" href="dojotoolkit/dijit/themes/claro/claro.css" />
|
---|
7 | <link rel="stylesheet" type="text/css" href="dojotoolkit/dojox/grid/resources/Grid.css" />
|
---|
8 | <link rel="stylesheet" type="text/css" href="dojotoolkit/dojox/grid/resources/claroGrid.css" />
|
---|
9 | <link rel="stylesheet" type="text/css" href="dojotoolkit/dojox/widget/Toaster/Toaster.css" />
|
---|
10 | <link rel="stylesheet" type="text/css" href="rft/css/main.css" />
|
---|
11 | <script type="text/javascript" src="dojotoolkit/dojo/dojo.js" data-dojo-config="async: true, parseOnLoad: false, tlmSiblingOfDojo: false, isDebug: true, baseUrl: '', packagePaths: {'dojotoolkit':['dojo','dijit', 'dojox'], '.':['rft']}"></script>
|
---|
12 | <script type="text/javascript">
|
---|
13 | require([
|
---|
14 | 'dojo/parser',
|
---|
15 | 'dijit/DropDownMenu',
|
---|
16 | 'dijit/layout/AccordionContainer',
|
---|
17 | 'dijit/layout/BorderContainer',
|
---|
18 | 'dijit/layout/ContentPane',
|
---|
19 | 'dijit/layout/TabContainer',
|
---|
20 | 'dijit/layout/SplitContainer',
|
---|
21 | 'dijit/MenuBar',
|
---|
22 | 'dijit/MenuBarItem',
|
---|
23 | 'dijit/form/Button',
|
---|
24 | 'dijit/form/ComboBox',
|
---|
25 | 'dijit/form/Form',
|
---|
26 | 'dijit/form/Select',
|
---|
27 | 'dijit/form/SimpleTextarea',
|
---|
28 | 'dijit/form/TextBox',
|
---|
29 | 'dijit/form/Textarea',
|
---|
30 | 'dijit/PopupMenuBarItem',
|
---|
31 | 'dijit/TitlePane',
|
---|
32 | 'dojox/grid/DataGrid',
|
---|
33 | 'dojox/widget/TitleGroup',
|
---|
34 | 'rft/ui/List',
|
---|
35 | 'rft/ui/MainMenu',
|
---|
36 | 'rft/ui/MenuBarLink',
|
---|
37 | 'rft/ui/MenuLink',
|
---|
38 | 'rft/ui/Notifications',
|
---|
39 | 'rft/ui/LineWithActionsWidget',
|
---|
40 | 'rft/ui/QuestionWidget',
|
---|
41 | 'rft/ui/Selector',
|
---|
42 | 'rft/ui/SelectorThijs',
|
---|
43 | 'rft/ui/LineWithActionsWidgetThijs',
|
---|
44 | 'rft/ui/TitleGroup',
|
---|
45 | 'dojo/domReady!'
|
---|
46 | ],function(parser){
|
---|
47 | parser.parse();
|
---|
48 | });
|
---|
49 |
|
---|
50 | function goToPage(name) {
|
---|
51 | window.location = "http://localhost/RESEARCHTOOL/Dev/branches/rest-dojo-ui/client/"+name+".html";
|
---|
52 | }
|
---|
53 | </script>
|
---|
54 | </head>
|
---|
55 |
|
---|
56 | <body class="dijitReset claro">
|
---|
57 | <div class="page" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'">
|
---|
58 | <!-- Top menu bar -->
|
---|
59 | <div class="topbar" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'">
|
---|
60 | <h1>ResearchTool</h1>
|
---|
61 | <div data-dojo-type="rft.ui.MainMenu"></div>
|
---|
62 | <div class="breadcrumbs">
|
---|
63 | <span class="breadcrumb">User > </span>
|
---|
64 | <span class="breadcrumb">Session > </span>
|
---|
65 | <span class="breadcrumbCurrent">Survey A [Design]</span>
|
---|
66 | </div>
|
---|
67 | </div>
|
---|
68 | <!-- Main content window -->
|
---|
69 | <div class="content" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'">
|
---|
70 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'" style="height: 500px;">
|
---|
71 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'">
|
---|
72 | <h2>
|
---|
73 | <span class="rftIcon rftIconSurvey"></span>
|
---|
74 | <span class="headerText">Survey A [Design]</span>
|
---|
75 | </h2>
|
---|
76 | </div>
|
---|
77 |
|
---|
78 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'left', design:'headline'" style="width: 300px;">
|
---|
79 | <!-- Left toolbar -->
|
---|
80 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'">
|
---|
81 | <!--Accordion-->
|
---|
82 | <div data-dojo-type="dijit.layout.AccordionContainer" class="orange">
|
---|
83 | <div data-dojo-type="dijit.layout.ContentPane" title="Included questions" data-dojo-props="iconClass: 'rftIcon rftIconQuestion'">
|
---|
84 | <div data-dojo-type="rft.ui.List">
|
---|
85 | <div data-dojo-type="rft.ui.LineWithActionsWidgetThijs" data-dojo-props="title:'Question 1', actions:{'remove':{callback: function(){}, properties: {blockButton: false, modifiers: 'white', icon: 'Delete'}}}"></div>
|
---|
86 | <div data-dojo-type="rft.ui.LineWithActionsWidgetThijs" data-dojo-props="title:'Question 1', actions:{'remove':{callback: function(){}, properties: {blockButton: false, modifiers: 'white', icon: 'Delete'}}}"></div>
|
---|
87 | <div data-dojo-type="rft.ui.LineWithActionsWidgetThijs" data-dojo-props="title:'Question 1', actions:{'remove':{callback: function(){}, properties: {blockButton: false, modifiers: 'white', icon: 'Delete'}}}"></div>
|
---|
88 | <div data-dojo-type="rft.ui.LineWithActionsWidgetThijs" data-dojo-props="title:'Question 1', actions:{'remove':{callback: function(){}, properties: {blockButton: false, modifiers: 'white', icon: 'Delete'}}}"></div>
|
---|
89 | </div>
|
---|
90 | </div>
|
---|
91 | <div data-dojo-type="dijit.layout.ContentPane" title="Content" data-dojo-props="iconClass:'rftIcon rftIconPlus'">
|
---|
92 | <!-- Content objects here -->
|
---|
93 | </div>
|
---|
94 | </div>
|
---|
95 | </div>
|
---|
96 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'bottom'">
|
---|
97 | <!--Buttons-->
|
---|
98 | <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconAccept'">Save</button>
|
---|
99 | <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconCancel'">Discard</button>
|
---|
100 | <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconUndo'">Exit Design</button>
|
---|
101 | </div>
|
---|
102 | </div>
|
---|
103 |
|
---|
104 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'">
|
---|
105 | <!-- Center preview/editor -->
|
---|
106 | <div class="QuestionEditor">
|
---|
107 | <div class="PreviewWindow">Content here</div>
|
---|
108 | </div>
|
---|
109 | </div>
|
---|
110 | </div>
|
---|
111 | </div>
|
---|
112 | </div>
|
---|
113 | </body>
|
---|
114 | </html>
|
---|