[CMF-checkins] CVS: CMF/CMFCore/dtml - skinProps.dtml:1.5
Andy McKay
andy@agmweb.ca
Sat, 9 Nov 2002 14:41:17 -0500
Update of /cvs-repository/CMF/CMFCore/dtml
In directory cvs.zope.org:/tmp/cvs-serv26512/dtml
Modified Files:
skinProps.dtml
Log Message:
Improvement to the skins property pages. Text areas, improved forms and separating the methods. Closes collector issue #75
=== CMF/CMFCore/dtml/skinProps.dtml 1.4 => 1.5 ===
--- CMF/CMFCore/dtml/skinProps.dtml:1.4 Mon Jul 1 16:50:44 2002
+++ CMF/CMFCore/dtml/skinProps.dtml Sat Nov 9 14:41:17 2002
@@ -13,18 +13,17 @@
</dtml-let>
<dtml-var manage_tabs>
-<form action="manage_properties" method="POST">
+<form action="manage_skinLayers" method="POST">
<table>
<tr>
<th valign="top" align="left">Skin selections</th>
</tr>
<tr>
<td colspan="2">
- <table border="1"><tr><td>
<table>
<tr>
- <th>Name</th>
- <th>Layers (in order of precedence)</th>
+ <th align="left">Name</th>
+ <th align="left">Layers (in order of precedence)</th>
</tr>
<dtml-in getSkinPaths>
<tr>
@@ -34,34 +33,47 @@
&dtml-sequence-key;
</td>
<td class="form-element">
- <input type="text" name="skinpath_&dtml-sequence-key;"
- value="&dtml-sequence-item;" size="70">
+ <textarea cols="30" rows="8" name="skinpath_&dtml-sequence-key;:lines"><dtml-var expr="'\n'.join(_['sequence-item'].split(','))"></textarea>
</td>
</tr>
</dtml-in>
<tr>
- <td>
+ <td colspan="2">
+ <input type="submit" name="del_skin" value="Delete">
+ <input type="submit" name="submit" value="Save">
+ </td>
+ </tr>
+
+ <tr><th colspan="2" align="left">Add a new skin</th><tr>
+ <tr>
+ <th align="left">Name</th>
+ <th align="left">Layers</th>
+ </tr>
+ <tr>
+ <td valign="top">
<input type="text" name="skinname" value="" size="20">
</td>
<td>
- <input type="text" name="skinpath" value="" size="70">
+ <textarea cols="30" rows="3" name="skinpath:lines"></textarea>
</td>
</tr>
<tr>
<td colspan="2">
- <input type="submit" name="add_skin" value=" Add ">
- <input type="submit" name="del_skin" value=" Delete ">
+ <input type="submit" name="add_skin" value="Add">
</td>
</tr>
</table>
- </td></tr></table>
</td>
</tr>
<tr>
- <td> <br /> </td>
+</table>
+</form>
+<hr />
+<form action="manage_properties" method="POST">
+<table>
</tr>
<tr>
<td class="form-label" valign="top" align="left">Default skin</td>