4 <title>UWOBO Control Panel</title>
6 <style type="text/css">
7 #normal { background-color: white; font-family: sans-serif }
8 td.head { font-weight: bold; background-color: #e6e6fa; color: brown }
9 td.back { background-color: #e6e6fa; color: brown }
10 #indent { margin-left: 1cm; margin-right: 1cm }
13 <script language="JavaScript" src="control.js">
20 <table border="0" width="100%" cellpadding="4">
21 <tr><td class="head" align="center"><big><big>UWOBO Control Panel</big></big></td></tr>
27 This is a control panel for the UWOBO Web-Service. You can control a local or remote UWOBO service by filling
28 the appropriate fields <a href="#params">below</a> and sending the desired commands. In most cases, results of commands, such as error
29 messages or documents, will be opened in the frame at the bottom of this page. For those commands sending multiple
30 requests to the UWOBO server, a new window will be opened for each request issued. Note that in order to use
31 this page <i>you must have JavaScript enabled</i>.
37 <li><a href="#params">Global Parameters</a></li>
38 <li><a href="#sessions">Daemon Management</a></li>
39 <li><a href="#queries">Queries</a></li>
40 <li><a href="#profiles">Profiles</a></li>
41 <li><a href="#stylesheets">Stylesheet Management</a></li>
42 <li><a href="#process">Processing</a></li>
45 In case you want to customize the panel for your own needs, you can download the source archive
48 <li>UWOBO Panel [<a href="uwobo-panel.tar.gz">.tar.gz</a>]</li>
54 <table border="0" width="100%" cellpadding="4" cellspacing="0">
56 <td class="head" align="left"><big>Global Parameters</big></td>
57 <td class="back" align="right"><a href="#top">top</a></td>
64 The following are global parameters used by all the other section to contact the UWOBO service and possibly a
65 Getter. The Getter is not required for some operations and can be excluded by unchecking the proper buttons
70 The following is the URL used to contact the UWOBO Web-Service.
71 <tt>localhost</tt> is relative to your machine.
77 <th colspan="2" align="left">UWOBO URL</th>
81 <form name="uwoboURL">
83 document.write('<input type="text" value="' + getInitialProcessorURL() + '" size="50"/>');
89 <select onChange="selectUwoboURL(this)">
90 <option value="">---</option>
91 <option value="localhost">localhost</option>
92 <option value="marcello.cs.unibo.it">marcello</option>
93 <option value="phd.cs.unibo.it">phd</option>
94 <option value="eolo.cs.unibo.it">eolo</option>
95 <option value="helm.phd.cs.unibo.it">helm</option>
101 <input type="button" value="Check" onClick="top.result.location.replace(getUwoboURL() + 'help')"/>
107 The following is the URL used to contact the getter. The getter is usually launched manually.
108 In all cases except for the check button below,
109 <tt>localhost</tt> is relative to the host running UWOBO, because the getter URL is sent as
110 a parameter along with UWOBO commands. In other words, <tt>localhost</tt> <i>is</i> the host
111 running UWOBO and not your machine.
117 <th colspan="2" align="left">Getter URL</th>
121 <form name="getterURL">
123 document.write('<input type="text" value="' + getInitialGetterURL() + '" size="50"/>');
129 <select onChange="selectGetterURL(this)">
130 <option value="">---</option>
131 <option value="localhost">localhost</option>
132 <option value="marcello.cs.unibo.it">marcello</option>
133 <option value="phd.cs.unibo.it">phd</option>
134 <option value="eolo.cs.unibo.it">eolo</option>
140 <input type="button" value="Check" onClick="top.result.location.replace(getGetterURL() + 'help')"/>
150 <table border="0" width="100%" cellpadding="4" cellspacing="0">
152 <td class="head" align="left"><big>Daemon Management</big></td>
153 <td class="back" align="right"><a href="#top">top</a></td>
160 <p>You can start a new daemon on a given port. The new daemon will have
161 an empty list of processed stylesheets.
165 <th colspan="2" align="left">Port</th>
169 <form name="sessions">
171 document.write('<input type="text" value="' + getInitialPort() + '" size="5"/>');
177 <input type="button" value="Start New Daemon" onClick="top.result.location.replace(getUwoboURL() + 'newsession?port=' + document.sessions.elements[0].value)"/>
187 <p>You can also kill the daemon. The log file will be mantained.</p>
192 <input type="button" value="Stop Daemon" onClick="top.result.location.replace(getUwoboURL() + 'kill')"/>
201 <table border="0" width="100%" cellpadding="4" cellspacing="0">
203 <td class="head" align="left"><big>Queries</big></td>
204 <td class="back" align="right"><a href="#top">top</a></td>
212 The following are commands to do some simple queries about the UWOBO service.
219 Retrieve the version of the UWOBO service running at the UWOBO URL and list the syntax
220 of the accepted commands.
221 You can use this button to verify that a UWOBO service
222 is actually running there:
226 <td><form><input type="button" value="Help" onClick="top.result.location.replace(getUwoboURL() + 'help')"/></form></td>
230 Ask UWOBO for a list of the stylesheets currently compiled inside the Web-Service, along with their keys:
234 <td><form><input type="button" value="List Stylesheets" onClick="top.result.location.replace(getUwoboURL() + 'list')"/></form></td>
244 <table border="0" width="100%" cellpadding="4" cellspacing="0">
246 <td class="head" align="left"><big>Profiles</big></td>
247 <td class="back" align="right"><a href="#top">top</a></td>
255 The following are commands to list and edit the UWOBO profiles.
259 <p><em>List existent profiles.</em></p>
262 <td><form><input type="button" value="List Profiles" onClick="top.result.location.replace(getUwoboURL() + 'listprofiles')"/></form></td>
266 <p><em>Create a new profile.</em></p>
269 <th align="left">Name</th>
270 <th align="left">Parent profile</th>
271 <th align="left">Parent profile password</th>
275 <form name="createProfileID">
276 <input type="text" size="20"/>
280 <form name="createProfileClone">
281 <input type="text" size="20"/>
285 <form name="createProfilePassword">
286 <input type="password" size="20"/>
291 <input type="button" value="Create Profile" onClick="createProfile()"/>
297 <p><em>Remove a profile.</em></p>
300 <th align="left">Name</th>
301 <th align="left">Password</th>
305 <form name="removeProfileID">
306 <input type="text" size="20"/>
310 <form name="removeProfilePassword">
311 <input type="password" size="20"/>
316 <input type="button" value="Remove Profile" onClick="removeProfile()"/>
322 <p><em>Show profile parameters.</em></p>
325 <th align="left">Name</th>
326 <th align="left">Password</th>
330 <form name="getParamsProfileID">
331 <input type="text" size="20"/>
335 <form name="getParamsProfilePassword">
336 <input type="password" size="20"/>
341 <input type="button" value="Show Params" onClick="getProfileParams()"/>
347 <p><em>Set profile parameters.</em></p>
350 <th align="left">Name</th>
351 <th align="left">Password</th>
352 <th align="left">Parameter name</th>
353 <th align="left">Parameter value</th>
357 <form name="setParamProfileID">
358 <input type="text" size="20"/>
362 <form name="setParamProfilePassword">
363 <input type="password" size="20"/>
367 <form name="setParamProfileKey">
368 <input type="text" size="20"/>
372 <form name="setParamProfileValue">
373 <input type="text" size="20"/>
378 <input type="button" value="Set Param" onClick="setProfileParam()"/>
388 <a name="stylesheets"/>
389 <table border="0" width="100%" cellpadding="4" cellspacing="0">
391 <td class="head" align="left"><big>Stylesheet Management</big></td>
392 <td class="back" align="right"><a href="#top">top</a></td>
400 In this section you can add, remove and reload stylesheet into the server. There are
401 some frequently used stylesheets whose URIs and keys can be automatically filled in
402 by selecting one of the options of the box below. Note that for such stylesheets
403 the getter is used by default (you can deselect it, however):
409 <th align="left">Predefined Stylesheets</th>
413 <form name="predefinedStylesheets">
414 <select size="1" onChange="selectPredefinedStylesheet(this)">
415 <option value="">---</option>
416 <option value="C1,rootcontent.xsl,true">CIC ==> MathML Content</option>
417 <option value="TC1,objtheorycontent.xsl,true">CIC ==> MathML Content (Show only the thesis)</option>
418 <option value="C2,annotatedpres.xsl,true">MathML Content ==> MathML Presentation</option>
419 <option value="T1,theory_content.xsl,true">Theory CIC ==> MathML Content</option>
420 <option value="T2,theory_pres.xsl,true">Theory Content ==> MathML Presentation</option>
421 <option value="E,expandobj.xsl,true">Expander</option>
422 <option value="G,genmmlid.xsl,true">MathML Content ==> MathML Content + IDs</option>
423 <option value="HC2,content_to_html.xsl,true">MathML Content ==> HTML</option>
424 <option value="L,link.xsl,true">Resolve links</option>
425 <option value="d_c,drop_coercions.xsl,true">Drop implicit coercions</option>
426 <option value="meta_theory,mk_meta_theory.xsl,true">Metadata (back-pointers) to theory</option>
427 <option value="L2T,ls2theory.xsl,true">Getter LS ==> Theory</option>
428 <option value="GP,getParam.xsl,true">Get Param</option>
429 <option value="RT,resolve_topurl.xsl,true">Logic-sheet to substitute the interface URL</option>
430 <option value="S,search.xsl,true">Call the search engine</option>
431 <option value="MC,metadataControl.xsl,true">Stylesheet to create links to metadata</option>
432 <option value="MGL,makeGraphLinks.xsl,true">Add hyperlink menus to graphs</option>
433 <option value="MMG,mk_meta_graph.xsl,true">Make graph of backward dependencies</option>
434 <option value="MDG,mk_dep_graph.xsl,true">Make graph of dependencies</option>
435 <option value="HAT,hanane_textedepreuve2omdoc.xsl,true">Proof-Trees ==> OMDoc</option>
436 <option value="HAO,hanane_omdoc2xhtml.xsl,true">OMDoc ==> XHTML+MathML</option>
437 <option value="SPK,substKey.xsl,true">Substitute UWOBO keys</option>
443 <input type="button" value="Load All Predefined" onClick="loadAllPredefined()"/>
448 <input type="button" value="Remove All Predefined" onClick="removeAllPredefined()"/>
454 Here you have to identify a stylesheet by means of a relative or absolute URI. Usually
455 you will specify a relative URI when using the getter to retrieve the stylesheet.
456 Moreover, you can specify a key associated to this stylesheet, so that it will be easier to
457 refer to it in subsequent operations. If escaping is enabled, then the stylesheet URI will
458 be escaped. This might be particularly useful if the stylesheet is loaded by the getter.
464 <th align="left">Stylesheet</th>
465 <th align="left">Key</th>
466 <th align="left">Use Getter</th>
467 <th align="left">Escape</th>
471 <form name="stylesheetURI">
472 <input type="text" size="50"/>
476 <form name="stylesheetKey">
477 <input type="text" size="10"/>
481 <form name="loadUseGetter">
482 <input type="checkbox" checked="true"/>
486 <form name="loadEscape">
487 <input type="checkbox" checked="true"/>
492 <input type="button" value="Load" onClick="loadStylesheet()"/>
497 <input type="button" value="Reload" onClick="reloadStylesheet()"/>
502 <input type="button" value="Remove" onClick="removeStylesheet()"/>
508 Use the buttons below to remove or reload <i>all</i> the stylesheets.
509 Use these commands with
510 care, and remember that UWOBO can be shared among different users:
518 <input type="button" value="Remove All" onClick="removeAllStylesheets()"/>
523 <input type="button" value="Reload All" onClick="reloadAllStylesheets()"/>
531 <table border="0" width="100%" cellpadding="4" cellspacing="0">
533 <td class="head" align="left"><big>Processing</big></td>
534 <td class="back" align="right"><a href="#top">top</a></td>
542 You can use the "Apply" command to perform a transformation. Specify the URI of the source
543 document in the form below. The URI can be relative or absolute (in the former case you
544 will probably want to enable the use of the getter).
545 If escaping is enabled, then special characters are escaped. This might be particularly useful
546 if the source is loaded by the getter.
552 <th align="left">Source Document</th>
553 <th align="left">Escape</th>
557 <form name="sourceDocument">
558 <input type="text" size="50"/>
562 <form name="escapeSource">
563 <input type="checkbox" checked="true"/>
569 You can specify a sequence of zero or more parameters separated by blanks. Each
570 parameter is made of a name immediately followed by <tt>=</tt> and then a value.
571 If "Escape" is checked, then parameters are escaped in the final
578 <th align="left">Parameters (optional)</th>
579 <th align="left">Escape</th>
583 <form name="parameters">
584 <input type="text" size="50"/>
588 <form name="escapeParameters">
589 <input type="checkbox" checked="true"/>
595 In the key list specify a list of keys
596 separated by blanks. This is the list of stylesheets to be applied in sequence to the
598 When ready, click on the button and have fun!
604 <th align="left">Key list</th>
605 <th align="left">Use Getter</th>
609 <form name="keyList">
610 <input type="text" size="50"/>
614 <form name="applyUseGetter">
615 <input type="checkbox" checked="true"/>
620 <input type="button" value="Apply" onClick="applyStylesheets()"/>
628 <table border="0" width="100%" cellpadding="4" cellspacing="0">
630 <td class="back" align="left">Page maintained by: <a href="http://www.cs.unibo.it/~lpadovan">Luca Padovani</a></td>
631 <td class="back" align="right"><a href="#top">top</a></td>