summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/UserList.page
blob: e1f69e7a858668544861fb9e01cbc7afd302c8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<com:TContent ID="Main">
<h2>Users</h2>
<fieldset>
  <legend>User List</legend>
	
  <com:TRepeater ID="list" EnableViewState="false">
  <prop:HeaderTemplate>
	<table cellpadding="2">
	<tr class="header">
	<th>User Name</th>
	<th>E-Mail Address</th>
	</tr>
  </prop:HeaderTemplate>
  <prop:ItemTemplate>
	<tr class="row0">
	<td><%# h($this->DataItem->Name) %></td>
	<td><%# h($this->DataItem->EmailAddress) %></td>
	</tr>
  </prop:ItemTemplate>
  <prop:AlternatingItemTemplate>
	<tr class="row1">
	<td><%# h($this->DataItem->Name) %></td>
	<td><%# h($this->DataItem->EmailAddress) %></td>
	</tr>
  </prop:AlternatingItemTemplate>
  <prop:FooterTemplate>
	</table>
  </prop:FooterTemplate>
</com:TRepeater>
<div style="padding:1em">
	<a href="?page=TimeTracker.UserCreate">Create New User</a>
</div>
</com:TContent>