| 1 |
lars |
1 |
<%@ Title="My Company - Time Tracker - Site Logon" %>
|
|
|
2 |
<com:TContent ID="Main">
|
|
|
3 |
<h2>Time Tracker Website Login</h2>
|
|
|
4 |
|
|
|
5 |
<fieldset class="login"><legend>User Login</legend>
|
|
|
6 |
<div class="username">
|
|
|
7 |
<com:TLabel ForControl="username" Text="User Name:" />
|
|
|
8 |
<span class="required">*</span>
|
|
|
9 |
<com:TTextBox ID="username" />
|
|
|
10 |
<com:TRequiredFieldValidator
|
|
|
11 |
ControlToValidate="username"
|
|
|
12 |
ErrorMessage="Please enter your username."
|
|
|
13 |
ControlCssClass="required-field" />
|
|
|
14 |
</div>
|
|
|
15 |
<div class="password">
|
|
|
16 |
<com:TLabel ForControl="password" Text="Password:" />
|
|
|
17 |
<span class="required">*</span>
|
|
|
18 |
<com:TTextBox ID="password" TextMode="Password" />
|
|
|
19 |
<com:TRequiredFieldValidator
|
|
|
20 |
ControlToValidate="password"
|
|
|
21 |
ErrorMessage="Please enter your password."
|
|
|
22 |
ControlCssClass="required-field" />
|
|
|
23 |
</div>
|
|
|
24 |
<div class="remember">
|
|
|
25 |
<com:TCheckBox ID="remember" Text="Remember me next time" />
|
|
|
26 |
</div>
|
|
|
27 |
<com:TCustomValidator
|
|
|
28 |
ControlToValidate="password"
|
|
|
29 |
Display="Dynamic"
|
|
|
30 |
Text="Your login attempt was not successful. Please try again."
|
|
|
31 |
OnServerValidate="validateUser" />
|
|
|
32 |
<div class="signin">
|
|
|
33 |
<com:TButton Text="Log In" OnClick="doLogin" />
|
|
|
34 |
<prop:tests asd />
|
|
|
35 |
</div>
|
|
|
36 |
<div class="create">
|
|
|
37 |
<a href="?page=TimeTracker.UserCreate">Create New User</a>
|
|
|
38 |
</div>
|
|
|
39 |
</fieldset>
|
|
|
40 |
</com:TContent>
|