summaryrefslogtreecommitdiff
path: root/demos/time-tracker/protected/pages/TimeTracker/UserList.page
blob: 3696e1dbc83f66d366a70e56049964812135bb89 (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><%#$this->DataItem->Name %></td>
	<td><%#$this->DataItem->EmailAddress %></td>
	</tr>
  </prop:ItemTemplate>
  <prop:AlternatingItemTemplate>
	<tr class="row1">
	<td><%#$this->DataItem->Name %></td>
	<td><%#$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>