Rev 1022 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1022 | Rev 1023 | ||
---|---|---|---|
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 | <html> |
8 | <html> |
9 | 9 | ||
10 | <head> |
10 | <head> |
11 | <meta http-equiv="expires" content="0"> |
11 | <meta http-equiv="expires" content="0"> |
12 | <title><bean:message key="ak.hostadmiral.page.domain.list.title" /></title> |
12 | <title><bean:message key="ak.hostadmiral.page.domain.list.title" /></title> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
13 | <link rel="stylesheet" type="text/css" href="<strutsx:root />/style/general.css"> |
14 | </head> |
14 | </head> |
15 | 15 | ||
16 | <body> |
16 | <body> |
17 | 17 | ||
18 | <h1><bean:message key="ak.hostadmiral.page.domain.list.title" /></h1> |
18 | <h1><bean:message key="ak.hostadmiral.page.domain.list.title" /></h1> |
19 | 19 | ||
20 | <strutsx:errorsIterator id="errors" /> |
20 | <strutsx:errorsIterator id="errors" /> |
21 | <strutsx:notEmpty name="errors"> |
21 | <strutsx:notEmpty name="errors"> |
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
22 | <div class="error"><bean:message key="ak.hostadmiral.page.general.errors" />: |
23 | <ul> |
23 | <ul> |
24 | <logic:iterate name="errors" id="error"> |
24 | <logic:iterate name="errors" id="error"> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
25 | <li><strutsx:message name="error" property="key" valuesProperty="values" /></li> |
26 | </logic:iterate> |
26 | </logic:iterate> |
27 | </ul> |
27 | </ul> |
28 | </div> |
28 | </div> |
29 | </strutsx:notEmpty> |
29 | </strutsx:notEmpty> |
30 | 30 | ||
31 | <table border=1> |
31 | <table border=1> |
32 | <tr> |
32 | <tr> |
33 | <th><bean:message key="ak.hostadmiral.page.domain.list.name" /></th> |
33 | <th><bean:message key="ak.hostadmiral.page.domain.list.name" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.domain.list.owner" /></th> |
34 | <th><bean:message key="ak.hostadmiral.page.domain.list.owner" /></th> |
35 | <th><bean:message key="ak.hostadmiral.page.domain.list.enabled" /></th> |
35 | <th><bean:message key="ak.hostadmiral.page.domain.list.enabled" /></th> |
36 | <th> </th> |
36 | <th> </th> |
37 | <th> </th> |
37 | <th> </th> |
38 | </tr> |
38 | </tr> |
39 | 39 | ||
40 | <logic:iterate name="domains" id="domain"> |
40 | <logic:iterate name="domains" id="domain"> |
41 | <tr> |
41 | <tr> |
42 | <td><bean:write name="domain" property="name" /></td> |
42 | <td><bean:write name="domain" property="name" /></td> |
43 | <td><bean:write name="domain" property="owner.login" /></td> |
43 | <td><bean:write name="domain" property="owner.login" /></td> |
44 | <td> |
44 | <td> |
45 | <logic:equal name="domain" property="enabled" value="true">x</logic:equal> |
45 | <logic:equal name="domain" property="enabled" value="true">x</logic:equal> |
46 | <logic:notEqual name="domain" property="enabled" value="true"> </logic:notEqual> |
46 | <logic:notEqual name="domain" property="enabled" value="true"> </logic:notEqual> |
47 | </td> |
47 | </td> |
48 | <td> |
48 | <td> |
49 | <core:editable name="domain"> |
49 | <core:editable name="domain"> |
50 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.edit" /></backpath:link> |
50 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.edit" /></backpath:link> |
51 | </core:editable> |
51 | </core:editable> |
52 | <core:notEditable name="domain"> |
52 | <core:notEditable name="domain"> |
53 | <core:viewable name="domain"> |
53 | <core:viewable name="domain"> |
54 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.view" /></backpath:link> |
54 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.view" /></backpath:link> |
55 | </core:viewable> |
55 | </core:viewable> |
56 | <core:notViewable name="domain"> |
56 | <core:notViewable name="domain"> |
57 | |
57 | |
58 | </core:notViewable> |
58 | </core:notViewable> |
59 | </core:notEditable> |
59 | </core:notEditable> |
60 | </td> |
60 | </td> |
61 | <td> |
61 | <td> |
62 | <core:deleteable name="domain"> |
62 | <core:deleteable name="domain"> |
63 | <backpath:link action="/domain/deleting" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.delete" /></backpath:link> |
63 | <backpath:link action="/domain/deleting" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.delete" /></backpath:link> |
64 | </core:deleteable> |
64 | </core:deleteable> |
65 | <core:notDeleteable name="domain"> |
65 | <core:notDeleteable name="domain"> |
66 | |
66 | |
67 | </core:notDeleteable> |
67 | </core:notDeleteable> |
68 | </td> |
68 | </td> |
69 | </tr> |
69 | </tr> |
70 | </logic:iterate> |
70 | </logic:iterate> |
71 | </table> |
71 | </table> |
72 | 72 | ||
73 | <logic:equal name="allowedToCreate" value="true"> |
73 | <logic:equal name="allowedToCreate" value="true"> |
74 | <backpath:link action="/domain/edit"><bean:message key="ak.hostadmiral.page.domain.list.add" /></backpath:link> |
74 | <backpath:link action="/domain/edit"><bean:message key="ak.hostadmiral.page.domain.list.add" /></backpath:link> |
75 | </logic:equal> |
75 | </logic:equal> |
76 | 76 | ||
77 | <br> |
77 | <br> |
78 | <backpath:backlink><bean:message key="ak.hostadmiral.page.domain.list.back" /></backpath:backlink> |
78 | <backpath:backlink><bean:message key="ak.hostadmiral.page.domain.list.back" /></backpath:backlink> |
79 | 79 | ||
80 | <p> |
80 | <p> |
81 | <bean:message key="ak.hostadmiral.page.general.version" />: |
81 | <bean:message key="ak.hostadmiral.page.general.version" />: |
82 | <bean:write name="projectVersion" /> |
82 | <bean:write name="projectVersion" /> |
83 | </p> |
83 | </p> |
84 | 84 | ||
85 | </body> |
85 | </body> |
86 | 86 | ||
87 | </html> |
87 | </html> |