Last change
on this file since 468 was
468,
checked in by hendrikvanantwerpen, 12 years ago
|
Improved authentication
- Authentication cannot be cancelled, removing a lot of weird race
conditions.
- We offer a request provider that has automatic retry in case of
authentication failures.
- Reduced dependency on LoginDialog? by having it act independent
based on events. Other modules can just depend on 'session'.
|
File size:
1.1 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="onLogin">Login</div> |
---|
28 | </form> |
---|
29 | </div> |
---|
30 | </div> |
---|
Note: See
TracBrowser
for help on using the repository browser.