Last change
on this file since 274 was
274,
checked in by hendrikvanantwerpen, 13 years ago
|
- [Client] Moved pages in subtree of rft/, allowing controllers next to them.
- [Client] Created questions page, gives overview and allows adding.
- [Client] Page controllers inherit from _Page, because the previous mechanism w
asn't working.
- [Client] Added new user registration.
- [Server] Changed user passwords to passwordHash/passwordSalt combination.
- [Server] Added simple object marshalling and unmarshalling to preserve types.
- [Server] Added ResearchToolObjectInterface? with static create() method. Implemented for all model classes.
|
File size:
1.8 KB
|
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="dijit.layout.AccordionContainer" data-dojo-props="doLayout: false" style="width: 100%; height: 100%;" data-rft-attach-point="accordion"> |
---|
5 | </div> |
---|
6 | <div data-dojo-type="dijit.Dialog" title="Question" data-rft-attach-point="questionDialog" style="width: 400px; height: 300px;"> |
---|
7 | <form data-dojo-type="dijit.form.Form" data-rft-attach-point="questionForm" data-rft-attach-event="onSubmit:onSaveQuestion"> |
---|
8 | <fieldset> |
---|
9 | <input data-dojo-type="dijit.form.TextBox" name="uid" type="text" class="dijitHidden" /> |
---|
10 | <label for="code" class="loginLabel">Code</label> |
---|
11 | <input data-dojo-type="dijit.form.TextBox" name="code" type="text" class="loginInput" /> |
---|
12 | <label for="question" class="loginLabel">Title</label> |
---|
13 | <input data-dojo-type="dijit.form.TextBox" name="title" type="text" class="loginInput" /> |
---|
14 | <label for="question" class="loginLabel">Description</label> |
---|
15 | <input data-dojo-type="dijit.form.Textarea" name="description" type="text" class="loginInput"/> |
---|
16 | <label for="category" class="loginLabel">Category</label> |
---|
17 | <input data-dojo-type="dijit.form.TextBox" name="category" type="text" class="loginInput" /> |
---|
18 | </fieldset> |
---|
19 | <div style="float: right;"> |
---|
20 | <button type="button" data-dojo-type="dijit.form.Button" data-rft-attach-event="onClick:onCancelQuestion">Cancel</button> |
---|
21 | <button type="submit" data-dojo-type="dijit.form.Button">Save</button> |
---|
22 | </div> |
---|
23 | </form> |
---|
24 | </div> |
---|
25 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.