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