[OFBiz] SVN: r5484 - trunk/framework/webtools/webapp/webtools

jonesde at svn.ofbiz.org jonesde at svn.ofbiz.org
Mon Aug 8 20:17:42 EDT 2005


Author: jonesde
Date: 2005-08-08 19:17:40 -0500 (Mon, 08 Aug 2005)
New Revision: 5484

Modified:
   trunk/framework/webtools/webapp/webtools/main.jsp
Log:
A bit of cleanup and reorganization

Modified: trunk/framework/webtools/webapp/webtools/main.jsp
===================================================================
--- trunk/framework/webtools/webapp/webtools/main.jsp	2005-08-09 00:10:09 UTC (rev 5483)
+++ trunk/framework/webtools/webapp/webtools/main.jsp	2005-08-09 00:17:40 UTC (rev 5484)
@@ -1,5 +1,5 @@
 <%--
- *  Copyright (c) 2001-2003 The Open For Business Project - www.ofbiz.org
+ *  Copyright (c) 2001-2005 The Open For Business Project - www.ofbiz.org
  *
  *  Permission is hereby granted, free of charge, to any person obtaining a 
  *  copy of this software and associated documentation files (the "Software"), 
@@ -29,87 +29,87 @@
 <jsp:useBean id="security" type="org.ofbiz.security.Security" scope="request" />
 <jsp:useBean id="delegator" type="org.ofbiz.entity.GenericDelegator" scope="request" />
 
-<TABLE border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">
-  <TR>
-    <TD width="100%">
+<table border="0" width="100%" cellspacing="0" cellpadding="0" class="boxoutside">
+  <tr>
+    <td width="100%">
       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxtop">
         <tr>
-          <TD align="left" width="90%" >
+          <td align="left" width="90%" >
             <div class="boxhead">&nbsp;Web Tools Main Page</div>
-          </TD>
-          <TD align="right" width="10%"><div class="lightbuttontextdisabled"><%=delegator.getDelegatorName()%></div></TD>
+          </td>
+          <td align="right" width="10%"><div class="lightbuttontextdisabled"><%=delegator.getDelegatorName()%></div></td>
         </tr>
       </table>
-    </TD>
-  </TR>
-  <TR>
-    <TD width="100%">
+    </td>
+  </tr>
+  <tr>
+    <td width="100%">
       <table width="100%" border="0" cellspacing="0" cellpadding="0" class="boxbottom">
         <tr>
           <td>
             <ofbiz:unless name="userLogin">
-              <DIV class="tabletext">For something interesting make sure you are logged in, try username:admin, password:ofbiz.</DIV>
-              <BR>
+              <div class="tabletext">For something interesting make sure you are logged in, try username:admin, password:ofbiz.</div>
+              <br/>
             </ofbiz:unless>
-            <DIV class="tabletext">The purpose of this Web Tools administration package is to contain all of the 
+            <div class="tabletext">The purpose of this Web Tools administration package is to contain all of the 
             administration tools that directly relate to the various Core Tool Components. The Core Tool Component layer is
             defined in the architecture documents as the container of all entity definitions shared by the vertical applications that
             are built on top of these entity definitions and the tools surrounding them such as the entity, workflow, and rule engines,
-            content and knowledge management, data analysis, and so forth.</DIV>
-            <BR>
-            <DIV class="tabletext">This application is primarily intended for developers and system administrators.</DIV>
+            content and knowledge management, data analysis, and so forth.</div>
+            <br/>
+            <div class="tabletext">This application is primarily intended for developers and system administrators.</div>
             <ul>
-              <%if(security.hasPermission("UTIL_CACHE_VIEW", session)){%>
-                <li><div class="tabletext">Cache Tools</div>
+                <li><div class="tabletext">Cache &amp; Debug Tools</div>
                 <ul>
-                  <li><a href="<ofbiz:url>/FindUtilCache</ofbiz:url>" class="buttontext">Cache Maintenance</a>
+                  <%if(security.hasPermission("UTIL_CACHE_VIEW", session)){%>
+                    <li><a href="<ofbiz:url>/FindUtilCache</ofbiz:url>" class="buttontext">Cache Maintenance</a>
+                  <%}%>
+                  <%if(security.hasPermission("UTIL_DEBUG_VIEW", session)){%>
+                    <li><a href="<ofbiz:url>/debuglevels</ofbiz:url>" class="buttontext">Adjust Debugging Levels</a>
+                  <%}%>
                 </ul>
-              <%}%>
-              <%if(security.hasPermission("UTIL_DEBUG_VIEW", session)){%>
-                <li><div class="tabletext">Debug Tools</div>
-                <ul>
-                  <li><a href="<ofbiz:url>/debuglevels</ofbiz:url>" class="buttontext">Adjust Debugging Levels</a>
-                </ul>
-              <%}%>
               <%if(security.hasPermission("ENTITY_MAINT", session)){%>
                 <li><div class="tabletext">Entity Engine Tools</div>
                 <ul>
                   <li><a href="<ofbiz:url>/entitymaint</ofbiz:url>" class="buttontext">Entity Data Maintenance</a>
+                  <li><a href="<ofbiz:url>/view/entityref</ofbiz:url>" class="buttontext" target="_blank">Entity Reference</a>&nbsp;<a href="<ofbiz:url>/view/entityref?forstatic=true</ofbiz:url>" class="buttontext" target="_blank">[Static Version]</a>
                   <li><a href="<ofbiz:url>/EntitySQLProcessor</ofbiz:url>" class="buttontext">Entity SQL Processor</a>
-                  <li><a href="<ofbiz:url>/view/entityref</ofbiz:url>" class="buttontext" target="_blank">Entity Reference &amp; Editing Tools</a>&nbsp;<a href="<ofbiz:url>/view/entityref?forstatic=true</ofbiz:url>" class="buttontext" target="_blank">[Static Version]</a>
+                  <li><a href="<ofbiz:url>/EntitySyncStatus</ofbiz:url>" class="buttontext">Entity Sync Status</a>
+                  <li><a href="<ofbiz:url>/view/ModelInduceFromDb</ofbiz:url>" target="_blank" class="buttontext">Induce Model XML from Database</a><br/>
+                  <li><a href="<ofbiz:url>/view/checkdb</ofbiz:url>" class="buttontext">Check/Update Database</a>
+
+                  <!-- want to leave these out because they are only working so-so, and cause people more problems that they solve, IMHO
                   <ul>
-                    <li><a href="<ofbiz:url>/view/checkdb</ofbiz:url>" class="buttontext">Check/Update Database</a>
-                    <!-- want to leave these out because they are only working so-so, and cause people more problems that they solve, IMHO
                     <li><a href="<ofbiz:url>/view/EditEntity</ofbiz:url>" class="buttontext" target="_blank">Edit Entity Definitions</a>
                     <li><a href="<ofbiz:url>/ModelWriter</ofbiz:url>" class="buttontext" target="_blank">Generate Entity Model XML (all in one)</a>
-                    <li><a href="<ofbiz:url>/ModelWriter?savetofile=true</ofbiz:url>" target="_blank" class="buttontext">Save Entity Model XML to Files</a><BR>
-                    -->
-                    <!-- not working right now anyway
-                    <li><a href="<ofbiz:url>/ModelGroupWriter</ofbiz:url>" target="_blank" class="buttontext">Generate Entity Group XML</a><BR>
-                    <li><a href="<ofbiz:url>/ModelGroupWriter?savetofile=true</ofbiz:url>" target="_blank" class="buttontext">Save Entity Group XML to File</a><BR>
-                    -->
-                    <li><a href="<ofbiz:url>/view/ModelInduceFromDb</ofbiz:url>" target="_blank" class="buttontext">Induce Model XML from Database</a><BR>
+                    <li><a href="<ofbiz:url>/ModelWriter?savetofile=true</ofbiz:url>" target="_blank" class="buttontext">Save Entity Model XML to Files</a><br/>
+                  -->
+                  <!-- not working right now anyway
+                    <li><a href="<ofbiz:url>/ModelGroupWriter</ofbiz:url>" target="_blank" class="buttontext">Generate Entity Group XML</a><br/>
+                    <li><a href="<ofbiz:url>/ModelGroupWriter?savetofile=true</ofbiz:url>" target="_blank" class="buttontext">Save Entity Group XML to File</a><br/>
                   </ul>
-                  <li><a href="<ofbiz:url>/xmldsdump</ofbiz:url>" class="buttontext">XML Data Export</a>
-                  <li><a href="<ofbiz:url>/xmldsdumpall</ofbiz:url>" class="buttontext">XML Data Export All</a>
-                  <li><a href="<ofbiz:url>/xmldsimport</ofbiz:url>" class="buttontext">XML Data Import</a>
-                  <li><a href="<ofbiz:url>/xmldsimportdir</ofbiz:url>" class="buttontext">XML Data Import Dir</a>
+                  -->
                   <!--
                   <li><a href="<ofbiz:url>/view/tablesMySql</ofbiz:url>" class="buttontext">MySQL Table Creation SQL</a>
                   <li><a href="<ofbiz:url>/view/dataMySql</ofbiz:url>" class="buttontext">MySQL Auto Data SQL</a>
                   -->
-                  <li><a href="<ofbiz:url>/EntitySyncStatus</ofbiz:url>" class="buttontext">Entity Sync Status</a>
-            
                 </ul>
+                <li><div class="tabletext">Entity XML Tools</div>
+                <ul>
+                  <li><a href="<ofbiz:url>/xmldsdump</ofbiz:url>" class="buttontext">XML Data Export</a>
+                  <li><a href="<ofbiz:url>/xmldsdumpall</ofbiz:url>" class="buttontext">XML Data Export All</a>
+                  <li><a href="<ofbiz:url>/xmldsimport</ofbiz:url>" class="buttontext">XML Data Import</a>
+                  <li><a href="<ofbiz:url>/xmldsimportdir</ofbiz:url>" class="buttontext">XML Data Import Dir</a>
+                </ul>
               <%}%>
               <%if(security.hasPermission("SERVICE_MAINT", session)) {%>
                 <li><div class="tabletext">Service Engine Tools</div>
                 <ul>
+                  <li><a href="<ofbiz:url>/availableServices</ofbiz:url>" class="buttontext">Service Reference</a>
+                  <li><a href="<ofbiz:url>/scheduleJob</ofbiz:url>" class="buttontext">Schedule Job</a>
+                  <li><a href="<ofbiz:url>/jobList</ofbiz:url>" class="buttontext">Job List</a>
+                  <li><a href="<ofbiz:url>/threadList</ofbiz:url>" class="buttontext">Thread List</a>
                   <li><a href="<ofbiz:url>/serviceList</ofbiz:url>" class="buttontext">Service Log</a>
-                  <li><a href="<ofbiz:url>/threadList</ofbiz:url>" class="buttontext">Thread List</a>
-                  <li><a href="<ofbiz:url>/jobList</ofbiz:url>" class="buttontext">Job List</a>
-                  <li><a href="<ofbiz:url>/scheduleJob</ofbiz:url>" class="buttontext">Schedule Job</a>
-                  <li><a href="<ofbiz:url>/availableServices</ofbiz:url>" class="buttontext">Available Services</a>
                 </ul>
               <%}%>
               <%if(security.hasPermission("WORKFLOW_MAINT", session)){%>
@@ -151,10 +151,10 @@
               <%}%>
             </ul>
 
-            <DIV class="tabletext">NOTE: If you have not already run the installation data loading script, from the ofbiz home directory run "ant run-install" or "java -jar ofbiz.jar install"</DIV>
+            <div class="tabletext">NOTE: If you have not already run the installation data loading script, from the ofbiz home directory run "ant run-install" or "java -jar ofbiz.jar install"</div>
           </td>
         </tr>
       </table>
-    </TD>
-  </TR>
-</TABLE>
+    </td>
+  </tr>
+</table>



More information about the Svn mailing list