summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/Login.page
blob: 3022eaeb19489531c7c0166f305ff6ddbe8fd6d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<%@ Title="My Company - Time Tracker - Site Logon" %>
<com:TContent ID="Main">
<h2>Time Tracker Website Login</h2>

<fieldset class="login"><legend>User Login</legend>
  <div class="username">
	<com:TLabel ForControl="username" Text="User Name:" />
	<span class="required">*</span>
	<com:TTextBox ID="username" />
	<com:TRequiredFieldValidator
		ControlToValidate="username"
		ErrorMessage="Please enter your username."
		ControlCssClass="required-field" />
  </div>
  <div class="password">
  	<com:TLabel ForControl="password" Text="Password:" />
  	<span class="required">*</span>
  	<com:TTextBox ID="password" TextMode="Password" />
	<com:TRequiredFieldValidator
		ControlToValidate="password"
		ErrorMessage="Please enter your password."
		ControlCssClass="required-field" />
  </div>
  <div class="remember">
  	<com:TCheckBox ID="remember" Text="Remember me next time" />
  </div>
  <com:TCustomValidator
	ControlToValidate="password"
	Display="Dynamic"
	Text="Your login attempt was not successful. Please try again."
	OnServerValidate="validateUser" />
  <div class="signin">
  	<com:TButton Text="Log In" OnClick="doLogin" />
		<prop:tests asd />
  </div>
  <div class="create">
  	<a href="?page=TimeTracker.UserCreate">Create New User</a>
  </div>
</fieldset>
	<com:TButton ID="button1" Text="Button Text" OnClick="button1_Clicked">

	</com:TButton>
	<com:TButton ID="button1" 
		Text=<%= print echo "asd" %> 
		OnClick="button1_Clicked" />
		<%= print echo "asd" %> 
		<%# print echo "asd" %> 
		<%[ asd ]%>
		<%= as echo 
		
		"asd" %>
		<%# as echo 
		"asd" %>
		<%= print echo "asd" %> 
		<%# print echo "asd" %> 
</com:TContent>