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

Last change on this file since 388 was 388, checked in by hendrikvanantwerpen, 13 years ago

Made QuestionEditorPreview? a ContentPane? that scales with the layout
correctly, no preset height in CSS needed anymore.
ISSUE: scrolling also starts a DnD event, Dojo bug?

File size: 1.3 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 id="btnDiscard" data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconCancel'">Discard</button>
15                <button id="btnSave" data-dojo-type="dijit.form.Button" data-dojo-props="baseClass: 'rftLargeButton', iconClass: 'rftIcon rftIconAccept'">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.