Last change
on this file was
494,
checked in by hendrikvanantwerpen, 11 years ago
|
- Removed all Coffeescript from codebase (build process is still there).
- Nicer message on failed login.
- Own all event subscriptions from widgets.
- Update objects in _ObjectPage with invalid info too, or our refresh
will overwrite what user did.
|
File size:
1.3 KB
|
Rev | Line | |
---|
[468] | 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> |
---|
[494] | 25 | <div> |
---|
| 26 | <div data-dojo-type="dijit/form/Button" |
---|
| 27 | type="submit" |
---|
| 28 | data-dojo-attach-event="onClick:onLogin">Login</div> |
---|
| 29 | <div class="infoField" |
---|
| 30 | data-dojo-attach-point="infoNode"></div> |
---|
| 31 | </div> |
---|
[468] | 32 | </form> |
---|
| 33 | </div> |
---|
| 34 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.