1 | <div class="blue"> |
---|
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" data-dojo-attach-point="titleNode">Survey Editor</span> |
---|
7 | </h2> |
---|
8 | </div> |
---|
9 | |
---|
10 | <div data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'center'"> |
---|
11 | <div data-dojo-attach-point="questionBrowser"></div> |
---|
12 | </div> |
---|
13 | |
---|
14 | <div data-dojo-type="dijit/layout/BorderContainer" data-dojo-props="region:'right'" style="width: 300px"> |
---|
15 | <div data-dojo-attach-point="surveyListViewNode" class="rftSurveyListView"> |
---|
16 | </div> |
---|
17 | |
---|
18 | <div data-dojo-type="dijit/layout/ContentPane" data-dojo-props="region: 'bottom'"> |
---|
19 | <button data-dojo-type="dijit/form/Button" |
---|
20 | data-dojo-attach-event="onClick:_onShowProperties" |
---|
21 | data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconProperties'"> |
---|
22 | Properties</button> |
---|
23 | <button data-dojo-type="dijit/form/Button" |
---|
24 | data-dojo-attach-event="onClick:_onSave" |
---|
25 | data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconAccept'"> |
---|
26 | Save Changes</button> |
---|
27 | <button data-dojo-type="dijit/form/Button" |
---|
28 | data-dojo-attach-event="onClick:_onDiscard" |
---|
29 | data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconCancel'"> |
---|
30 | Discard changes</button> |
---|
31 | <button data-dojo-type="dijit/form/Button" |
---|
32 | data-dojo-attach-event="onClick:_onShowPreview" |
---|
33 | data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconPreview'"> |
---|
34 | Preview</button> |
---|
35 | </div> |
---|
36 | |
---|
37 | <div data-dojo-type="dijit/Dialog" |
---|
38 | title="Survey properties" |
---|
39 | data-dojo-attach-point="propertiesDialog" |
---|
40 | data-dojo-attach-event="onSubmit:_onPropertiesOk"> |
---|
41 | |
---|
42 | <form data-dojo-type="dijit/form/Form" |
---|
43 | data-dojo-attach-point="propertiesForm"> |
---|
44 | <label for="title">Title</label> |
---|
45 | <input data-dojo-type="dijit/form/TextBox" name="title"/><br/> |
---|
46 | <label for="description">Description</label> |
---|
47 | <input data-dojo-type="dijit/form/Textarea" name="description"/><br/> |
---|
48 | </form> |
---|
49 | |
---|
50 | <div> |
---|
51 | <button data-dojo-type="dijit/form/Button" |
---|
52 | type="submit" |
---|
53 | data-dojo-attach-event="onClick:_onPropertiesOk"> |
---|
54 | OK</button> |
---|
55 | <button data-dojo-type="dijit/form/Button" |
---|
56 | type="button" |
---|
57 | data-dojo-attach-event="onClick:_onPropertiesCancel"> |
---|
58 | Cancel</button> |
---|
59 | </div> |
---|
60 | |
---|
61 | </div> |
---|
62 | |
---|
63 | </div> |
---|