Rev 1014 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1014 | Rev 1028 | ||
---|---|---|---|
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/ak-strutsx.tld" prefix="strutsx" %> |
7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
7 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
- | 8 | <%@ taglib uri="/WEB-INF/hostadmiral-list.tld" prefix="list" %> |
|
- | 9 | <backpath:init backPathIgnore="pg" /> |
|
8 | <html> |
10 | <html> |
9 | 11 | ||
10 | <head> |
12 | <head> |
11 | <meta http-equiv="expires" content="0"> |
13 | <meta http-equiv="expires" content="0"> |
12 | <title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title> |
14 | <title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
15 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | </head> |
16 | </head> |
15 | 17 | ||
16 | <body> |
18 | <body> |
17 | 19 | ||
18 | <h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1> |
20 | <h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1> |
19 | 21 | ||
20 | <strutsx:errorsIterator id="errors" /> |
22 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
23 | <strutsx:notEmpty name="errors"> |
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
24 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
23 | <ul> |
25 | <ul> |
24 | <logic:iterate name="errors" id="error"> |
26 | <logic:iterate name="errors" id="error"> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
27 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
26 | </logic:iterate> |
28 | </logic:iterate> |
27 | </ul> |
29 | </ul> |
28 | </div> |
30 | </div> |
29 | </strutsx:notEmpty> |
31 | </strutsx:notEmpty> |
30 | 32 | ||
31 | <table border=1> |
33 | <table border=1> |
32 | <tr> |
34 | <tr> |
33 | <th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th> |
35 | <th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th> |
35 | <th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th> |
37 | <th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th> |
38 | <th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th> |
37 | <th> </th> |
39 | <th> </th> |
38 | <th> </th> |
40 | <th> </th> |
39 | </tr> |
41 | </tr> |
40 | 42 | ||
41 | <logic:iterate name="users" id="u"> |
43 | <logic:iterate name="users" id="u"> |
42 | <tr> |
44 | <tr> |
43 | <td><bean:write name="u" property="uid" /></td> |
45 | <td><bean:write name="u" property="uid" /></td> |
44 | <td><bean:write name="u" property="name" /></td> |
46 | <td><bean:write name="u" property="name" /></td> |
45 | <td> |
47 | <td> |
46 | <logic:present name="u" property="owner"> |
48 | <logic:present name="u" property="owner"> |
47 | <bean:write name="u" property="owner.login" /> |
49 | <bean:write name="u" property="owner.login" /> |
48 | </logic:present> |
50 | </logic:present> |
49 | <logic:notPresent name="u" property="owner"> |
51 | <logic:notPresent name="u" property="owner"> |
50 | |
52 | |
51 | </logic:notPresent> |
53 | </logic:notPresent> |
52 | </td> |
54 | </td> |
53 | <td> |
55 | <td> |
54 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
56 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
55 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
57 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
56 | </td> |
58 | </td> |
57 | <td> |
59 | <td> |
58 | <core:editable name="u"> |
60 | <core:editable name="u"> |
59 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.edit" /></backpath:link> |
61 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.edit" /></backpath:link> |
60 | </core:editable> |
62 | </core:editable> |
61 | <core:notEditable name="u"> |
63 | <core:notEditable name="u"> |
62 | <core:viewable name="u"> |
64 | <core:viewable name="u"> |
63 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.view" /></backpath:link> |
65 | <backpath:link action="/user/system/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.view" /></backpath:link> |
64 | </core:viewable> |
66 | </core:viewable> |
65 | <core:notViewable name="u"> |
67 | <core:notViewable name="u"> |
66 | |
68 | |
67 | </core:notViewable> |
69 | </core:notViewable> |
68 | </core:notEditable> |
70 | </core:notEditable> |
69 | </td> |
71 | </td> |
70 | <td> |
72 | <td> |
71 | <core:deleteable name="u"> |
73 | <core:deleteable name="u"> |
72 | <backpath:link action="/user/system/deleting" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.delete" /></backpath:link> |
74 | <backpath:link action="/user/system/deleting" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostadmiral.page.user.system.list.delete" /></backpath:link> |
73 | </core:deleteable> |
75 | </core:deleteable> |
74 | <core:notDeleteable name="u"> |
76 | <core:notDeleteable name="u"> |
75 | |
77 | |
76 | </core:notDeleteable> |
78 | </core:notDeleteable> |
77 | </td> |
79 | </td> |
78 | </tr> |
80 | </tr> |
79 | </logic:iterate> |
81 | </logic:iterate> |
80 | </table> |
82 | </table> |
81 | 83 | ||
- | 84 | <p> |
|
- | 85 | List size: <bean:write name="listInfo" property="size" /> |
|
- | 86 | Page: <list:currentpage infoBean="listInfo" /> of <bean:write name="listInfo" property="totalPages" /> |
|
- | 87 | </p> |
|
- | 88 | <p> |
|
- | 89 | <list:hasfirst infoBean="listInfo"><list:firstpage infoBean="listInfo"><<</list:firstpage></list:hasfirst> |
|
- | 90 | <list:nofirst infoBean="listInfo"><<</list:nofirst> |
|
- | 91 | ||
- | 92 | <list:hasprev infoBean="listInfo"><list:prevpage infoBean="listInfo"><</list:prevpage></list:hasprev> |
|
- | 93 | <list:noprev infoBean="listInfo"><</list:noprev> |
|
- | 94 | ||
- | 95 | <list:iterate infoBean="listInfo" max="20"> |
|
- | 96 | <list:iscurrent> |
|
- | 97 | <list:displaypage /> |
|
- | 98 | </list:iscurrent> |
|
- | 99 | <list:notcurrent> |
|
- | 100 | <list:pagelink><list:displaypage /></list:pagelink> |
|
- | 101 | </list:notcurrent> |
|
- | 102 | </list:iterate> |
|
- | 103 | ||
- | 104 | <list:hasnext infoBean="listInfo"><list:nextpage infoBean="listInfo">></list:nextpage></list:hasnext> |
|
- | 105 | <list:nonext infoBean="listInfo">></list:nonext> |
|
- | 106 | ||
- | 107 | <list:haslast infoBean="listInfo"><list:lastpage infoBean="listInfo">>></list:lastpage></list:haslast> |
|
- | 108 | <list:nolast infoBean="listInfo">>></list:nolast> |
|
- | 109 | </p> |
|
- | 110 | ||
82 | <logic:equal name="allowedToCreate" value="true"> |
111 | <logic:equal name="allowedToCreate" value="true"> |
83 | <backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link> |
112 | <backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link> |
84 | </logic:equal> |
113 | </logic:equal> |
85 | 114 | ||
86 | <br> |
115 | <br> |
87 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink> |
116 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink> |
88 | 117 | ||
89 | <p> |
118 | <p> |
90 | <bean:message key="ak.hostadmiral.page.general.version" />: |
119 | <bean:message key="ak.hostadmiral.page.general.version" />: |
91 | <bean:write name="projectVersion" /> |
120 | <bean:write name="projectVersion" /> |
92 | </p> |
121 | </p> |
93 | 122 | ||
94 | </body> |
123 | </body> |
95 | 124 | ||
96 | </html> |
125 | </html> |