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

Last change on this file since 260 was 260, checked in by hendrikvanantwerpen, 13 years ago
  • Clear LoginDialog? on show (in case of re-show).
  • Allow to link nodes/widgets to rft.ui.Page members with data-rft-attach-point attribute.
  • Allow arguments to a page to be passed with data-rft-props argument. Content loader rft.content sets this argument on the top node of a loaded page.
  • Have longer cookie-lifetime and update cookie when session is restored. Allow session restore in API and client code.
  • Moved startup Javascript to rft/run.js.
File size: 1.4 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="username" class="loginLabel">Email</label>
12                <input data-dojo-type="dijit.form.TextBox" name="username" 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        </form>
17        <button type="button" data-dojo-type="dijit.form.Button" data-dojo-attach-event="onClick:onLogin">Login</button>
18        <button type="button" data-dojo-type="dijit.form.Button" data-dojo-attach-event="onClick:onCancel">Cancel</button>
19        <div data-dojo-attach-point="loginErrors"></div>
20    </div>
21</div>
Note: See TracBrowser for help on using the repository browser.