Project

General

Profile

1
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
2
<%@ taglib uri="/tags/struts-html" prefix="html" %>
3
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
4

    
5
<table class="state" width="100%">
6
  <tbody>
7
    <tr>
8
      <td class="node">
9
        GeoServer
10
<logic:equal name="GeoServer.ApplicationState" property="appChanged" value="true">
11
        *
12
</logic:equal>
13
      </td>
14
      <td class="timestamp">
15
<logic:notEmpty name="GeoServer.ApplicationState" property="appTimestamp">
16
        <bean:write name="GeoServer.ApplicationState"
17
                    property="appTimestamp"
18
                    format="MMM d, h:mm a"/>
19
</logic:notEmpty>
20
<logic:empty name="GeoServer.ApplicationState" property="appTimestamp">
21
        --
22
</logic:empty>
23
      </td>      
24
    </tr>
25
    <tr>
26
      <td class="node">
27
        Configuration        
28
<logic:equal name="GeoServer.ApplicationState" property="configChanged" value="true">
29
        *
30
</logic:equal>        
31
      </td>
32
      <td class="timestamp">
33
<logic:notEmpty name="GeoServer.ApplicationState" property="configTimestamp">
34
        <bean:write name="GeoServer.ApplicationState"
35
              property="configTimestamp"
36
              format="MMM d, h:mm a"/>
37
</logic:notEmpty>
38
<logic:empty name="GeoServer.ApplicationState" property="configTimestamp">
39
        --
40
</logic:empty>
41
      </td>
42
    </tr>
43
    <tr>
44
      <td class="node">
45
        XML        
46
      </td>
47
      <td class="timestamp">
48
<logic:notEmpty name="GeoServer.ApplicationState" property="xmlTimestamp">
49
        <bean:write name="GeoServer.ApplicationState"
50
                    property="xmlTimestamp"
51
                    format="MMM d, h:mm a"/>
52
</logic:notEmpty>
53
<logic:empty name="GeoServer.ApplicationState" property="xmlTimestamp">
54
        --
55
</logic:empty>
56
      </td>
57
    </tr>
58
  </tbody>
59
</table>
60

    
61
<table class="control">
62
  <tbody>
63
    <tr>
64
      <td>
65
        <html:form action="/admin/saveToGeoServer">
66
          <html:submit>
67
            <bean:message key="label.apply"/>
68
          </html:submit>
69
        </html:form>
70
      </td>
71
      <td>
72
        <html:form action="/admin/saveToXML">	
73
          <html:submit>
74
            <bean:message key="label.save"/>
75
          </html:submit>
76
        </html:form>
77
      </td>
78
      <td>
79
        <html:form action="/admin/loadFromXML">			
80
          <html:submit>
81
            <bean:message key="label.load"/>
82
          </html:submit>
83
        </html:form>
84
      </td>
85
    </tr>
86
  </tbody>
87
</table>
(12-12/26)