Subversion Repositories WebE

Rev

Rev 20 | Rev 30 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 20 Rev 22
Line -... Line 1...
-
 
1
<%@taglib uri="/struts-tags" prefix="s"%>
1
<html>
2
<html>
2
<head>
3
<head>
3
<title>User bearbeiten</title>
4
<title>User bearbeiten</title>
4
</head>
5
</head>
5
<body>
6
<body>
6
7
7
<h1>UserListe</h1>
8
<h1>UserListe</h1>
-
 
9
<p>Die Liste:</p>
-
 
10
-
 
11
<s:if test="userList.size() == 0">
8
<p>Noch nicht umgesetzt</p>
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
9
</body>
40
</body>
10
</html>
41
</html>
11
42