[Zope-CVS] CVS: Products/CompositePage/manual - add.gif:1.1 copy.gif:1.1 cut.gif:1.1 paste.gif:1.1 remove.gif:1.1 body.pt:1.3 manual_styles.css:1.3

Shane Hathaway shane at zope.com
Fri Feb 27 11:18:50 EST 2004


Update of /cvs-repository/Products/CompositePage/manual
In directory cvs.zope.org:/tmp/cvs-serv16975/manual

Modified Files:
	body.pt manual_styles.css 
Added Files:
	add.gif copy.gif cut.gif paste.gif remove.gif 
Log Message:
Added icons to the top bar of each slot.


=== Added File Products/CompositePage/manual/add.gif ===
  <Binary-ish file>

=== Added File Products/CompositePage/manual/copy.gif ===
  <Binary-ish file>

=== Added File Products/CompositePage/manual/cut.gif ===
  <Binary-ish file>

=== Added File Products/CompositePage/manual/paste.gif ===
  <Binary-ish file>

=== Added File Products/CompositePage/manual/remove.gif ===
  <Binary-ish file>

=== Products/CompositePage/manual/body.pt 1.2 => 1.3 ===
--- Products/CompositePage/manual/body.pt:1.2	Thu Feb 26 16:38:13 2004
+++ Products/CompositePage/manual/body.pt	Fri Feb 27 11:18:49 2004
@@ -1,19 +1,31 @@
 <div>
 
 <form name="manual_composite_ui">
-<table border="0" cellspacing="0" cellpadding="0">
+<table border="0" cellspacing="0" cellpadding="0" width="80%">
 <tbody tal:repeat="slot_info options/slot_data">
 <tr>
 <td class="slot_top">
   <span tal:content="slot_info/title">Headliner story</span>
   - Slot <span tal:content="repeat/slot_info/number">1</span>
-<span target_index="0" tal:attributes="target_path slot_info/target_path">
-  <a href="#" onclick="manual_add(this.parentNode); return false;">+</a>
-  <a href="#" onclick="manual_delete(); return false;">-</a>
-  <a href="#" onclick="manual_copy(); return false;">C</a>
-  <a href="#" onclick="manual_cut(); return false;">X</a>
+&nbsp;
+<span target_index="0" tal:attributes="target_path slot_info/target_path"
+  tal:define="ui_url options/ui/absolute_url">
+  <a href="#" onclick="manual_add(this.parentNode); return false;"
+     ><img tal:attributes="src string:${ui_url}/add_icon" align="center"
+     width="16" height="16" alt="Add" title="Add" /></a>
+  <a href="#" onclick="manual_delete(); return false;"
+     ><img tal:attributes="src string:${ui_url}/remove_icon" align="center"
+     width="16" height="16" alt="Remove" title="Remove" /></a>
+  <a href="#" onclick="manual_copy(); return false;"
+     ><img tal:attributes="src string:${ui_url}/copy_icon" align="center"
+     width="16" height="16" alt="Copy" title="Copy" /></a>
+  <a href="#" onclick="manual_cut(); return false;"
+     ><img tal:attributes="src string:${ui_url}/cut_icon" align="center"
+     width="16" height="16" alt="Cut" title="Cut" /></a>
   <tal:block tal:condition="request/__cp|nothing">
-  <a href="#" onclick="manual_paste(this.parentNode); return false;">P</a>
+  <a href="#" onclick="manual_paste(this.parentNode); return false;"
+     ><img tal:attributes="src string:${ui_url}/paste_icon" align="center"
+     width="16" height="16" alt="Paste" title="Paste" /></a>
   </tal:block>
 </span>
 </td>
@@ -59,7 +71,7 @@
 </td>
 <td valign="top" align="right">
 <select>
-<option value="">Choose a view...<option>
+<option value="">Choose an inline template...<option>
 </select>
 </td>
 </tr>


=== Products/CompositePage/manual/manual_styles.css 1.2 => 1.3 ===
--- Products/CompositePage/manual/manual_styles.css:1.2	Thu Feb 26 16:38:13 2004
+++ Products/CompositePage/manual/manual_styles.css	Fri Feb 27 11:18:49 2004
@@ -6,6 +6,13 @@
   padding: 2px 0.5em 2px 0.5em;
 }
 
+.slot_top img {
+  border-left: 0px;
+  border-top: 0px;
+  border-right: 2px solid black;
+  border-bottom: 2px solid black;
+}
+
 .slot_element, .slot_empty {
   background-color: #cccccc;
 }




More information about the Zope-CVS mailing list