source: Dev/branches/rest-dojo-ui/client/rft/pages/templates/surveys.html @ 417

Last change on this file since 417 was 417, checked in by hendrikvanantwerpen, 12 years ago

Put all model dependent code in one place. More separation of general and domain code.

File size: 2.4 KB
Line 
1<div>
2
3    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region:'top'">
4        <h2>
5            <span class="rftIcon rftIconSurvey"></span>
6            <span class="headerText">Surveys</span>
7        </h2>
8    </div>
9
10    <div data-dojo-attach-point="tabContainer" data-dojo-type="dijit/layout/TabContainer" class="blue" data-dojo-props="tabPosition:'left-h',region:'center'">
11
12        <div data-dojo-type="dijit/layout/BorderContainer" title="Drafts" data-dojo-attach-point="draftsTab">
13            <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'center'" data-dojo-attach-point="draftsContainer">
14            </div>
15            <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" style="height: 40px;">
16            </div>
17        </div>
18
19        <div data-dojo-type="dijit/layout/BorderContainer" title="Published" data-dojo-attach-point="publishedTab">
20            <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'center'" data-dojo-attach-point="publishedContainer">
21            </div>
22            <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" style="height: 40px;">
23            </div>
24        </div>
25
26        <div data-dojo-type="dijit/layout/BorderContainer" title="Runs" data-dojo-attach-point="runsTab">
27            <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'center'" data-dojo-attach-point="runsContainer">
28            </div>
29            <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" style="height: 40px;">
30            </div>
31        </div>
32    </div>
33
34    <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'" style="height: 40px;">
35        <button data-dojo-type="dijit/form/Button" class="blue" data-dojo-props="baseClass: 'rftBlockButton', iconClass: 'rftIcon rftIconNew'" data-dojo-attach-event="onClick:_onNewSurvey">New survey</button>
36    </div>
37
38    <div data-dojo-type="dijit/Dialog"
39         title="SurveyRun properties"
40         data-dojo-attach-point="surveyRunDialog">
41        <fieldset data-dojo-type="rft/model/widgets/SurveyRunFieldset"></fieldset>
42        <button data-dojo-type="dijit/form/Button" data-dojo-attach-event="onClick:_onSurveyRunOk">OK</button>
43        <button data-dojo-type="dijit/form/Button" data-dojo-attach-event="onClick:_onSurveyRunCancel">Cancel</button>
44    </div>
45
46</div>
Note: See TracBrowser for help on using the repository browser.