Rev 1014 | Rev 1029 | Go to most recent revision | 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" %> |
9 | <backpath:init backPathIgnore="pg" /> |
||
920 | dev | 10 | <html> |
11 | |||
12 | <head> |
||
13 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 14 | <title><bean:message key="ak.hostadmiral.page.user.system.list.title" /></title> |
958 | dev | 15 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
920 | dev | 16 | </head> |
17 | |||
18 | <body> |
||
19 | |||
924 | dev | 20 | <h1><bean:message key="ak.hostadmiral.page.user.system.list.title" /></h1> |
920 | dev | 21 | |
958 | dev | 22 | <strutsx:errorsIterator id="errors" /> |
23 | <strutsx:notEmpty name="errors"> |
||
24 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
||
25 | <ul> |
||
26 | <logic:iterate name="errors" id="error"> |
||
27 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
||
28 | </logic:iterate> |
||
29 | </ul> |
||
30 | </div> |
||
31 | </strutsx:notEmpty> |
||
920 | dev | 32 | |
33 | <table border=1> |
||
34 | <tr> |
||
924 | dev | 35 | <th><bean:message key="ak.hostadmiral.page.user.system.list.uid" /></th> |
36 | <th><bean:message key="ak.hostadmiral.page.user.system.list.name" /></th> |
||
37 | <th><bean:message key="ak.hostadmiral.page.user.system.list.owner" /></th> |
||
38 | <th><bean:message key="ak.hostadmiral.page.user.system.list.enabled" /></th> |
||
920 | dev | 39 | <th> </th> |
40 | <th> </th> |
||
41 | </tr> |
||
42 | |||
43 | <logic:iterate name="users" id="u"> |
||
44 | <tr> |
||
45 | <td><bean:write name="u" property="uid" /></td> |
||
46 | <td><bean:write name="u" property="name" /></td> |
||
47 | <td> |
||
48 | <logic:present name="u" property="owner"> |
||
49 | <bean:write name="u" property="owner.login" /> |
||
50 | </logic:present> |
||
51 | <logic:notPresent name="u" property="owner"> |
||
52 | |
||
53 | </logic:notPresent> |
||
54 | </td> |
||
55 | <td> |
||
56 | <logic:equal name="u" property="enabled" value="true">x</logic:equal> |
||
57 | <logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
||
58 | </td> |
||
59 | <td> |
||
60 | <core:editable name="u"> |
||
924 | dev | 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> |
920 | dev | 62 | </core:editable> |
63 | <core:notEditable name="u"> |
||
64 | <core:viewable name="u"> |
||
924 | dev | 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> |
920 | dev | 66 | </core:viewable> |
67 | <core:notViewable name="u"> |
||
68 | |
||
69 | </core:notViewable> |
||
70 | </core:notEditable> |
||
71 | </td> |
||
72 | <td> |
||
73 | <core:deleteable name="u"> |
||
1012 | dev | 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> |
920 | dev | 75 | </core:deleteable> |
76 | <core:notDeleteable name="u"> |
||
77 | |
||
78 | </core:notDeleteable> |
||
79 | </td> |
||
80 | </tr> |
||
81 | </logic:iterate> |
||
82 | </table> |
||
83 | |||
1028 | dev | 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 | |||
920 | dev | 111 | <logic:equal name="allowedToCreate" value="true"> |
924 | dev | 112 | <backpath:link action="/user/system/edit"><bean:message key="ak.hostadmiral.page.user.system.list.add" /></backpath:link> |
920 | dev | 113 | </logic:equal> |
114 | |||
115 | <br> |
||
924 | dev | 116 | <backpath:backlink><bean:message key="ak.hostadmiral.page.user.system.list.back" /></backpath:backlink> |
920 | dev | 117 | |
1028 | dev | 118 | <p> |
1014 | dev | 119 | <bean:message key="ak.hostadmiral.page.general.version" />: |
120 | <bean:write name="projectVersion" /> |
||
121 | </p> |
||
122 | |||
920 | dev | 123 | </body> |
124 | |||
125 | </html> |