|
From: Michael K. <ko...@us...> - 2006-11-17 13:40:13
|
Update of /cvsroot/cobricks/cobricks2/web/ADMIN In directory sc8-pr-cvs4.sourceforge.net:/tmp/cvs-serv25956 Modified Files: pageheader.html Added Files: index.html.en noaccess.html.en style.css Removed Files: index.html Log Message: --- index.html DELETED --- --- NEW FILE: noaccess.html.en --- $portalPresenter.parse("$!contextPath/ADMIN/pageheader.html",$portalRequest) <p> <em><a href="$contextPath/ADMIN/index.html">Admin</a></em> <h1>No access</h1> <p>You do not have the permission to access the requested page or service. Please log in with an account that has the appropriate permissions or contact the platform administrator to have the required permissions assigned to your account.</p> $portalPresenter.parse("$!contextPath/ADMIN/pagefooter.html",$portalRequest) --- 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" ) --- 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; } Index: pageheader.html =================================================================== RCS file: /cvsroot/cobricks/cobricks2/web/ADMIN/pageheader.html,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- pageheader.html 1 Oct 2004 13:42:49 -0000 1.3 +++ pageheader.html 17 Nov 2006 13:40:07 -0000 1.4 @@ -1,35 +1,35 @@ <html> <head> -$portalPresenter.printHeader($portalRequest, "Cobricks-2 Admin") -<link rel="stylesheet" type="text/css" href="$contextPath/style.css"> +<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> +<title>www.in.tum.de/ADMIN</title> +<base href="$portalRequest.getBaseUrl()"> +<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> +<META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> +<meta http-equiv="expires" content="0"> +<META NAME="GOOGLEBOT" CONTENT="NOARCHIVE"> +<META NAME="ROBOTS" CONTENT="NONE"> +<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"> +<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">Home</a> | -<a href="$contextPath/ADMIN/index.html">Admin</a> | -<a href="$contextPath/info.html">Info</a> +<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/images/cobricks2-logo.png" alt="Cobricks-2"></a> +<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"> -Portal Toolkit Administration<br> +<b>Community Portal Administration</b><br> <br> -<a href="$contextPath/index.html">HOME</a> | -<a href="$contextPath/user/index.html">USER</a> | -<a href="$contextPath/item/index.html">ITEM</a> | -<a href="$contextPath/category/index.html">CATEGORY</a> | -<a href="$contextPath/context/index.html">CONTEXT</a> | -<a href="$contextPath/message/index.html">MESSAGE</a> | -<a href="$contextPath/portal/index.html">PORTAL</a> +<a href="$contextPath/index.html">Go back to Application Home</a> | +<a href="$contextPath/ADMIN/index.html">Admin Home</a> </font> </td></tr> </table> @@ -47,64 +47,30 @@ <tr><td> <div class="box"><div class="header"><div class="title"> -Search</div></div> -<div class="body"><div class="content last"> -<span class="boxNavHeadline"> -<div> - -<form method="post"> -<input type="text" name="t" size="'+w+'" title="Please enter the search term in this field"><br> -<select name="m" title="Please select the search domain from this list"> -<option value="items" selected>Items</option> -<option value="persons">Persons</option> -</select> -<input type="submit" value="Ok" title="Start Search"><br> -</form><br> -<img src="$contextPath/images/arrow.png"><a href="">Extended Search</a> - -</div> -</span> -</div></div> - -<p> </p> - -<div class="box"><div class="header"><div class="title"> -Login</div></div> -<div class="body2"><div class="content last"> -<span class="boxNavHeadline"> -<div> - -#if ($userLogin != "anonymous") - -You are logged in as<br> -"<b>$!userLogin</b>" -<p> -<a href="$contextPath/user/user.html?auserlogin=$!userLogin"><img src="$contextPath/images/arrow.png" width="10" height="9" border="0">Your Profile</a><br> -<a href="$contextPath/PORTAL?cmd=logout"><img src="$contextPath/images/arrow.png" width="10" height="9" border="0">Logout</a> - -#else +Admin Quick Links</div></div> +<div class="bodybig"> -<form name="loginForm" action="$contextPath/PORTAL" method="post"> -<INPUT TYPE="hidden" NAME="cmd" VALUE="login"> -<INPUT TYPE="hidden" NAME="cmd.success" VALUE="$contextPath/homepage.html"> -<INPUT TYPE="hidden" NAME="cmd.error" VALUE="$contextPath/homepage.html"> -Login<br> -<input title="Please enter your login name" size="20" name="luserlogin" type="text"><br> -Password<br> -<input title="Please enter your password" size="16" name="luserpw" type="password"> -<input title="Login" value="Login" type="submit"><br> -<input type=checkbox name="autologin" value="auto"> remember login -</form><br> -<img src="$contextPath/images/arrow.png"> -<a title="Send the password in an email" href="">Forgot Password</a><br> -<img src="$contextPath/images/arrow.png"> -<a title="Register as new user" href="$contextPath/user/register.html">Register</a> +You are logged in as:<br> +$userLogin<br> -#end + <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/itemsearch.html">List Items</a><br> +- <a href="/ADMIN/org.cobricks.item/itemcreate_start.html">Create New Item</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> -</span> -</div></div> </td></tr> |