Commit bca29228 authored by Matt Tucker's avatar Matt Tucker Committed by matt

Updates.

git-svn-id: http://svn.igniterealtime.org/svn/repos/wildfire/trunk@6898 b35dd754-fafc-0310-a699-88a17e54d16e
parent 16ee51eb
...@@ -203,6 +203,22 @@ public class AdminConsolePlugin implements Plugin { ...@@ -203,6 +203,22 @@ public class AdminConsolePlugin implements Plugin {
return adminSecurePort; return adminSecurePort;
} }
/**
* Returns the collection of Jetty contexts used in the admin console. A root context "/"
* is where the admin console lives. Additional contexts can be added dynamically for
* other web applications that should be run as part of the admin console server
* process. The following pseudo code demonstrates how to do this:
*
* <pre>
* ContextHandlerCollection contexts = ((AdminConsolePlugin)pluginManager.getPlugin("admin")).getContexts();
* context = new WebAppContext(SOME_DIRECTORY, "/CONTEXT_NAME");
* contexts.addHandler(context);
* context.setWelcomeFiles(new String[]{"index.jsp"});
* context.start();
* </pre>
*
* @return the Jetty handlers.
*/
public ContextHandlerCollection getContexts() { public ContextHandlerCollection getContexts() {
return contexts; return contexts;
} }
......
...@@ -75,7 +75,10 @@ ...@@ -75,7 +75,10 @@
<body id="jive-body"> <body id="jive-body">
<div id="jive-header"> <!-- BEGIN main -->
<div id="main">
<div id="jive-header">
<div id="jive-logo-image_new"> <div id="jive-logo-image_new">
<strong>Administration Console</strong> <strong>Administration Console</strong>
</div> </div>
...@@ -89,20 +92,20 @@ ...@@ -89,20 +92,20 @@
</admin:tabs> </admin:tabs>
</div> </div>
<div id="sidebar-top"></div> <div id="sidebar-top"></div>
</div> </div>
<%-- <%--
<div id="jive-secondary"> <div id="jive-secondary">
<ul> <ul>
<li><a href="">Server Manager</a></li> <li><a href="">Server Manager</a></li>
<li><a href="">Server Settings</a></li> <li><a href="">Server Settings</a></li>
</ul> </ul>
</div> </div>
--%> --%>
<div id="jive-main"> <div id="jive-main">
<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%" id="jive-sidebar-box"> <td width="1%" id="jive-sidebar-box">
<div id="jive-sidebar"> <div id="jive-sidebar">
...@@ -134,37 +137,24 @@ ...@@ -134,37 +137,24 @@
<decorator:body/> <decorator:body/>
<%-- Show bottom footer --%>
<br/><br/>
<div width="100%" style="position:fixed;left:0;bottom:0;">
<table cellpadding="0" cellspacing="0" border="0" width="100%">
<tr>
<td width="164">
<img src="/images/blank.gif" width="164" height="1" alt="">
</td>
<td align="center">
<div style="border-left:#B3D3F4 1px solid;
border-right:#B3D3F4 1px solid;
border-top:#B3D3F4 1px solid;
width:500px;
padding:5px;
background-color:#EAF1F8;
font-size:smaller;"
>
<%= 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
</div>
</td> </td>
</tr> </tr>
</tbody>
</table> </table>
</div> </div>
</td>
</tr>
</tbody>
</table>
</div> </div>
<!-- END main -->
<!-- BEGIN footer -->
<div id="footer">
<div id="footer_padding">
<div id="footer_content">
<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>
</div>
</div>
</div>
<!-- END footer -->
</body> </body>
</html> </html>
\ No newline at end of file
* html #footer {
margin: -30px 0 0 0;
}
* html #main {
height: 100%;
}
html {
height: 100%;
}
body {
padding: 0;
margin: 0;
height: 100%;
}
#main {
min-height:100%;
}
#jive-main {
padding-bottom: 20px;
}
BODY, DIV, P, TD, TH { BODY, DIV, P, TD, TH {
font-family : arial, helvetica, sans-serif; font-family : arial, helvetica, sans-serif;
font-size : 100%; font-size : 100%;
...@@ -863,3 +887,32 @@ th.jive-table-th-center { ...@@ -863,3 +887,32 @@ th.jive-table-th-center {
color: #106600; color: #106600;
padding-left: 20px; padding-left: 20px;
} }
#footer {
position: relative;
width: 100%;
height: 30px;
background-image : url("../images/page-background_new.gif");
background-repeat : repeat-y;
margin-top: -30px;
}
#footer_padding {
text-align: center;
padding-left: 165px;
}
#footer_content {
width: 500px;
padding: 0;
height: 29px;
margin: 0 auto;
background-color: #eaf1f8;
border: 1px solid #b3d3f4;
border-bottom: none;
font-size: 8pt;
}
#footer_content span {
display: block;
padding: 7px;
}
\ 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