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