Subversion Repositories WebE

Rev

Rev 20 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
22 moos 1
<%@taglib uri="/struts-tags" prefix="s"%>
20 moos 2
<html>
3
<head>
4
<title>User bearbeiten</title>
5
</head>
6
<body>
7
 
8
<h1>UserListe</h1>
22 moos 9
<p>Die Liste:</p>
10
 
11
<s:if test="userList.size() == 0">
12
<p>Keine Benutzer gefunden</p>
13
</s:if>
14
<s:else>
15
<table>
16
	<tr>
17
		<th>Username</th>
18
		<th>Vorname</th>
19
		<th>Nachname</th>
20
		<th>Admin?</th>
21
	</tr>
22
<s:iterator value="userList" status="stat">
23
	<tr>
24
		<td><s:property value="username" /></td>
25
		<td><s:property value="firstname" /></td>
26
		<td><s:property value="lastname" /></td>
27
		<td><s:property value="admin" /></td>
28
 
29
		<td><s:url id="editURL" action="editUser">
30
			<s:param name="id" value="%{id}"></s:param>
31
		</s:url> <s:a href="%{editURL}">Edit</s:a></td>
32
		<td><s:url id="deleteURL" action="deleteUser">
33
			<s:param name="id" value="%{id}"></s:param>
34
		</s:url> <s:a href="%{deleteURL}">Delete</s:a></td>
35
	</tr>
36
</s:iterator>
37
</table>
38
</s:else>
39
 
20 moos 40
</body>
41
</html>