|
From: Michael K. <ko...@us...> - 2006-10-06 13:19:21
|
Update of /cvsroot/cobricks/drehscheibe-in/web/ADMIN In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv24321 Added Files: index.html.en pagefooter.html pageheader.html style.css Log Message: --- NEW FILE: pagefooter.html --- </td> </tr> </table> </body> </html> --- NEW FILE: pageheader.html --- <html> <head> $portalPresenter.printHeader($portalRequest, "Cobricks-2 Admin") <link rel="stylesheet" type="text/css" href="$contextPath/ADMIN/style.css"> <link rel="shortcut icon" href="http://www.cobricks.de/c2.png" type="image/png"> </head> <body bgcolor="#ffffff" topmargin="1" leftmargin="3" marginwidth="3" marginheight="1"> <table border="0" width="100%" cellpadding="4" cellspacing="0"> <tr bgcolor="#dfdfdf"> <td colspan="2" align="right"> <a href="$contextPath/index.html">Application Home</a> | <a href="$contextPath/ADMIN/index.html">Admin</a> </td></tr> <tr bgcolor="#dfdfdf"> <td align="left" valign="top" width="160"> <a href="$contextPath/index.html"> <img border="0" src="$contextPath/ADMIN/images/cobricks2-logo.png" alt="Cobricks-2"></a> </td><td align="left" valign="bottom" width="95%"> <font size="+1"> <b>Community Portal Administration</b><br> <br> <a href="$contextPath/index.html">Go back to Application Home</a> | <a href="$contextPath/ADMIN/index.html">Admin Home</a> </font> </td></tr> </table> <table border="0" width="100%" cellpadding="4" cellspacing="4"> <tr> <td width="160" valign="top" bgcolor="#ffffff"> <!-- navigation column --> <table width="158" height="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td width="156" valign="top"> <table width="155" border="0" cellpadding="1" cellspacing="0"> <tr><td> <div class="box"><div class="header"><div class="title"> Admin Quick Links</div></div> <div class="bodybig"> You are logged in as:<br> $userLogin<br> <br> <b>User Management</b><br> - <a href="/ADMIN/org.cobricks.user/search.html">List Users</a><br> - <a href="/ADMIN/org.cobricks.user/create.html">Create New User</a><br> - <a href="/ADMIN/org.cobricks.user/roles.html">User Roles</a><br> <br> <b>Item Management</b><br> - <a href="/ADMIN/org.cobricks.item/search.html">List Items</a><br> <br> <b>Category Management</b><br> - <a href="/ADMIN/org.cobricks.category/search.html">List Categories</a><br> <br> <b>Portal Management</b><br> - <a href="/ADMIN/org.cobricks.portal/browse.html">Browse Pages</a><br> - <a href="/ADMIN/org.cobricks.portal/create.html">Create Page</a><br> </div> </td></tr> </table> </td></tr> </table> <!-- end of navigation column --> </td> <td> </td> <td valign="top" width="95%"> <font size="-1"> $portalPresenter.displayNotifications($sessionId) </font> <p> --- NEW FILE: style.css --- /* Default font for all pages: */ body,td,textarea,input,select,submit,option { font-size: 11px; font-family: Verdana, Helvetica, Geneva, clean, Swiss, SunSans-Regulars-Regular, sans-serif; line-height: 14px; } /* Headlines for all pages: <h1> is used for all headings in the standard templates <h4> is used only for subheadings in the helpTopic/* pages <h5> is used only once in the helpTopic/* pages <h2>, <h3> and <h6> are currently unused in the standard templates */ h1,h4,h5,h6 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; font-weight: bold; text-decoration: none; color: #0d80c5; } h1 { font-size: 20px; line-height: 22px; } h2 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; font-weight: bold; text-decoration: none; color: #0d80c5; } h3 { font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 14px; font-weight: bold; text-decoration: none; color: #0d80c5; } /* Links and link behavior: */ a:link { text-decoration: none; color: #0d80c5 } a:visited { text-decoration: none; color: #0d80c5 } a:hover { text-decoration: underline; color: #0d80c5 } a.topMenu:link { text-decoration: none; color: 0d80c5 } a.topMenu:visited { text-decoration: none; color: 0d80c5 } a.topMenu:hover { text-decoration: underline; color: 0d80c5 } /* Messages (errors, warnings, .infos) generated by the server: */ .error { color: red; font-weight: bold; } .err { color: red; font-weight: bold; } .info { color: green; font-weight: bold; } .success { color: green; font-weight: bold; } .small { font-size: 8pt; } /* Longer text paragraphs should use this style */ .bodytext { margin-top: 0.6em; margin-bottom: 0.6em; line-height: 1.5; text-align: left; } b { color: #0d80c5; font-weight: bolder; } /* Only used in the left frame for Login, Search etc. */ .bLeft { color: #003366; font-weight: bolder; } /* Improved layout of unordered lists */ ul { margin-top: 0pt; margin-bottom: 0pt; list-style-type: square; } li { margin-top: 4pt; } /* Dotted lines for glossary items: */ u.dottedline { background-image: url("/images/underline.gif"); background-position: 100% 100%; background-repeat: repeat-x; padding-bottom: 0px; text-decoration: none; white-space: nowrap; } /* Modified forms: */ input,textarea { background-color:#f8f8f8; border-style: solid; border-width: 1px; border-color: #0d80c5; color: black; margin: 0px; padding: 0px; } input.submit { border-style: solid; border-width: 1px; color: #000000; background-color:#d0d0d0; border-color: #808080; margin: 0px; margin-top: 4px; margin-bottom: 4px; padding: 0px; } select,option { border-color: #0d80c5; background-color: #f5f5f5; width: auto; margin: 0px; padding: 0px; } img { border: none; } td { border-style: none; } td.border { border-style: solid; } /* stuff from mytum ... */ div.box { margin: 0px; padding-bottom: 8px; } div.box .header { background-color: #366DE0; padding: 0; margin: 0; } div.box h5 { background-color: #366DE0; padding: 2px 8px; color: white; font: bold 90% Verdana, Helvetica, Arial, sans-serif; margin-bottom: 1px; } div.box .title { width: 140px; background-color: #366DE0; border-bottom: none !important; padding: 2px 8px; color: white; font: bold 100% Verdana, Helvetica, Arial, sans-serif; display: block; margin-bottom: 1px solid white; } div.box .title img { padding: 0; margin: 0; float: right; } div.box .body { background-color: #F8F8F8; padding: 8px; color: #333333; font: 80% Verdana, Helvetica, Arial, sans-serif; border-collapse: collapse; border: 1px solid #666666; text-align: left; } div.box .body2 { background-color: #F8F8F8; padding: 8px; color: #333333; font: 80% Verdana, Helvetica, Arial, sans-serif; border: 1px solid #666666; text-align: left; } div.box .bodybig { background-color: #F8F8F8; padding: 8px; color: #333333; font: 100% Verdana, Helvetica, Arial, sans-serif; border-collapse: collapse; border: 1px solid #666666; text-align: left; } div.box .content { padding: 0.5em 0em 0.5em 0em; } div.box .notlast { border-bottom: 1px dotted #B1C7F3; } div.box .last { } .boxNavHeadline { } .boxNavElement { xwhite-space: nowrap; margin: 0.4em 0em; } .boxDetails { text-align: right; color: #666666; } .cal { border: 1px solid #8cacbb; margin: 1em 0em; font-size: 9px; font-family: Verdana, Helvetica, Geneva, clean, Swiss, SunSans-Regulars-Regular, sans-serif; line-height: 10px; } .cal a { font-size: 9px; line-height: 10px; text-decoration: none; } .cal a:hover { text-decoration: none; } .cal th { background-color: #dee7ec; font-weight: bold; text-align: center; padding: 2px; } .cal td { background-color: transparent; width: 1.0em; text-align: right; padding: 2px; font-size: 9px; line-height: 10px; } .cal .weekdays td { background-color: #dee7ec; border: 1px solid #8cacbb; border-style: solid none; text-align: center; padding: 2px; } .cal .event { background-color: #dee7ec; font-weight: bold; } .cal .todayevent { background-color: #dee7ec; border: 1px solid #ffa500; font-weight: bold; } .cal .todaynoevent { border-collapse: collapse; border: 1px solid #ffa500; } #result { border-color: #666666; border-width: 0 0 1px 1px; border-style: solid; width: 100%; border-collapse: collapse; } #result td { border-color: #666666; border-width: 1px 1px 0 0; border-style: solid; margin: 0; padding: 4px; } tr.resulttitle { color: white; font: bold 100% Verdana, Helvetica, Arial, sans-serif; background-color: #366DE0; } --- NEW FILE: index.html.en --- #parse ( "$contextPath/ADMIN/pageheader.html" ) <p> <em><a href="$contextPath/ADMIN/index.html">Admin</a></em> <h1>Administration</h1> #if ( "$!cmd" == "clearcaches" ) #foreach( $i in $corePresenter.getSortedComponentManagerNames() ) $!velocityContext.get($i).resetCache() #end <div class="success">All caches have been cleared.</div> <p> #end The Cobricks server is running for $corePresenter.getRuntimeDays() days, $corePresenter.getRuntimeHours() hours, and $corePresenter.getRuntimeMinutes() minutes. <p> <form action="$contextPath/ADMIN/index.html" method="POST"> <input type="hidden" name="cmd" value="clearcaches"/> <input type="submit" value="Clear All Caches"/> </form> <p>If the manager web application is enabled in your web application container (e.g. Tomcat) you can restart the whole web application. The following links allow you to access the main functions of the manager application (assuming the context path for the manager application is "/manager"): <ul> <li><a href="/manager/serverinfo">Show server information</a> <li><a href="/manager/list">List web applications</a> <li><a href="/manager/reload?path=$portalRequest.getHttpRequestContextPath()"> Reload web application</a> <li><a href="/manager/sessions?path=$portalRequest.getHttpRequestContextPath()"> Show session statistics</a> </ul> <h2>Components</h2> <p>The following components have been found on the platform: </p> <ul> #foreach( $i in $corePresenter.getSortedComponentManagerNames() ) <li><a href="$contextPath/ADMIN/$!{velocityContext.get($i).getComponentId()}/index.html">$!velocityContext.get($i).getComponentName()</a> $!velocityContext.get($i).getComponentVersion() #end </ul> #parse ( "$contextPath/ADMIN/pagefooter.html" ) |