Rev 950 | Rev 961 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 950 | Rev 958 | ||
---|---|---|---|
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
2 | <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
3 | <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
4 | <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
5 | <%@ taglib uri="/WEB-INF/ak-backpath.tld" prefix="backpath" %> |
- | 6 | <%@ taglib uri="/WEB-INF/ak-strutsx.tld" prefix="strutsx" %> |
|
6 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <html> |
8 | <html> |
8 | 9 | ||
9 | <head> |
10 | <head> |
10 | <meta http-equiv="expires" content="0"> |
11 | <meta http-equiv="expires" content="0"> |
11 | <title><bean:message key="ak.hostadmiral.page.user.list.title" /></title> |
12 | <title><bean:message key="ak.hostadmiral.page.user.list.title" /></title> |
- | 13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
|
12 | </head> |
14 | </head> |
13 | 15 | ||
14 | <body> |
16 | <body> |
15 | 17 | ||
16 | <h1><bean:message key="ak.hostadmiral.page.user.list.title" /></h1> |
18 | <h1><bean:message key="ak.hostadmiral.page.user.list.title" /></h1> |
17 | 19 | ||
- | 20 | <strutsx:errorsIterator id="errors" /> |
|
- | 21 | <strutsx:notEmpty name="errors"> |
|
- | 22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
|
- | 23 | <ul> |
|
- | 24 | <logic:iterate name="errors" id="error"> |
|
- | 25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
|
- | 26 | </logic:iterate> |
|
- | 27 | </ul> |
|
- | 28 | </div> |
|
18 | <html:errors/> |
29 | </strutsx:notEmpty> |
19 | 30 | ||
20 | <table border=1> |
31 | <table border=1> |
21 | <tr> |
32 | <tr> |
22 | <th><bean:message key="ak.hostadmiral.page.user.list.login" /></th> |
33 | <th><bean:message key="ak.hostadmiral.page.user.list.login" /></th> |
23 | <th><bean:message key="ak.hostadmiral.page.user.list.boss" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.user.list.boss" /></th> |
24 | <th><bean:message key="ak.hostadmiral.page.user.list.superuser" /></th> |
35 | <th><bean:message key="ak.hostadmiral.page.user.list.superuser" /></th> |
25 | <th><bean:message key="ak.hostadmiral.page.user.list.enabled" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.user.list.enabled" /></th> |
26 | <th> </th> |
37 | <th> </th> |
27 | <th> </th> |
38 | <th> </th> |
28 | </tr> |
39 | </tr> |
29 | 40 | ||
30 | <logic:iterate name="users" id="u"> |
41 | <logic:iterate name="users" id="u"> |
31 | <tr> |
42 | <tr> |
32 | <td><bean:write name="u" property="login" /></td> |
43 | <td><bean:write name="u" property="login" /></td> |
33 | <td> |
44 | <td> |
34 | <logic:present name="u" property="boss"> |
45 | <logic:present name="u" property="boss"> |
35 | <bean:write name="u" property="boss.login" /> |
46 | <bean:write name="u" property="boss.login" /> |
36 | </logic:present> |
47 | </logic:present> |
37 | <logic:notPresent name="u" property="boss"> |
48 | <logic:notPresent name="u" property="boss"> |
38 | |
49 | |
39 | </logic:notPresent> |
50 | </logic:notPresent> |
40 | </td> |
51 | </td> |
41 | <td> |
52 | <td> |
42 | <logic:equal name="u" property="superuser" value="true">x</logic:equal> |
53 | <logic:equal name="u" property="superuser" value="true">x</logic:equal> |
43 | <logic:notEqual name="u" property="superuser" value="true"> </logic:notEqual> |
54 | <logic:notEqual name="u" property="superuser" value="true"> </logic:notEqual> |
44 | </td> |
55 | </td> |
45 | <td> |
56 | <td> |
46 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
57 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
47 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
58 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
48 | </td> |
59 | </td> |
49 | <td> |
60 | <td> |
50 | <core:editable name="u"> |
61 | <core:editable name="u"> |
51 | <backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.edit" /></backpath:link> |
62 | <backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.edit" /></backpath:link> |
52 | </core:editable> |
63 | </core:editable> |
53 | <core:notEditable name="u"> |
64 | <core:notEditable name="u"> |
54 | <core:rights name="u" method="partEditableBy"> |
65 | <core:rights name="u" method="partEditableBy"> |
55 | <backpath:link action="/user/partedit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.partedit" /></backpath:link> |
66 | <backpath:link action="/user/partedit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.partedit" /></backpath:link> |
56 | </core:rights> |
67 | </core:rights> |
57 | <core:noRights name="u" method="partEditableBy"> |
68 | <core:noRights name="u" method="partEditableBy"> |
58 | <core:viewable name="u"> |
69 | <core:viewable name="u"> |
59 | <backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.view" /></backpath:link> |
70 | <backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.view" /></backpath:link> |
60 | </core:viewable> |
71 | </core:viewable> |
61 | <core:notViewable name="u"> |
72 | <core:notViewable name="u"> |
62 | |
73 | |
63 | </core:notViewable> |
74 | </core:notViewable> |
64 | </core:noRights> |
75 | </core:noRights> |
65 | </core:notEditable> |
76 | </core:notEditable> |
66 | </td> |
77 | </td> |
67 | <td> |
78 | <td> |
68 | <core:deleteable name="u"> |
79 | <core:deleteable name="u"> |
69 | <backpath:link action="/user/deleting" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.delete" /></backpath:link> |
80 | <backpath:link action="/user/deleting" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.list.delete" /></backpath:link> |
70 | </core:deleteable> |
81 | </core:deleteable> |
71 | <core:notDeleteable name="u"> |
82 | <core:notDeleteable name="u"> |
72 | |
83 | |
73 | </core:notDeleteable> |
84 | </core:notDeleteable> |
74 | </td> |
85 | </td> |
75 | </tr> |
86 | </tr> |
76 | </logic:iterate> |
87 | </logic:iterate> |
77 | </table> |
88 | </table> |
78 | 89 | ||
79 | <backpath:link action="/user/edit"><bean:message key="ak.hostadmiral.page.user.list.add" /></backpath:link> |
90 | <backpath:link action="/user/edit"><bean:message key="ak.hostadmiral.page.user.list.add" /></backpath:link> |
80 | <br> |
91 | <br> |
81 | <backpath:link action="/user/failedLogins"><bean:message key="ak.hostadmiral.page.user.list.logins.failed" /></backpath:link> |
92 | <backpath:link action="/user/failedLogins"><bean:message key="ak.hostadmiral.page.user.list.logins.failed" /></backpath:link> |
82 | <br> |
93 | <br> |
83 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.list.back" /></backpath:backlink> |
94 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.list.back" /></backpath:backlink> |
84 | 95 | ||
85 | </body> |
96 | </body> |
86 | 97 | ||
87 | </html> |
98 | </html> |