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