source: Dev/branches/rest-dojo-ui/client/rft/pages/questions.html @ 288

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

[Client] MultipleChoiceWidget? for editing multiple choice questions
[Client] Move templates to separate directories.
[Client] Created QuestionWidget? to edit complete questions.
[Client] Fixed startup race condition where parsing was started before all classes were loaded.

File size: 913 bytes
Line 
1<div data-dojo-type="rft.pages.questions">
2    <h1>Questions</h1>
3    <div data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onNewQuestion">New question</div>
4    <div data-dojo-type="rft.ui.TitleGroup" data-rft-attach-point="accordion">
5    </div>
6    <div data-dojo-type="dijit.Dialog" title="Question" data-rft-attach-point="questionDialog">
7        <form data-dojo-type="dijit.form.Form" data-rft-attach-point="questionForm" data-rft-attach-event="onSubmit:onSaveQuestion">
8            <div data-dojo-type="rft.ui.QuestionWidget" data-rft-attach-point="questionWidget"></div>
9            <div style="float: right;">
10                <button type="button" data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onCancelQuestion">Cancel</button>
11                <button type="submit" data-dojo-type="dijit.form.Button">Save</button>
12            </div>
13        </form>
14    </div>
15</div>
Note: See TracBrowser for help on using the repository browser.