Subversion Repositories general

Rev

Rev 1023 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
1023 dev 1
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
920 dev 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.domain.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.domain.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.domain.list.name" /></th>
36
		<th><bean:message key="ak.hostadmiral.page.domain.list.owner" /></th>
37
		<th><bean:message key="ak.hostadmiral.page.domain.list.enabled" /></th>
920 dev 38
		<th>&nbsp;</th>
39
		<th>&nbsp;</th>
40
	</tr>
41
 
42
<logic:iterate name="domains" id="domain">
43
	<tr>
44
		<td><bean:write name="domain" property="name" /></td>
45
		<td><bean:write name="domain" property="owner.login" /></td>
46
		<td>
47
			<logic:equal name="domain" property="enabled" value="true">x</logic:equal>
48
			<logic:notEqual name="domain" property="enabled" value="true">&nbsp;</logic:notEqual>
49
		</td>
50
		<td>
51
			<core:editable name="domain">
924 dev 52
				<backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.edit" /></backpath:link>
920 dev 53
			</core:editable>
54
			<core:notEditable name="domain">
55
				<core:viewable name="domain">
924 dev 56
					<backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.view" /></backpath:link>
920 dev 57
				</core:viewable>
58
				<core:notViewable name="domain">
59
					&nbsp;
60
				</core:notViewable>
61
			</core:notEditable>
62
		</td>
63
		<td>
64
			<core:deleteable name="domain">
1012 dev 65
				<backpath:link action="/domain/deleting" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.delete" /></backpath:link>
920 dev 66
			</core:deleteable>
67
			<core:notDeleteable name="domain">
68
				&nbsp;
69
			</core:notDeleteable>
70
		</td>
71
	</tr>
72
</logic:iterate>
73
</table>
74
 
1028 dev 75
<p>
76
	List size: <bean:write name="listInfo" property="size" />
77
	Page: <list:currentpage infoBean="listInfo" /> of <bean:write name="listInfo" property="totalPages" />
78
</p>
79
<p>
80
	<list:hasfirst infoBean="listInfo"><list:firstpage infoBean="listInfo">&lt;&lt;</list:firstpage></list:hasfirst>
81
	<list:nofirst infoBean="listInfo">&lt;&lt;</list:nofirst>
82
 
83
	<list:hasprev infoBean="listInfo"><list:prevpage infoBean="listInfo">&lt;</list:prevpage></list:hasprev>
84
	<list:noprev infoBean="listInfo">&lt;</list:noprev>
85
 
86
	<list:iterate infoBean="listInfo" max="20">
87
		<list:iscurrent>
88
			<list:displaypage />
89
		</list:iscurrent>
90
		<list:notcurrent>
91
			<list:pagelink><list:displaypage /></list:pagelink>
92
		</list:notcurrent>
93
	</list:iterate>
94
 
95
	<list:hasnext infoBean="listInfo"><list:nextpage infoBean="listInfo">&gt;</list:nextpage></list:hasnext>
96
	<list:nonext infoBean="listInfo">&gt;</list:nonext>
97
 
98
	<list:haslast infoBean="listInfo"><list:lastpage infoBean="listInfo">&gt;&gt;</list:lastpage></list:haslast>
99
	<list:nolast infoBean="listInfo">&gt;&gt;</list:nolast>
100
</p>
101
 
920 dev 102
<logic:equal name="allowedToCreate" value="true">
924 dev 103
	<backpath:link action="/domain/edit"><bean:message key="ak.hostadmiral.page.domain.list.add" /></backpath:link>
920 dev 104
</logic:equal>
105
 
106
<br>
924 dev 107
<backpath:backlink><bean:message key="ak.hostadmiral.page.domain.list.back" /></backpath:backlink>
920 dev 108
 
1022 dev 109
<p>
1014 dev 110
	<bean:message key="ak.hostadmiral.page.general.version" />:
111
	<bean:write name="projectVersion" />
112
</p>
113
 
920 dev 114
</body>
115
 
116
</html>