From: Rob H. <for...@us...> - 2001-12-21 08:12:23
|
Update of /cvsroot/sandweb/sandweb/templates In directory usw-pr-cvs1:/tmp/cvs-serv4678/templates Modified Files: browse.html view_file.html Log Message: removed "Commands" column, you can get to edit by clicking on a file ( which brings up the View screen ) and pressing the edit button. saving the file brings you back to the View screen. Index: browse.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/browse.html,v retrieving revision 1.44 retrieving revision 1.45 diff -U2 -r1.44 -r1.45 --- browse.html 2001/12/21 07:36:13 1.44 +++ browse.html 2001/12/21 08:12:20 1.45 @@ -75,9 +75,4 @@ </font> </td> - <td width="20%" align="left" bgcolor="#CCCCCC"> - <font size="2"> -   Commands - </font> - </td> <td width="10%" align="left" bgcolor="#CCCCCC"> <font size="2"> @@ -85,5 +80,5 @@ </font> </td> - <td width="20%" align="left" bgcolor="#CCCCCC"> + <td width="30%" align="left" bgcolor="#CCCCCC"> <font size="2">   <A href="<TMPL_VAR NAME=PROGNAME>">Age</a> @@ -93,5 +88,5 @@ <TMPL_LOOP NAME="ENTRY_LOOP"> <tr bgcolor="<TMPL_VAR NAME=COLOR>"> - <td width="60%" align="left"> + <td> <input type="checkbox" name="filename" value="<TMPL_VAR NAME=ENTRY>"> @@ -103,14 +98,6 @@ <TMPL_VAR NAME=ENTRY> </a> - </td> - <td align="left" width="20%"> -   - <font size="2"> - <a href="<TMPL_VAR NAME=PROGNAME>?<TMPL_VAR NAME=LINK>&file_command=view&location=<TMPL_VAR NAME=LOCATION>">View</a> - | - <a href="<TMPL_VAR NAME=PROGNAME>?<TMPL_VAR NAME=LINK>&file_command=edit&location=<TMPL_VAR NAME=LOCATION>">Edit</a> - </font> </td> - <td width="10%" align="right"> + <td> <TMPL_VAR NAME=FILESIZE>/<font size="2"><i>B</i></font> </td> Index: view_file.html =================================================================== RCS file: /cvsroot/sandweb/sandweb/templates/view_file.html,v retrieving revision 1.9 retrieving revision 1.10 diff -U2 -r1.9 -r1.10 --- view_file.html 2001/12/21 01:12:47 1.9 +++ view_file.html 2001/12/21 08:12:20 1.10 @@ -5,7 +5,9 @@ <input type="submit" name="file_command" value="download" /> <input type="submit" name="file_command" value="upload" /> + <input type="submit" name="file_command" value="edit" /> + <input type="hidden" name="location" value="<TMPL_VAR NAME=LOCATION>" /> <input type="hidden" name="filename" value="<TMPL_VAR NAME=FILENAME>" /> <TMPL_VAR NAME=ERROR> -<pre> <TMPL_VAR NAME=CONTENT></pre> +<pre> <TMPL_VAR NAME=DATA></pre> </form> </p> |