Subversion Repositories general

Rev

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