source: Dev/branches/rest-dojo-ui/client/rft/ui/LoginDialog.html @ 274

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.5 KB
Line 
1<div class="dijitDialog" role="dialog" aria-labelledby="${id}_title">
2    <div data-dojo-attach-point="titleBar" class="dijitDialogTitleBar">
3        <span data-dojo-attach-point="titleNode" class="dijitDialogTitle" id="${id}_title"></span>
4        <span data-dojo-attach-point="closeButtonNode" class="dijitDialogCloseIcon" data-dojo-attach-event="ondijitclick: onCancel" title="${buttonCancel}" role="button" tabIndex="-1">
5            <span data-dojo-attach-point="closeText" class="closeText" title="${buttonCancel}">x</span>
6        </span>
7    </div>
8    <div data-dojo-attach-point="containerNode">
9        <form data-dojo-type="dijit.form.Form" data-dojo-attach-point="loginForm">
10            <fieldset>
11                <label for="email" class="loginLabel">Email</label>
12                <input data-dojo-type="dijit.form.TextBox" name="email" type="text" class="loginInput" />
13                <label for="password" class="loginLabel">Password</label>
14                <input data-dojo-type="dijit.form.TextBox" name="password" type="password" class="loginInput" />
15            </fieldset>
16            <div style="float: right;">
17                <button type="button" data-dojo-type="dijit.form.Button" data-dojo-attach-event="onClick:onRegister">Register</button>
18                <button type="submit" data-dojo-type="dijit.form.Button" data-dojo-attach-event="onClick:onLogin">Login</button>
19            </div>
20        </form>
21        <div data-dojo-attach-point="loginErrors" style="clear: both; color: red;"></div>
22    </div>
23</div>
Note: See TracBrowser for help on using the repository browser.