Commit 2fd05b84 authored by Daniel Henninger's avatar Daniel Henninger Committed by dhenninger

Undid JM-1218 as it was moved to 3.5.0.


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@9781 b35dd754-fafc-0310-a699-88a17e54d16e
parent 1dbe2e49
...@@ -275,7 +275,6 @@ ...@@ -275,7 +275,6 @@
# Added key: 'server.db.connection_details.when_created' # Added key: 'server.db.connection_details.when_created'
# Added key: 'server.db.connection_details.last_used' # Added key: 'server.db.connection_details.last_used'
# Added key: 'server.db.connection_details.thread' # Added key: 'server.db.connection_details.thread'
# Added key: 'admin.logged_in_as'
# Openfire # Openfire
...@@ -467,7 +466,6 @@ admin.console.restarting=Restarting admin console... ...@@ -467,7 +466,6 @@ admin.console.restarting=Restarting admin console...
admin.console.listening=Admin console listening at admin.console.listening=Admin console listening at
admin.console.devmode=Using development mode admin.console.devmode=Using development mode
admin.console=Administration Console admin.console=Administration Console
admin.logged_in_as=Logged in as {0}
# Server messages (to users) # Server messages (to users)
......
...@@ -54,7 +54,6 @@ public class TabsTag extends BodyTagSupport { ...@@ -54,7 +54,6 @@ public class TabsTag extends BodyTagSupport {
private String bean; private String bean;
private String css; private String css;
private String currentcss; private String currentcss;
private Boolean justlinks = false;
/** /**
* The name of the request attribute which holds a {@link AdminPageBean} instance. * The name of the request attribute which holds a {@link AdminPageBean} instance.
...@@ -99,20 +98,6 @@ public class TabsTag extends BodyTagSupport { ...@@ -99,20 +98,6 @@ public class TabsTag extends BodyTagSupport {
this.currentcss = currentcss; this.currentcss = currentcss;
} }
/**
* Returns whether we are in just links mode.
*/
public Boolean getJustlinks() {
return justlinks;
}
/**
* Sets whether we are just to display links, no list.
*/
public void setJustlinks(Boolean justlinks) {
this.justlinks = justlinks;
}
/** /**
* Does nothing, returns {@link #EVAL_BODY_BUFFERED} always. * Does nothing, returns {@link #EVAL_BODY_BUFFERED} always.
*/ */
...@@ -139,7 +124,7 @@ public class TabsTag extends BodyTagSupport { ...@@ -139,7 +124,7 @@ public class TabsTag extends BodyTagSupport {
JspWriter out = pageContext.getOut(); JspWriter out = pageContext.getOut();
// Build up the output in a buffer (is probably faster than a bunch of out.write's) // Build up the output in a buffer (is probably faster than a bunch of out.write's)
StringBuilder buf = new StringBuilder(); StringBuilder buf = new StringBuilder();
if (!justlinks) { buf.append("<ul>"); } buf.append("<ul>");
String body = getBodyContent().getString(); String body = getBodyContent().getString();
// For each tab, print out an <LI>. // For each tab, print out an <LI>.
Element currentTab = null; Element currentTab = null;
...@@ -165,13 +150,12 @@ public class TabsTag extends BodyTagSupport { ...@@ -165,13 +150,12 @@ public class TabsTag extends BodyTagSupport {
if (tab.equals(currentTab)) { if (tab.equals(currentTab)) {
css = getCurrentcss(); css = getCurrentcss();
} }
if (!justlinks) { buf.append("<li class=\"").append(css).append("\">"); } buf.append("<li class=\"").append(css).append("\">");
if (justlinks && i > 0) { buf.append(" | "); }
buf.append(value); buf.append(value);
if (!justlinks) { buf.append("</li>"); } buf.append("</li>");
} }
if (!justlinks) { buf.append("</ul>"); } buf.append("</ul>");
try { try {
out.write(buf.toString()); out.write(buf.toString());
} }
......
...@@ -34,11 +34,6 @@ ...@@ -34,11 +34,6 @@
<required>false</required> <required>false</required>
<rtexprvalue>true</rtexprvalue> <rtexprvalue>true</rtexprvalue>
</attribute> </attribute>
<attribute>
<name>justlinks</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag> </tag>
<tag> <tag>
<name>sidebar</name> <name>sidebar</name>
......
...@@ -252,7 +252,7 @@ ...@@ -252,7 +252,7 @@
<div class="light-gray-border" style="padding:10px;"> <div class="light-gray-border" style="padding:10px;">
<table cellpadding="0" cellspacing="0" border="0" width="100%"> <table cellpadding="0" cellspacing="0" border="0" width="100%">
<thead> <thead>
<tr style="background:#eee;"> <tr style="background:#f3f7fa;">
<td class="table-header-left">&nbsp;</td> <td class="table-header-left">&nbsp;</td>
<td nowrap colspan="2" class="table-header"><fmt:message key="plugin.available.open_source"/></td> <td nowrap colspan="2" class="table-header"><fmt:message key="plugin.available.open_source"/></td>
<td nowrap class="table-header"><fmt:message key="plugin.available.description"/></td> <td nowrap class="table-header"><fmt:message key="plugin.available.description"/></td>
......
...@@ -79,23 +79,19 @@ ...@@ -79,23 +79,19 @@
<div id="main"> <div id="main">
<div id="jive-header"> <div id="jive-header">
<div id="jive-logo"> <div id="jive-logo-image_new">
<a href="/index.jsp"><img src="/images/login_logo.gif" alt="Openfire" width="179" height="53" /></a> <strong>Administration Console</strong>
</div> </div>
<div id="jive-userstatus"> <div id="jive-logout" style="float: right;">
<%= AdminConsole.getAppName() %> <%= AdminConsole.getVersionString() %><br/>
<fmt:message key="admin.logged_in_as"><fmt:param value="<%= "<strong>"+StringUtils.escapeHTMLTags(JID.unescapeNode(webManager.getUser().getUsername()))+"</strong>" %>"/></fmt:message> - <a href="<%= path %>/index.jsp?logout=true"><%= LocaleUtils.getLocalizedString("global.logout") %></a> <a href="<%= path %>/index.jsp?logout=true"><%= LocaleUtils.getLocalizedString("global.logout") %> [<%= StringUtils.escapeHTMLTags(JID.unescapeNode(webManager.getUser().getUsername())) %>]</a>
</div> </div>
<div id="jive-nav"> <div id="jive-tabs">
<div id="jive-nav-left"></div>
<admin:tabs css="" currentcss="currentlink"> <admin:tabs css="" currentcss="currentlink">
<a href="[url]" title="[description]" onmouseover="self.status='[description]';return true;" onmouseout="self.status='';return true;">[name]</a> <a href="[url]" title="[description]" onmouseover="self.status='[description]';return true;" onmouseout="self.status='';return true;">[name]</a>
</admin:tabs> </admin:tabs>
<div id="jive-nav-right"></div>
</div>
<div id="jive-subnav">
&nbsp;
</div> </div>
<div id="sidebar-top"></div>
</div> </div>
<%-- <%--
...@@ -111,9 +107,7 @@ ...@@ -111,9 +107,7 @@
<table cellpadding="0" cellspacing="0" border="0" width="100%"> <table cellpadding="0" cellspacing="0" border="0" width="100%">
<tbody> <tbody>
<tr valign="top"> <tr valign="top">
<td width="1%"> <td width="1%" id="jive-sidebar-box">
<div id="jive-sidebar-container">
<div id="jive-sidebar-box">
<div id="jive-sidebar"> <div id="jive-sidebar">
<admin:sidebar css="" currentcss="currentlink" headercss="category"> <admin:sidebar css="" currentcss="currentlink" headercss="category">
<a href="[url]" title="[description]" <a href="[url]" title="[description]"
...@@ -128,8 +122,6 @@ ...@@ -128,8 +122,6 @@
<br> <br>
<img src="<%= path %>/images/blank.gif" width="150" height="1" border="0" alt=""> <img src="<%= path %>/images/blank.gif" width="150" height="1" border="0" alt="">
</div> </div>
</div>
</div>
</td> </td>
<td width="99%" id="jive-content"> <td width="99%" id="jive-content">
...@@ -139,13 +131,12 @@ ...@@ -139,13 +131,12 @@
<% } %> <% } %>
<h1> <div id="jive-title">
<decorator:title default="&nbsp;"/> <decorator:title default="&nbsp;"/>
</h1> </div>
<div id="jive-main-content">
<decorator:body/> <decorator:body/>
</div>
</td> </td>
</tr> </tr>
</tbody> </tbody>
...@@ -156,14 +147,11 @@ ...@@ -156,14 +147,11 @@
<!-- END main --> <!-- END main -->
<!-- BEGIN footer --> <!-- BEGIN footer -->
<div id="jive-footer"> <div id="footer">
<div class="jive-footer-nav"> <div id="footer_padding">
<admin:tabs css="" currentcss="currentlink" justlinks="true"> <div id="footer_content">
<a href="[url]" title="[description]" onmouseover="self.status='[description]';return true;" onmouseout="self.status='';return true;">[name]</a> <span><%= AdminConsole.getAppName() %> <%= AdminConsole.getVersionString() %>, built by <a href="http://www.jivesoftware.com">Jive Software</a> and the <a href="http://www.igniterealtime.org">IgniteRealtime.org</a> community</span>
</admin:tabs>
</div> </div>
<div class="jive-footer-copyright">
Built by <a href="http://www.jivesoftware.com">Jive Software</a> and the <a href="http://www.igniterealtime.org">IgniteRealtime.org</a> community
</div> </div>
</div> </div>
<!-- END footer --> <!-- END footer -->
......
...@@ -171,7 +171,7 @@ ...@@ -171,7 +171,7 @@
padding-top: 10px; padding-top: 10px;
} }
.info-header { .info-header {
background-color: #eee; background-color: #f3f6fa;
font-size: 10pt; font-size: 10pt;
} }
.info-table { .info-table {
......
...@@ -153,11 +153,12 @@ ...@@ -153,11 +153,12 @@
<!-- BEGIN login box --> <!-- BEGIN login box -->
<div id="jive-loginBox"> <div id="jive-loginBox">
<div align="center" id="jive-loginTable"> <div id="jive-loginLogo"></div>
<div id="jive-loginHeader"><fmt:message key="admin.console" /></div>
<span id="jive-login-header" style="background: transparent url(images/login_logo.gif) no-repeat left; padding: 29px 0px 10px 205px;"> <div align="center" id="jive-loginTable">
<fmt:message key="admin.console" />
</span>
<div style="text-align: center; width: 380px;"> <div style="text-align: center; width: 380px;">
<table cellpadding="0" cellspacing="0" border="0" align="center"> <table cellpadding="0" cellspacing="0" border="0" align="center">
...@@ -222,6 +223,11 @@ ...@@ -222,6 +223,11 @@
<!-- END login box --> <!-- END login box -->
</div> </div>
<!-- old login log image
<img src="<%= AdminConsole.getLoginLogoImage() %>" border="0" alt="<%= AdminConsole.getAppName() %>">
-->
</form> </form>
<script language="JavaScript" type="text/javascript"> <script language="JavaScript" type="text/javascript">
......
...@@ -463,7 +463,7 @@ else if ("false".equals(request.getParameter("uploadsuccess"))) { %> ...@@ -463,7 +463,7 @@ else if ("false".equals(request.getParameter("uploadsuccess"))) { %>
<div class="light-gray-border" style="padding:10px;"> <div class="light-gray-border" style="padding:10px;">
<table cellpadding="0" cellspacing="0" border="0" width="100%"> <table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr style="background:#eee;"> <tr style="background:#f3f7fa;">
<td nowrap colspan="3" class="table-header-left"><fmt:message key="plugin.admin.name"/></td> <td nowrap colspan="3" class="table-header-left"><fmt:message key="plugin.admin.name"/></td>
<td nowrap class="table-header"><fmt:message key="plugin.admin.description"/></td> <td nowrap class="table-header"><fmt:message key="plugin.admin.description"/></td>
......
This diff is collapsed.
...@@ -5,11 +5,27 @@ ...@@ -5,11 +5,27 @@
text-align: left; text-align: left;
top: 148px; top: 148px;
} }
#jive-loginLogo {
display: block;
position: relative;
width: 179px;
height: 53px;
margin: 12px 0px 0px 7px;
background: url('../images/login_logo.gif') no-repeat;
float: left;
overflow: hidden;
}
#jive-loginHeader { #jive-loginHeader {
font-size: 14pt; display: block;
font-weight: bold; position: relative;
color: #06698c; width: 300px;
margin: 0px; height: 40px;
margin: 25px 0px 10px 0px;
padding-top: 9px;
font-size: 20px;
color: #255480;
float: left;
overflow: hidden;
} }
#jive-loginTable { #jive-loginTable {
display: block; display: block;
...@@ -18,47 +34,32 @@ ...@@ -18,47 +34,32 @@
width: auto; width: auto;
margin: 10px 0px 0px 0px; margin: 10px 0px 0px 0px;
padding: 0px; padding: 0px;
} }
#jive-loginTable table {
clear: both;
margin-top: 20px;
}
#jive-loginTable td.loginFormTable { #jive-loginTable td.loginFormTable {
padding: 17px 17px 7px 55px; padding: 17px 17px 7px 18px;
background: #d8e4e9 url(../images/jive-login-form-bg.gif) repeat-x top; background-color: #e1eaf1;
border: 1px solid #b6c5d3; border: 1px solid #b6c5d3;
-moz-border-radius: 5px; -moz-border-radius: 4px;
}
.loginFormTable TD {
text-align : left;
} }
#jive-loginTable td.loginFormTable table {
margin-top: 0px;
}
#jive-loginVersion { #jive-loginVersion {
color: #999999; color: #999999;
font-weight: normal; font-weight: normal;
font-size: 10px; font-size: 11px;
padding-top: 4px; padding-top: 8px;
} }
.jive-login-label { .jive-login-label {
font-size: 11px; font-size : 12px;
font-weight: bold; font-weight: bold;
color: #515151; color: #214c74;
text-align : left;
} }
#jive-login-header {
font-size: 14pt;
font-weight: bold;
color: #06698c;
margin: 0px;
}
BODY { BODY {
background: #b6b6b6 url(../images/jive-login-bg.gif) repeat-x top; background-image : url(../images/login_background.png);
padding: 0px; background-repeat : repeat-x;
margin: 0px; background-color : #fff;
padding : 0px;
margin : 0px;
} }
\ No newline at end of file
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