Last change
on this file since 492 was
492,
checked in by hendrikvanantwerpen, 11 years ago
|
- Enable/disable buttons on content change.
- One place to do date formatting, because it was going wrong again.
- Serialize questions in survey properly.
- _ComplexValueMixin consumes submit events, but does trigger outer
forms if present.
- Trigger dialog show/hide for login only after previous effect is
finished.
- Check that documents are actually valid, not just that validator
returned a result.
- Validate email and timestamp formats.
- Prepared for live runs.
|
File size:
1.2 KB
|
Line | |
---|
1 | <div> |
---|
2 | <div id="loginDialog" |
---|
3 | data-dojo-type="dijit/Dialog" |
---|
4 | data-dojo-props="title:'Login to QED', closable:false" |
---|
5 | data-dojo-attach-point="loginDialog"> |
---|
6 | <form data-dojo-type="dijit/form/Form" |
---|
7 | data-dojo-attach-point="loginForm" |
---|
8 | data-dojo-attach-event="onSubmit:onLogin"> |
---|
9 | <div> |
---|
10 | <label for="username" |
---|
11 | class="qedLabel">Username</label> |
---|
12 | <div name="username" |
---|
13 | class="qedField" |
---|
14 | data-dojo-type="dijit/form/ValidationTextBox" |
---|
15 | data-dojo-props="required: true"></div> |
---|
16 | </div> |
---|
17 | <div> |
---|
18 | <label for="password" class="qedLabel">Password</label> |
---|
19 | <div name="password" |
---|
20 | type="password" |
---|
21 | class="qedField" |
---|
22 | data-dojo-type="dijit/form/ValidationTextBox" |
---|
23 | data-dojo-props="required: true"></div> |
---|
24 | </div> |
---|
25 | <div data-dojo-type="dijit/form/Button" |
---|
26 | type="submit" |
---|
27 | data-dojo-attach-event="onClick:onLogin">Login</div> |
---|
28 | </form> |
---|
29 | </div> |
---|
30 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.