Initial Web Administration Plugin
[pyTivo/krkeegan.git] / plugins / admin / templates / admin.tmpl
blob27f679c0e9bcd6e537b5332193e44d5ba67ec2ed
1 <html>\r
2 <head>\r
3 <meta http-equiv="Content-Type"\r
4 content="text/html; charset=iso-8859-1">\r
5 <title>Configure pyTivo</title>\r
6 <script language="JavaScript">\r
7 function fillBlank(){\r
8 var texts=document.getElementsByTagName('input')\r
9 for (var i_tem = 0; i_tem < texts.length; i_tem++)\r
10 if (texts[i_tem].value=='')\r
11 texts[i_tem].value=' '\r
12 }\r
13 function deleteme(boxId){\r
14 txtBox = document.getElementById(boxId);\r
15 txtBox.value = "Delete_Me";\r
16 }\r
17 </script>\r
18 </head>\r
19 <body bgcolor="#FFFFFF">\r
20 This is a very inital user interface to the HTML configurator.  While the UI looks very rough, all the features work. Simply \r
21 make any modifications and click the Update button at the bottom of the screen.<br>\r
22 All updates will require a restart of pyTivo, however at this time this plugin cannot perform that function for you.  Restarts\r
23 must be done manually.\r
24 <form name="config" method="GET" action="TiVoConnect" onsubmit="fillBlank()">\r
25     <input type="hidden" name="Command" value="UpdateSettings">\r
26     <input type="hidden" name="Container" value=$container>\r
27     <table border="0" cellpadding="0" cellspacing="0">\r
28     <tr><td colspan="2" align="center"><b>Global Server Settings</b></td></tr>\r
29     $server\r
30     <tr><td colspan="2" align="center">============================</td></tr>\r
31     <tr><td colspan="2" align="center"><b>Individual Share Settings</b></td></tr>\r
32     $shares\r
33     <tr><td colspan="2" align="center">----------------------------------</td></tr>\r
34     <tr><td colspan="2" align="center"><b>Add a New Share</b></td></tr>\r
35     <tr><td> Name:</td><td><input type='text' name='new_Share' value=''></td></tr>\r
36     <tr><td colspan="2" align="center">The share will default to video, but this can be <br>changed on the next page</td></tr>\r
37     <tr><td colspan="2" align="center">============================</td></tr>\r
38     <tr><td colspan="2" align="center"><b>Individual TiVo Settings</b></td></tr>\r
39     $tivos\r
40     <tr><td colspan="2" align="center">----------------------------------</td></tr>\r
41     <tr><td colspan="2" align="center"><b>Add a TiVo</b></td></tr>\r
42     <tr><td> Name:</td><td><input type='text' name='new_TiVo' value=''></td></tr>\r
43     <tr><td colspan="2" align="center">Remeber to start the name with _tivo_</td></tr>\r
44     </table>\r
45     <input type="hidden" name="Section_Map" value="$section_map">\r
46     <p><input type="submit" name="Submit" value="Update pyTivo.conf File"></p>\r
47 </form>\r
48 </body>\r
49 </html>\r