4 <title>Getter 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>Getter Control Panel</big></big></td></tr>
27 This is a control panel for the HTTP getter. You can control a local or remote getter by filling
28 the appropriate field below 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.
30 Note that in order to use this page <i>you must have JavaScript enabled</i>.
31 If you have troubles, please send an email to the author:
32 <a href="mailto:luca.padovani@cs.unibo.it">luca.padovani@cs.unibo.it</a>
40 <form name="getterURL">
43 document.write('<input type="text" value="' + getInitialGetterURL() + '" size="50"/>');
45 <select onChange="selectGetterURL(this)">
46 <option value="">---</option>
47 <option value="localhost:8081/">localhost</option>
48 <option value="marcello.cs.unibo.it:8081/">marcello</option>
49 <option value="phd.cs.unibo.it:8081/">phd</option>
50 <option value="eolo.cs.unibo.it:8081/">eolo</option>
51 <option value="mowgli.cs.unibo.it:58081/">mowgli</option>
59 <b>Check</b> if Getter is running and request <b>Help</b>:<br />
60 <input type="button" value="Check & Help" onClick="top.result.location.replace(getGetterURL() + 'help')"/>
67 <b>Update</b> Getter's maps:<br />
68 <input type="button" value="Update" onClick="top.result.location.replace(getGetterURL() + 'update')"/>
75 <b>Clean cache</b> (must be done every time a file is modified)<br />
76 <input type="button" value="Clean" onClick="top.result.location.replace(getGetterURL() + 'clean_cache')"/>
83 <b>List</b> servers:<br />
84 <input type="button" value="List servers" onClick="top.result.location.replace(getGetterURL() + 'list_servers')"/>
90 <form name="addServer">
91 <b>Add</b> a server to the servers list:<br />
92 Server URL: <input type="text" name="url" size="50" value="http://" /><br />
93 Server position: <input type="text" name="position" value="0" /><br />
94 <input type="button" value="Add server" onClick="top.result.location.replace(getGetterURL() + 'add_server?url=' + escape(document.addServer.elements[0].value) +'&position=' + escape(document.addServer.elements[1].value))"/>
100 <form name="removeServer">
101 <b>Remove</b> a server from the servers list:<br />
102 Server number: <input type="text" name="position" value="0" /><br />
103 <input type="button" value="Remove server" onClick="top.result.location.replace(getGetterURL() + 'remove_server?position=' + escape(document.removeServer.elements[0].value))"/>
119 In case you want to customize the panel for your own needs, you can download
120 the source archive (HTML + JavaScript):
122 <li>Getter Panel [<a href="getter-panel.tar.gz">.tar.gz</a>]</li>