Commit 336f209f authored by Gaston Dombiak's avatar Gaston Dombiak Committed by gato

More clustering work and UI work.

git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9218 b35dd754-fafc-0310-a699-88a17e54d16e
parent ab4fe1ee
...@@ -146,7 +146,8 @@ ...@@ -146,7 +146,8 @@
margin-bottom: 10px; margin-bottom: 10px;
min-height: 280px; min-height: 280px;
-moz-border-radius: 4px; -moz-border-radius: 4px;
width: 350px; width: 95%;
margin-right: 20px;
} }
#jive-latest-activity h4 { #jive-latest-activity h4 {
font-size: 13pt; font-size: 13pt;
...@@ -166,6 +167,25 @@ ...@@ -166,6 +167,25 @@
float: right; float: right;
padding-top: 10px; padding-top: 10px;
} }
.info-header {
background-color: #f3f6fa;
font-size: 10pt;
}
.info-table {
margin-right: 12px;
}
.info-table .c1 {
text-align: right;
vertical-align: top;
color: #666;
font-weight: bold;
font-size: 9pt;
white-space: nowrap;
}
.info-table .c2 {
font-size: 9pt;
width: 90%;
}
</style> </style>
<p> <p>
...@@ -175,10 +195,10 @@ ...@@ -175,10 +195,10 @@
<td valign="top"> <td valign="top">
<!-- <div class="jive-table"> --> <!-- <div class="jive-table"> -->
<table cellpadding="2" cellspacing="2" border="0" width="100%"> <table border="0" cellpadding="2" cellspacing="2" width="100%" class="info-table">
<thead> <thead>
<tr> <tr>
<th align="left" colspan="3"><fmt:message key="index.properties" /></th> <th colspan="2" align="left" class="info-header"><fmt:message key="index.properties" /></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -186,9 +206,8 @@ ...@@ -186,9 +206,8 @@
<% if (serverOn) { %> <% if (serverOn) { %>
<tr> <tr>
<td width="5%">&nbsp;</td>
<td class="c1"><fmt:message key="index.uptime" /></td> <td class="c1"><fmt:message key="index.uptime" /></td>
<td> <td class="c2">
<% <%
long now = System.currentTimeMillis(); long now = System.currentTimeMillis();
long lastStarted = webManager.getXMPPServer().getServerInfo().getLastStarted().getTime(); long lastStarted = webManager.getXMPPServer().getServerInfo().getLastStarted().getTime();
...@@ -207,7 +226,6 @@ ...@@ -207,7 +226,6 @@
<% } %> <% } %>
<tr> <tr>
<td>&nbsp;</td>
<td class="c1"><fmt:message key="index.version" /></td> <td class="c1"><fmt:message key="index.version" /></td>
<td class="c2"> <td class="c2">
<%= AdminConsole.getAppName() %> <%= AdminConsole.getAppName() %>
...@@ -215,14 +233,12 @@ ...@@ -215,14 +233,12 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td>
<td class="c1"><fmt:message key="index.home" /></td> <td class="c1"><fmt:message key="index.home" /></td>
<td class="c2"> <td class="c2">
<%= JiveGlobals.getHomeDirectory() %> <%= JiveGlobals.getHomeDirectory() %>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td>
<td class="c1"> <td class="c1">
<fmt:message key="index.server_name" /> <fmt:message key="index.server_name" />
</td> </td>
...@@ -237,12 +253,11 @@ ...@@ -237,12 +253,11 @@
</tbody> </tbody>
<thead> <thead>
<tr> <tr>
<th align="left" colspan="3"><fmt:message key="index.environment" /></th> <th colspan="2" align="left" class="info-header"><fmt:message key="index.environment" /></th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>&nbsp;</td>
<td class="c1"><fmt:message key="index.jvm" /></td> <td class="c1"><fmt:message key="index.jvm" /></td>
<td class="c2"> <td class="c2">
<% <%
...@@ -258,21 +273,18 @@ ...@@ -258,21 +273,18 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td>
<td class="c1"><fmt:message key="index.app" /></td> <td class="c1"><fmt:message key="index.app" /></td>
<td class="c2"> <td class="c2">
<%= application.getServerInfo() %> <%= application.getServerInfo() %>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td>
<td class="c1"><fmt:message key="index.os" /></td> <td class="c1"><fmt:message key="index.os" /></td>
<td class="c2"> <td class="c2">
<%= System.getProperty("os.name") %> / <%= System.getProperty("os.arch") %> <%= System.getProperty("os.name") %> / <%= System.getProperty("os.arch") %>
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td>
<td class="c1"><fmt:message key="index.local" /></td> <td class="c1"><fmt:message key="index.local" /></td>
<td class="c2"> <td class="c2">
<%= JiveGlobals.getLocale() %> / <%= JiveGlobals.getTimeZone().getDisplayName(JiveGlobals.getLocale()) %> <%= JiveGlobals.getLocale() %> / <%= JiveGlobals.getTimeZone().getDisplayName(JiveGlobals.getLocale()) %>
...@@ -280,8 +292,7 @@ ...@@ -280,8 +292,7 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td>&nbsp;</td> <td class="c1"><fmt:message key="index.memory" /></td>
<td><fmt:message key="index.memory" /></td>
<td> <td>
<% // The java runtime <% // The java runtime
Runtime runtime = Runtime.getRuntime(); Runtime runtime = Runtime.getRuntime();
...@@ -329,7 +340,7 @@ ...@@ -329,7 +340,7 @@
</div> </div>
</td> </td>
<td width="1%" nowrap> <td width="1%" nowrap>
<div style="padding-left:6px;"> <div style="padding-left:6px;" class="c2">
<%= mbFormat.format(usedMemory) %> MB of <%= mbFormat.format(maxMemory) %> MB (<%= percentFormat.format(percentUsed) %>%) used <%= mbFormat.format(usedMemory) %> MB of <%= mbFormat.format(maxMemory) %> MB (<%= percentFormat.format(percentUsed) %>%) used
</div> </div>
</td> </td>
...@@ -341,7 +352,7 @@ ...@@ -341,7 +352,7 @@
</table> </table>
<!-- </div> --> <!-- </div> -->
</td> </td>
<td valign="top"> <td valign="top" width="40%">
<div id="jive-latest-activity"> <div id="jive-latest-activity">
<a href="<%= blogFeedRSS %>" class="jive-feed-icon"><img src="images/feed-icon-16x16.gif" alt="" style="border:0;" /></a> <a href="<%= blogFeedRSS %>" class="jive-feed-icon"><img src="images/feed-icon-16x16.gif" alt="" style="border:0;" /></a>
...@@ -370,7 +381,7 @@ ...@@ -370,7 +381,7 @@
for (int i = 0; i < entries.size() && i < 3; i++) { for (int i = 0; i < entries.size() && i < 3; i++) {
SyndEntry entry = (SyndEntry) entries.get(i); %> SyndEntry entry = (SyndEntry) entries.get(i); %>
<h5><a href="<%= entry.getLink() %>" target="_blank"><%= entry.getTitle()%></a>, <h5><a href="<%= entry.getLink() %>" target="_blank"><%= entry.getTitle()%></a>,
<span class="jive-blog-date"><%= JiveGlobals.formatDateTime(entry.getPublishedDate())%></span></h5> <span class="jive-blog-date"><%= JiveGlobals.formatDate(entry.getPublishedDate())%></span></h5>
<% } <% }
} else { %> } else { %>
...@@ -384,7 +395,7 @@ ...@@ -384,7 +395,7 @@
for (int i = 0; i < entries.size() && i < 3; i++) { for (int i = 0; i < entries.size() && i < 3; i++) {
SyndEntry entry = (SyndEntry) entries.get(i); %> SyndEntry entry = (SyndEntry) entries.get(i); %>
<h5><a href="<%= entry.getLink() %>" target="_blank"><%= entry.getTitle()%></a>, <h5><a href="<%= entry.getLink() %>" target="_blank"><%= entry.getTitle()%></a>,
<span class="jive-blog-date"><%= JiveGlobals.formatDateTime(entry.getPublishedDate())%></span></h5> <span class="jive-blog-date"><%= JiveGlobals.formatDate(entry.getPublishedDate())%></span></h5>
<% } <% }
} else { %> } else { %>
......
...@@ -261,7 +261,7 @@ ...@@ -261,7 +261,7 @@
memory = mbFormat.format(usedMemory) + " MB of " + mbFormat.format(maxMemory) + " MB used"; memory = mbFormat.format(usedMemory) + " MB of " + mbFormat.format(maxMemory) + " MB used";
} }
%> %>
<td width="50%"> <td width="30%">
<div class="bar"> <div class="bar">
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="border:1px #666 solid;"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="border:1px #666 solid;">
<tr> <tr>
...@@ -289,10 +289,8 @@ ...@@ -289,10 +289,8 @@
</table> </table>
</div> </div>
</td> </td>
<td> <td class="jive-description">
<div style="padding-left:6px;"> <%= memory %>
<%= memory %>
</div>
</td> </td>
</tr> </tr>
</table> </table>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment