]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/uwobo-panel/control.html
ocaml 3.09 transition
[helm.git] / helm / uwobo-panel / control.html
index 52855dd7a498120e305604e53599186df86f4704..d47e6f749d98a8a82a754389fcc530d38338486a 100644 (file)
@@ -24,20 +24,20 @@ td.back { background-color: #e6e6fa; color: brown }
 <br />
 
 <div id="indent">
-This is a control panel for the UWOBO servlet. You can control a local or remote UWOBO servlet by filling
+This is a control panel for the UWOBO Web-Service. You can control a local or remote UWOBO service by filling
 the appropriate fields <a href="#params">below</a> and sending the desired commands. In most cases, results of commands, such as error
 messages or documents, will be opened in the frame at the bottom of this page. For those commands sending multiple
 requests to the UWOBO server, a new window will be opened for each request issued. Note that in order to use
 this page <i>you must have JavaScript enabled</i>.
-If you have troubles, please send an email to the author:
-<a href="mailto:luca.padovani@cs.unibo.it">luca.padovani@cs.unibo.it</a>
 
 <br /><br />
 
 The sections:
 <ul>
   <li><a href="#params">Global Parameters</a></li>
+  <li><a href="#sessions">Daemon Management</a></li>
   <li><a href="#queries">Queries</a></li>
+  <li><a href="#profiles">Profiles</a></li>
   <li><a href="#stylesheets">Stylesheet Management</a></li>
   <li><a href="#process">Processing</a></li>
 </ul>
@@ -61,14 +61,14 @@ In case you want to customize the panel for your own needs, you can download the
 <br />
 
 <div id="indent">
-The following are global parameters used by all the other section to contact the UWOBO servlet and possibly a
-getter. The getter is not required for some operations and can be excluded by unchecking the proper buttons
+The following are global parameters used by all the other section to contact the UWOBO service and possibly a
+Getter. The Getter is not required for some operations and can be excluded by unchecking the proper buttons
 below.
 
 <br /><br />
 
-The following is the URL used to contact the UWOBO servlet. Note that the servlet is usually launched by
-<a href="http://jakarta.apache.org" target="top">TOMCAT</a>. <tt>localhost</tt> is relative to your machine. 
+The following is the URL used to contact the UWOBO Web-Service.
+<tt>localhost</tt> is relative to your machine. 
 
 <br /><br />
 
@@ -92,6 +92,7 @@ The following is the URL used to contact the UWOBO servlet. Note that the servle
          <option value="marcello.cs.unibo.it">marcello</option>
          <option value="phd.cs.unibo.it">phd</option>
          <option value="eolo.cs.unibo.it">eolo</option>
+    <option value="helm.phd.cs.unibo.it">helm</option>
        </select>
       </form>
     </td>
@@ -143,6 +144,59 @@ running UWOBO and not your machine.
 </table>
 </div>
 
+<br />
+
+<a name="sessions"/>
+<table border="0" width="100%" cellpadding="4" cellspacing="0">
+<tr>
+  <td class="head" align="left"><big>Daemon Management</big></td>
+  <td class="back" align="right"><a href="#top">top</a></td>
+</tr>
+</table>
+
+<br />
+
+<div id="indent">
+<p>You can start a new daemon on a given port. The new daemon will have
+   an empty list of processed stylesheets.
+</p>
+<table border="0">
+  <tr>
+    <th colspan="2" align="left">Port</th>
+  </tr>
+  <tr>
+    <td>
+      <form name="sessions">
+        <script>
+         document.write('<input type="text" value="' + getInitialPort() + '" size="5"/>');
+       </script>
+      </form>
+    </td>
+    <td>
+      <form>
+        <input type="button" value="Start New Daemon" onClick="top.result.location.replace(getUwoboURL() + 'newsession?port=' + document.sessions.elements[0].value)"/>
+      </form>
+    </td>
+  </tr>
+</table>
+</div>
+
+<br />
+
+<div id="indent">
+<p>You can also kill the daemon. The log file will be mantained.</p>
+<table border="0">
+  <tr>
+    <td>
+      <form>
+        <input type="button" value="Stop Daemon" onClick="top.result.location.replace(getUwoboURL() + 'kill')"/>
+      </form>
+    </td>
+  </tr>
+</table>
+</div>
+
+<br />
 <a name="queries"/>
 <table border="0" width="100%" cellpadding="4" cellspacing="0">
 <tr>
@@ -155,16 +209,16 @@ running UWOBO and not your machine.
 
 <br />
 
-The following are commands to do some simple queries about the UWOBO servlet.
+The following are commands to do some simple queries about the UWOBO service.
 
 <br /><br />
 
 <table border="0">
 <tr>
   <td>
-    Retrieve the version of the UWOBO servlet running at the UWOBO URL and list the syntax
+    Retrieve the version of the UWOBO service running at the UWOBO URL and list the syntax
     of the accepted commands.
-    You can use this button to verify that a UWOBO servlet
+    You can use this button to verify that a UWOBO service
     is actually running there:
   </td>
 </tr>
@@ -173,7 +227,7 @@ The following are commands to do some simple queries about the UWOBO servlet.
 </tr>
 <tr>
   <td>
-    Ask UWOBO for a list of the stylesheets currently compiled inside the servlet, along with their keys:
+    Ask UWOBO for a list of the stylesheets currently compiled inside the Web-Service, along with their keys:
   </td>
 </tr>
 <tr>
@@ -185,6 +239,152 @@ The following are commands to do some simple queries about the UWOBO servlet.
 
 </div>
 
+<br />
+<a name="profiles"/>
+<table border="0" width="100%" cellpadding="4" cellspacing="0">
+<tr>
+  <td class="head" align="left"><big>Profiles</big></td>
+  <td class="back" align="right"><a href="#top">top</a></td>
+</tr>
+</table>
+
+<div id="indent">
+
+<br />
+
+The following are commands to list and edit the UWOBO profiles.
+
+<br /><br />
+
+<p><em>List existent profiles.</em></p>
+<table border="0">
+<tr>
+  <td><form><input type="button" value="List Profiles" onClick="top.result.location.replace(getUwoboURL() + 'listprofiles')"/></form></td>
+</tr>
+</table>
+
+<p><em>Create a new profile.</em></p>
+<table border="0">
+<tr>
+  <th align="left">Name</th>
+  <th align="left">Parent profile</th>
+  <th align="left">Parent profile password</th>
+</tr>
+<tr>
+  <td>
+    <form name="createProfileID">
+      <input type="text" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form name="createProfileClone">
+      <input type="text" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form name="createProfilePassword">
+      <input type="password" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form>
+      <input type="button" value="Create Profile" onClick="createProfile()"/>
+    </form>
+  </td>
+</tr>
+</table>
+
+<p><em>Remove a profile.</em></p>
+<table border="0">
+<tr>
+  <th align="left">Name</th>
+  <th align="left">Password</th>
+</tr>
+<tr>
+  <td>
+    <form name="removeProfileID">
+      <input type="text" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form name="removeProfilePassword">
+      <input type="password" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form>
+      <input type="button" value="Remove Profile" onClick="removeProfile()"/>
+    </form>
+  </td>
+</tr>
+</table>
+
+<p><em>Show profile parameters.</em></p>
+<table border="0">
+<tr>
+  <th align="left">Name</th>
+  <th align="left">Password</th>
+</tr>
+<tr>
+  <td>
+    <form name="getParamsProfileID">
+      <input type="text" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form name="getParamsProfilePassword">
+      <input type="password" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form>
+      <input type="button" value="Show Params" onClick="getProfileParams()"/>
+    </form>
+  </td>
+</tr>
+</table>
+
+<p><em>Set profile parameters.</em></p>
+<table border="0">
+<tr>
+  <th align="left">Name</th>
+  <th align="left">Password</th>
+  <th align="left">Parameter name</th>
+  <th align="left">Parameter value</th>
+</tr>
+<tr>
+  <td>
+    <form name="setParamProfileID">
+      <input type="text" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form name="setParamProfilePassword">
+      <input type="password" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form name="setParamProfileKey">
+      <input type="text" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form name="setParamProfileValue">
+      <input type="text" size="20"/>
+    </form>
+  </td>
+  <td>
+    <form>
+      <input type="button" value="Set Param" onClick="setProfileParam()"/>
+    </form>
+  </td>
+</tr>
+</table>
+
+<br />
+
+</div>
+
 <a name="stylesheets"/>
 <table border="0" width="100%" cellpadding="4" cellspacing="0">
 <tr>
@@ -224,13 +424,17 @@ the getter is used by default (you can deselect it, however):
         <option value="L,link.xsl,true">Resolve links</option>
         <option value="d_c,drop_coercions.xsl,true">Drop implicit coercions</option>
         <option value="meta_theory,mk_meta_theory.xsl,true">Metadata (back-pointers) to theory</option>
-        <option value="L2H,http://phd.cs.unibo.it/helm/xslt/ls2html.xsl,false">Getter LS ==&gt; HTML</option>
-        <option value="GP,http://phd.cs.unibo.it/helm/xslt/getParam.xsl,false">Get Param</option>
-        <option value="RT,http://phd.cs.unibo.it/helm/xslt/resolve_topurl.xsl,false">Logic-sheet to substitute the interface URL</option>
-        <option value="MC,http://phd.cs.unibo.it/helm/xslt/metadataControl.xsl,false">Stylesheet to create links to metadata</option>
-        <option value="MGL,http://phd.cs.unibo.it/helm/xslt/makeGraphLinks.xsl,false">Add hyperlink menus to graphs</option>
+       <option value="L2T,ls2theory.xsl,true">Getter LS ==&gt; Theory</option>
+        <option value="GP,getParam.xsl,true">Get Param</option>
+        <option value="RT,resolve_topurl.xsl,true">Logic-sheet to substitute the interface URL</option>
+        <option value="S,search.xsl,true">Call the search engine</option>
+        <option value="MC,metadataControl.xsl,true">Stylesheet to create links to metadata</option>
+        <option value="MGL,makeGraphLinks.xsl,true">Add hyperlink menus to graphs</option>
         <option value="MMG,mk_meta_graph.xsl,true">Make graph of backward dependencies</option>
         <option value="MDG,mk_dep_graph.xsl,true">Make graph of dependencies</option>
+        <option value="HAT,hanane_textedepreuve2omdoc.xsl,true">Proof-Trees ==&gt; OMDoc</option>
+        <option value="HAO,hanane_omdoc2xhtml.xsl,true">OMDoc ==&gt; XHTML+MathML</option>
+       <option value="SPK,substKey.xsl,true">Substitute UWOBO keys</option>
       </select>
     </form>
   </td>
@@ -301,8 +505,9 @@ be escaped. This might be particularly useful if the stylesheet is loaded by the
 </tr>
 </table>
 
-Use the buttons below to remove or reload <i>all</i> the stylesheets inside the servlet. Use these commands with
-care, and remember that the servlet can be shared among different users:
+Use the buttons below to remove or reload <i>all</i> the stylesheets.
+Use these commands with
+care, and remember that UWOBO can be shared among different users:
 
 <br /><br />
 
@@ -315,7 +520,7 @@ care, and remember that the servlet can be shared among different users:
   </td>
   <td>
     <form>
-      <input type="button" value="Reload All" onClick="top.result.location.replace(getUwoboURL() + 'reload')"/>
+      <input type="button" value="Reload All" onClick="reloadAllStylesheets()"/>
     </form>
   </td>
 </tr>
@@ -422,7 +627,7 @@ When ready, click on the button and have fun!
 
 <table border="0" width="100%" cellpadding="4" cellspacing="0">
 <tr>
-  <td class="back" align="left">Page maintained by: <a href="mailto:luca.padovani@cs.unibo.it">Luca Padovani</a></td>
+  <td class="back" align="left">Page maintained by: <a href="http://www.cs.unibo.it/~lpadovan">Luca Padovani</a></td>
   <td class="back" align="right"><a href="#top">top</a></td>
 </tr>
 </table>