From: Rob H. <for...@us...> - 2001-12-03 23:09:43
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv19834/templates Modified Files: preferences.html vcs_prefs.html Log Message: began working on preferences stuff, right now we only support one repository, but we _fully_ support all possible repository options. the vcs_prefs need some work, though. I'm still working on it, as soon as it's good I'll check it in. Index: preferences.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/preferences.html,v retrieving revision 1.8 retrieving revision 1.9 diff -U2 -r1.8 -r1.9 --- preferences.html 2001/09/21 01:32:51 1.8 +++ preferences.html 2001/12/03 23:09:40 1.9 @@ -1,34 +1,30 @@ <form submit="<TMPL_VAR NAME=PROGNAME>"> <input type="hidden" name="action" value="preferences_menu"> -<table width="100%" align="center"> +<table width="100%" align="center" border="0"> <tr> - <td width="30%" align="right"> - Full name : <br /> + <td width="20%" align="right"> + Full Name : </td> - <td width="50%" align="left"> + <td width="90%" align="left"> <input type="text" name="full_name" value="<TMPL_VAR NAME=FULL_NAME>" /> </td> - <td width="20%" align="center"> -   <br /> - </td> </tr> -<!-- <tr> - <td width="35%" align="right"> - Local work directory : <br /> + <td width="20%" align="right"> + Local work dir : </td> - <td width="65%" align="left"> - <input type="text" value="<TMPL_VAR NAME=WORK_DIR>" /> + <td width="90%" align="left"> + <input type="text" name="work_dir" value="<TMPL_VAR NAME=WORK_DIR>" /> </td> </tr> ---> - <td width="100%" colspan="3" align="center"> -   <br /> - </td> +<table width="100%" align="center" border="0"> <tr> - <td width="80%" colspan="2" align="center"> - <input type="submit" name="Submit" Value="Submit" /> + <td width="15%" align="center"> + <br />  <br /> + </td> + <td width="10%" align="center"> + <input type="submit" name="Submit" Value="Done" /> </td> - <td width="20%" align="center"> + <td width="75%" align="center">   <br /> </td> Index: vcs_prefs.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/vcs_prefs.html,v retrieving revision 1.3 retrieving revision 1.4 diff -U2 -r1.3 -r1.4 --- vcs_prefs.html 2001/08/21 08:10:13 1.3 +++ vcs_prefs.html 2001/12/03 23:09:40 1.4 @@ -1,15 +1,57 @@ <form submit="<TMPL_VAR NAME=PROGNAME>"> -<input type="hidden" name="action" value="new_repo" /> -<pre> - - Setup new <select name="repo_type"><option>CVS</option><option>RCS</option></select> repository : <input type="submit" value="Ok" /> - - - - Edit currently configured repositories : - - <a href="">sandbox (CVS)</a> - -</pre> +<input type="hidden" name="action" value="preferences_menu"> +<table width="100%" align="center" border="0"> + <tr> + <td width="20%" align="right"> + Server Hostname : + </td> + <td width="90%" align="left"> + <input type="text" name="server" value="<TMPL_VAR NAME=SERVER>" /> + </td> + </tr> + <tr> + <td width="20%" align="right"> + VCS Type : + </td> + <td width="90%" align="left"> + <select name="repo_type"> + <option>CVS</option> + <option>RCS</option> + </select> + </td> + </tr> + <tr> + <td width="20%" align="right"> + Connection : + </td> + <td width="90%" align="left"> + <select name="connection"> + <option>SSH</option> + <option>RSH</option> + <option>pserver</option> + <option>local</option> + </select> + </td> + </tr> + <tr> + <td width="20%" align="right"> + Root : + </td> + <td width="90%" align="left"> + <input type="text" name="root" value="<TMPL_VAR NAME=ROOT>" /> + </td> + <tr> +</table> +<table width="100%" align="center" border="0"> + <td width="15%" align="center"> +   <br /> + </td> + <td width="10%" align="center"> + <input type="submit" name="Submit" Value="Done" /> + </td> + <td width="75%" align="center"> +   <br /> + </td> + </tr> +</table> </form> -<TMPL_VAR NAME=ERROR> |