source: Dev/branches/rest-dojo-ui/client/rft/pages/question.html @ 392

Last change on this file since 392 was 390, checked in by hendrikvanantwerpen, 13 years ago
  • Removed some id's from elements in templates, these give problems when a widget or page is loaded more then once (use data-*-attach-point to access the nodes).
  • Removed some unnecessary attach-* attributes from templates.
  • Fixed some event handling.
File size: 1.4 KB
Line 
1<div data-dojo-type="rft.pages.question" class="orange">
2    <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'center'" style="height: 500px;">
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">Question 123 [Editing]</span>
7            </h2>
8        </div>
9        <div data-dojo-type="dijit.layout.BorderContainer" data-dojo-props="region:'left', design:'headline'" style="width: 300px;">
10            <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'center'">
11                <div data-rft-attach-point="QuestionEditorToolkitNode"></div>
12            </div>
13            <div data-dojo-type="dijit.layout.ContentPane" data-dojo-props="region:'top'">
14                <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconCancel'" data-rft-attach-event="onClick:_onDiscard">Discard</button>
15                <button data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconAccept'" data-rft-attach-event="onClick:_onSave">Save and exit</button>
16            </div>
17        </div>
18        <div data-rft-attach-point="QuestionEditorPreviewNode"></div>
19    </div>
20</div>
Note: See TracBrowser for help on using the repository browser.