[CMF-checkins] CVS: CMF/CMFSetup/www - sutSnapshots.zpt:1.1
sutExportSteps.zpt:1.2 sutImportSteps.zpt:1.2
Tres Seaver
tseaver at zope.com
Mon May 24 15:53:57 EDT 2004
Update of /cvs-repository/CMF/CMFSetup/www
In directory cvs.zope.org:/tmp/cvs-serv21306/www
Modified Files:
sutExportSteps.zpt sutImportSteps.zpt
Added Files:
sutSnapshots.zpt
Log Message:
- tool.py:
o Add ZMI for browsing / creating snapshots (no diffs yet).
=== Added File CMF/CMFSetup/www/sutSnapshots.zpt ===
<h1 tal:replace="structure here/manage_page_header"> PAGE HEADER </h1>
<h2 tal:replace="structure here/manage_tabs"> PAGE HEADER </h2>
<h3> Site Configuration Snapshots </h3>
<p class="form-help">
Snapshots capture site configuration at a particular point in time.
</p>
<h3>Available Snapshots</h3>
<form action="." method="POST"
tal:attributes="action here/absolute_url" >
<input type="hidden" name="ids:default:tokens" value="" />
<table cellspacing="0" cellpadding="4"
tal:define="snapshot_info here/listSnapshotInfo;"
>
<thead tal:condition="not: snapshot_info">
<tr>
<td colspan="4">No snapshots exist.</td>
</tr>
</thead>
<thead tal:condition="snapshot_info">
<tr class="list-header">
<td class="list-item">Sel.</td>
<td class="list-item">Title</td>
</tr>
</thead>
<tbody >
<tal:loop tal:repeat="info snapshot_info">
<tr valign="top"
tal:attributes="class python:
( repeat[ 'info' ].odd and 'row-normal'
or 'row-hilite' )" >
<td class="list-item" width="16">
<input type="checkbox" name="ids:list" value="STEP_ID"
tal:attributes="value info/id" />
</td>
<td class="list-item">
<a href="."
tal:attributes="href string:${info/url}/manage_main"
tal:content="info/title">STEP TITLE</a>
</td>
</tr>
</tal:loop>
<tr valign="top" class="list-header">
<td colspan="2"> </td>
</tr>
<tr valign="top">
<td />
<td>
<input class="form-element" type="submit"
name="manage_createSnapshot:method"
value=" Create a Snapshot " />
<input class="form-element" type="submit"
name="manage_compareSnapshots:method"
value=" Compare Snapshots " />
</td>
</tr>
</tbody>
</table>
</form>
<h1 tal:replace="structure here/manage_page_footer"> PAGE FOOTER </h1>
=== CMF/CMFSetup/www/sutExportSteps.zpt 1.1 => 1.2 ===
--- CMF/CMFSetup/www/sutExportSteps.zpt:1.1 Mon May 24 10:36:52 2004
+++ CMF/CMFSetup/www/sutExportSteps.zpt Mon May 24 15:53:57 2004
@@ -49,8 +49,7 @@
</tal:loop>
<tr valign="top" class="list-header">
- <td />
- <td colspan="3">Export Configuration</td>
+ <td colspan="4"> </td>
</tr>
<tr valign="top">
=== CMF/CMFSetup/www/sutImportSteps.zpt 1.1 => 1.2 ===
--- CMF/CMFSetup/www/sutImportSteps.zpt:1.1 Mon May 24 10:36:52 2004
+++ CMF/CMFSetup/www/sutImportSteps.zpt Mon May 24 15:53:57 2004
@@ -49,8 +49,7 @@
</tal:loop>
<tr valign="top" class="list-header">
- <td />
- <td colspan="3">Import Configuration</td>
+ <td colspan="4"> </td>
</tr>
<tr valign="top">
More information about the CMF-checkins
mailing list