Update of /cvsroot/sandweb/sandweb/templates
In directory usw-pr-cvs1:/tmp/cvs-serv27477
Modified Files:
sandbox.html
Log Message:
* extensive restructuring in the sandbox menu. moving all module related
management to sandbox menu & functions. (sandbox, might want to be
called module or modules, or something now...)
* reformatted sandbox menu to be more efficient with menus (and logical,
but efficience is my excuse).
Index: sandbox.html
===================================================================
RCS file: /cvsroot/sandweb/sandweb/templates/sandbox.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -U2 -r1.10 -r1.11
--- sandbox.html 28 Feb 2002 05:23:19 -0000 1.10
+++ sandbox.html 28 Feb 2002 06:12:31 -0000 1.11
@@ -1,51 +1,76 @@
-<form submit="<TMPL_VAR NAME=PROGNAME>">
-<input type="hidden" name="action" value="browse" />
<tr>
- <td width="80%" align="left">
- <TMPL_VAR NAME="NO_MODULES"><br />
- </td>
- <td width="20%" align="center">
- [<a href="<TMPL_VAR NAME=PROGNAME>?action=module_checkout">checkout a module</a>]
- </td>
- </tr>
<tr>
<td width="100%" align="left" colspan="2">
<table width="100%" align="left" border="1">
- <tr>
- <td width="20%" align="center" bgcolor="#CCCCCC">
- Module Name
- </td>
- <td width="40%" align="center" bgcolor="#CCCCCC">
- Description
- </td>
- <td width="25%" align="center" bgcolor="#CCCCCC">
- Repository
- </td>
- <td width="15%" align="center" bgcolor="#CCCCCC">
- Function
- </td>
- </tr>
- <TMPL_LOOP NAME="MODULE_LOOP">
- <tr>
- <td width="20%" align="left">
- <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_module&repo_name=<TMPL_VAR NAME=REPO_NAME>&module_name=<TMPL_VAR NAME="MODULE_NAME">"><TMPL_VAR NAME="MODULE_NAME"></a>
- </td>
- <td width="40%" align="left">
- <TMPL_VAR NAME="MODULE_DESC">
- </td>
- <td width="25%" align="center">
- <TMPL_VAR NAME="REPOSITORY">
- </td>
- <td width="15%" align="center">
- <font size="2">
- <a href="<TMPL_VAR NAME=PROGNAME>?action=module_update&module_name=<TMPL_VAR NAME="MODULE_NAME">">update</a>
- |
- <a href="<TMPL_VAR NAME=PROGNAME>?action=module_delete&module_name=<TMPL_VAR NAME="MODULE_NAME">">delete</a>
- </font>
- </td>
- </tr>
+
+ <tr>
+ <td width="20%" align="center" bgcolor="#CCCCCC">
+ Module Name
+ </td>
+ <td width="40%" align="center" bgcolor="#CCCCCC">
+ Description
+ </td>
+ <td width="25%" align="center" bgcolor="#CCCCCC">
+ Repository
+ </td>
+ <td width="15%" align="center" bgcolor="#CCCCCC">
+ Function
+ </td>
+ </tr>
+
+
+ <form name="module" submit="<TMPL_VAR NAME=PROGNAME>">
+ <input type="hidden" name="action" value="sandbox" />
+ <tr>
+ <td width="20%" align="left">
+ <input type="text" name="module_name" size="18" maxlength="30" />
+ </td>
+ <td width="40%" align="left">
+ <input type="text" name="module_description" size="35" maxlength="50" />
+ </td>
+ <td width="25%" align="center">
+ <select size="1" name="repo_name">
+ <TMPL_LOOP NAME="REPO_LIST">
+ <option <TMPL_IF NAME="SELECTED">selected</TMPL_IF>><TMPL_VAR NAME="REPO_NAME"></option>
+ </TMPL_LOOP>
+ </select>
+ </td>
+ <td width="15%" align="center">
+ <input type="submit" name="Submit" value="Checkout" />
+ </td>
+ </tr>
+ </form>
+
+ <tr>
+ <td width="100%" align="left" colspan="4" bgcolor="#DDDDDD">
+ <TMPL_VAR NAME="NO_MODULES"> <br />
+ </td>
+ </tr>
+
+<form submit="<TMPL_VAR NAME=PROGNAME>">
+<input type="hidden" name="action" value="browse" />
+ <TMPL_LOOP NAME="MODULE_LOOP">
+ <tr>
+ <td width="20%" align="left">
+ <a href="<TMPL_VAR NAME=PROGNAME>?action=browse_module&repo_name=<TMPL_VAR NAME=REPO_NAME>&module_name=<TMPL_VAR NAME="MODULE_NAME">"><TMPL_VAR NAME="MODULE_NAME"></a>
+ </td>
+ <td width="40%" align="left">
+ <TMPL_VAR NAME="MODULE_DESC">
+ </td>
+ <td width="25%" align="center">
+ <TMPL_VAR NAME="REPOSITORY">
+ </td>
+ <td width="15%" align="center">
+ <font size="2">
+ <a href="<TMPL_VAR NAME=PROGNAME>?action=sandbox&Submit=Update&module_name=<TMPL_VAR NAME="MODULE_NAME">">update</a>
+ |
+ <a href="<TMPL_VAR NAME=PROGNAME>?action=sandbox&Submit=Delete&module_name=<TMPL_VAR NAME="MODULE_NAME">">delete</a>
+ </font>
+ </td>
+ </tr>
</TMPL_LOOP>
+</form>
+
</table>
</td>
</tr>
-</form>
|