[342] | 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> |
---|
[344] | 6 | <link rel="stylesheet" type="text/css" href="dojotoolkit/dijit/themes/claro/claro.css" /> |
---|
[342] | 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 | </script> |
---|
| 50 | </head> |
---|
| 51 | <body class="dijitReset claro"> |
---|
| 52 | <div class="page" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'"> |
---|
| 53 | <!-- Top menu bar --> |
---|
| 54 | <div class="topbar" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'"> |
---|
| 55 | <h1>ResearchTool</h1> |
---|
[344] | 56 | <div data-dojo-type="rft.ui.MainMenu"></div> |
---|
[342] | 57 | <div class="breadcrumbs"> |
---|
| 58 | <span class="breadcrumb">User > </span> |
---|
| 59 | <span class="breadcrumb">Session > </span> |
---|
| 60 | <span class="breadcrumbCurrent">Survey A [editing]</span> |
---|
| 61 | </div> |
---|
| 62 | </div> |
---|
| 63 | <!-- Main content window --> |
---|
| 64 | <div class="content" data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'"> |
---|
| 65 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'" style="height: 500px;"> |
---|
| 66 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'"> |
---|
| 67 | <h2> |
---|
| 68 | <span class="rftIcon rftIconSurvey"></span> |
---|
| 69 | <span class="headerText">Survey A [editing]</span> |
---|
| 70 | </h2> |
---|
| 71 | </div> |
---|
| 72 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'"> |
---|
| 73 | <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'"> |
---|
| 74 | Presets |
---|
| 75 | </div> |
---|
| 76 | <div data-dojo-type="dijit.layout.TabContainer" class="blue" data-dojo-props="tabPosition:'left-h',region:'center'"> |
---|
| 77 | <div data-dojo-type="dijit.layout.ContentPane" title="Category One, this is a very long title to see how overflow works. This part is cut off because it passes two lines at 200px wide."> |
---|
| 78 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat one'"></div> |
---|
| 79 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat two'"></div> |
---|
| 80 | </div> |
---|
| 81 | <div data-dojo-type="dijit.layout.ContentPane" title="Category Two"> |
---|
| 82 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat one'"></div> |
---|
| 83 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat two'"></div> |
---|
| 84 | </div> |
---|
| 85 | <div data-dojo-type="dijit.layout.ContentPane" title="Category Three"> |
---|
| 86 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat one'"></div> |
---|
| 87 | </div> |
---|
| 88 | <div data-dojo-type="dijit.layout.ContentPane" title="Category Four"> |
---|
| 89 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Green Question Subcat one'"></div> |
---|
| 90 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat two'"></div> |
---|
| 91 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat three'"></div> |
---|
| 92 | </div> |
---|
| 93 | <div data-dojo-type="dijit.layout.ContentPane" title="Category Five"> |
---|
| 94 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat one'"></div> |
---|
| 95 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat two'"></div> |
---|
| 96 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat three'"></div> |
---|
| 97 | <div data-dojo-type="rft.ui.SelectorThijs" data-dojo-props="Title:'Subcat four'"></div> |
---|
| 98 | |
---|
[344] | 99 | <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass:'rftIcon rftIconSettings'">Properties</button> |
---|
[342] | 100 | <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass:'rftIcon rftIconPreview'">Preview</button> |
---|
[344] | 101 | <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass:'rftIcon rftIconCancel'">Cancel</button> |
---|
[342] | 102 | <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass:'rftIcon rftIconAccept'">Accept changes</button> |
---|
| 103 | </div> |
---|
| 104 | </div> |
---|
| 105 | </div> |
---|
| 106 | <!-- "Shopping cart" --> |
---|
| 107 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'right'" style="width: 300px"> |
---|
| 108 | <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'top'"> |
---|
| 109 | <h3>Included questions</h3> |
---|
| 110 | </div> |
---|
| 111 | <div data-dojo-type="rft.ui.List" data-dojo-props="region:'center'"> |
---|
| 112 | <!-- These would have to be dynamically generated instead of declared here! --> |
---|
[344] | 113 | <div data-dojo-type="rft.ui.LineWithActionsWidgetThijs" data-dojo-props="title:'Question one', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div> |
---|
| 114 | <div data-dojo-type="rft.ui.LineWithActionsWidgetThijs" data-dojo-props="title:'Question two', actions: {'Cancel':{callback: function(){}, properties: {blockButton: false, icon: 'Delete', modifiers:'white'}}}"></div> |
---|
[342] | 115 | </div> |
---|
| 116 | </div> |
---|
| 117 | </div> |
---|
| 118 | </div> |
---|
| 119 | </div> |
---|
| 120 | </body> |
---|
| 121 | </html> |
---|