Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
920 | dev | 1 | <%@ page contentType="text/html;charset=UTF-8" language="java" %> |
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" %> |
||
924 | dev | 6 | <%@ taglib uri="/WEB-INF/hostadmiral-core.tld" prefix="core" %> |
920 | dev | 7 | <html> |
8 | |||
9 | <head> |
||
10 | <meta http-equiv="expires" content="0"> |
||
924 | dev | 11 | <title><bean:message key="ak.hostadmiral.page.domain.list.title" /></title> |
920 | dev | 12 | </head> |
13 | |||
14 | <body> |
||
15 | |||
924 | dev | 16 | <h1><bean:message key="ak.hostadmiral.page.domain.list.title" /></h1> |
920 | dev | 17 | |
18 | <html:errors/> |
||
19 | |||
20 | <table border=1> |
||
21 | <tr> |
||
924 | dev | 22 | <th><bean:message key="ak.hostadmiral.page.domain.list.name" /></th> |
23 | <th><bean:message key="ak.hostadmiral.page.domain.list.owner" /></th> |
||
24 | <th><bean:message key="ak.hostadmiral.page.domain.list.enabled" /></th> |
||
920 | dev | 25 | <th> </th> |
26 | <th> </th> |
||
27 | </tr> |
||
28 | |||
29 | <logic:iterate name="domains" id="domain"> |
||
30 | <tr> |
||
31 | <td><bean:write name="domain" property="name" /></td> |
||
32 | <td><bean:write name="domain" property="owner.login" /></td> |
||
33 | <td> |
||
34 | <logic:equal name="domain" property="enabled" value="true">x</logic:equal> |
||
35 | <logic:notEqual name="domain" property="enabled" value="true"> </logic:notEqual> |
||
36 | </td> |
||
37 | <td> |
||
38 | <core:editable name="domain"> |
||
924 | dev | 39 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.edit" /></backpath:link> |
920 | dev | 40 | </core:editable> |
41 | <core:notEditable name="domain"> |
||
42 | <core:viewable name="domain"> |
||
924 | dev | 43 | <backpath:link action="/domain/edit" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.view" /></backpath:link> |
920 | dev | 44 | </core:viewable> |
45 | <core:notViewable name="domain"> |
||
46 | |
||
47 | </core:notViewable> |
||
48 | </core:notEditable> |
||
49 | </td> |
||
50 | <td> |
||
51 | <core:deleteable name="domain"> |
||
924 | dev | 52 | <backpath:link action="/domain/delete" paramId="id" paramName="domain" paramProperty="id"><bean:message key="ak.hostadmiral.page.domain.list.delete" /></backpath:link> |
920 | dev | 53 | </core:deleteable> |
54 | <core:notDeleteable name="domain"> |
||
55 | |
||
56 | </core:notDeleteable> |
||
57 | </td> |
||
58 | </tr> |
||
59 | </logic:iterate> |
||
60 | </table> |
||
61 | |||
62 | <logic:equal name="allowedToCreate" value="true"> |
||
924 | dev | 63 | <backpath:link action="/domain/edit"><bean:message key="ak.hostadmiral.page.domain.list.add" /></backpath:link> |
920 | dev | 64 | </logic:equal> |
65 | |||
66 | <br> |
||
924 | dev | 67 | <backpath:backlink><bean:message key="ak.hostadmiral.page.domain.list.back" /></backpath:backlink> |
920 | dev | 68 | |
69 | </body> |
||
70 | |||
71 | </html> |