[Zope-CVS] CVS: Products/CompositePage/manual - body.pt:1.1.2.1
manual_styles.css:1.1.2.4 page.pt:NONE
Shane Hathaway
shane at zope.com
Thu Feb 26 16:32:53 EST 2004
Update of /cvs-repository/Products/CompositePage/manual
In directory cvs.zope.org:/tmp/cvs-serv32720/manual
Modified Files:
Tag: composite-flat-ui-branch
manual_styles.css
Added Files:
Tag: composite-flat-ui-branch
body.pt
Removed Files:
Tag: composite-flat-ui-branch
page.pt
Log Message:
The manual UI is now designed to be embedded in a page.
=== Added File Products/CompositePage/manual/body.pt ===
<div>
<form name="manual_composite_ui">
<table border="0" cellspacing="0" cellpadding="0">
<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>
<tal:block tal:condition="request/__cp|nothing">
<a href="#" onclick="manual_paste(this.parentNode); return false;">P</a>
</tal:block>
</span>
</td>
</tr>
<tr tal:repeat="element_info slot_info/elements">
<td class="slot_element" tal:attributes="source_path element_info/source_path">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td colspan="3" class="slot_target"
tal:attributes="target_path slot_info/target_path;
target_index element_info/index"></td>
</tr>
<tr>
<td valign="top" width="0%">
<input type="checkbox" name="source_paths:list"
tal:attributes="value element_info/source_path;
source_path element_info/source_path" />
</td>
<td width="100%">
<div>
<img tal:condition="element_info/icon"
tal:attributes="src element_info/icon"
width="16" height="16" border="0" />
<b tal:content="element_info/title">Reducing Post-Bypass Readmissions</b>
</div>
<div>
<span tal:attributes="source_path element_info/source_path">
<a href="#" onclick="manual_edit(this); return false;">edit</a> |
<a href="#" onclick="manual_preview(this); return false;">preview</a>
<span tal:condition="element_info/can_move_up"> |
<a href="#" onclick="manual_move(this); return false;"
tal:attributes="target_path slot_info/target_path;
target_index python: element_info['index'] - 1">move up</a>
</span>
<span tal:condition="element_info/can_move_down"> |
<a href="#" onclick="manual_move(this); return false;"
tal:attributes="target_path slot_info/target_path;
target_index python: element_info['index'] + 2">move down</a>
</span>
</span>
</div>
</td>
<td valign="top" align="right">
<select>
<option value="">Choose a view...<option>
</select>
</td>
</tr>
<tr>
<td colspan="3" class="slot_target"
tal:attributes="target_path slot_info/target_path;
target_index element_info/next_index"></td>
</tr>
</table>
</td>
</tr>
<tr tal:condition="not: slot_info/elements">
<td class="slot_empty">
<div class="slot_target"
tal:attributes="target_path slot_info/target_path;
target_index string:0"></div>
<em>Empty space</em>
<div class="slot_target"
tal:attributes="target_path slot_info/target_path;
target_index string:0"></div>
</td>
</tr>
<tr>
<td class="slot_bottom">
<span target_index="0" tal:attributes="target_path slot_info/target_path">
<a href="#" onclick="manual_add(this); return false;">Add</a> |
<a href="#" onclick="manual_delete(); return false;">Remove</a> |
<a href="#" onclick="manual_copy(); return false;">Copy</a> |
<a href="#" onclick="manual_cut(); return false;">Cut</a>
<tal:block tal:condition="request/__cp|nothing"> |
<a href="#" onclick="manual_paste(this); return false;">Paste</a>
</tal:block>
</span>
</td>
</tr>
<tr class="slot_spacer">
<td height="10"></td>
</tr>
</tbody>
</table>
</form>
</div>
=== Products/CompositePage/manual/manual_styles.css 1.1.2.3 => 1.1.2.4 ===
--- Products/CompositePage/manual/manual_styles.css:1.1.2.3 Wed Feb 25 16:15:03 2004
+++ Products/CompositePage/manual/manual_styles.css Thu Feb 26 16:32:53 2004
@@ -3,7 +3,7 @@
background-color: #003366;
color: white;
font-weight: bold;
- padding-left: 0.5em;
+ padding: 2px 0.5em 2px 0.5em;
}
.slot_element, .slot_empty {
@@ -36,13 +36,12 @@
.slot_bottom {
background-color: #336699;
- padding-left: 0.5em;
+ padding: 2px 0.5em 2px 0.5em;
color: white;
}
.slot_bottom a {
color: white;
- font-size: small;
}
.slot-element-grip {
=== Removed File Products/CompositePage/manual/page.pt ===
More information about the Zope-CVS
mailing list