Subversion Repositories general

Rev

Rev 1028 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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