[CMF-checkins] CVS: CMF/CMFStaging/www - explainLockTool.dtml:1.1 explainStagingTool.dtml:1.1 explainVersionsTool.dtml:1.1 stagesForm.zpt:1.1

Shane Hathaway shane@cvs.zope.org
Tue, 14 May 2002 13:54:54 -0400


Update of /cvs-repository/CMF/CMFStaging/www
In directory cvs.zope.org:/tmp/cvs-serv20216/www

Added Files:
	explainLockTool.dtml explainStagingTool.dtml 
	explainVersionsTool.dtml stagesForm.zpt 
Log Message:
Added a "staging" skin layer and a management interface for the three tools.


=== Added File CMF/CMFStaging/www/explainLockTool.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<h3> <code>portal_lock</code> Tool </h3>

<p> This tool provides a mechanism for locking content while editing
    and querying the lock status of an object.
    This implementation makes use of Zope's WebDAV lock support.
</p>

<dtml-var manage_page_footer>


=== Added File CMF/CMFStaging/www/explainStagingTool.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<h3> <code>portal_staging</code> Tool </h3>

<p>
This tool synchronizes changes between different stages in the site.
Stages help you isolate changes in the development area from the
review and production areas.
</p>

<dtml-var manage_page_footer>


=== Added File CMF/CMFStaging/www/explainVersionsTool.dtml ===
<dtml-var manage_page_header>
<dtml-var manage_tabs>

<h3> <code>portal_versions</code> Tool </h3>

<p>
This tool defines how CMF content interacts with a version repository.
It lets you check in, check out, view the checkin history, and revert to
a previous version.
</p>

<dtml-var manage_page_footer>


=== Added File CMF/CMFStaging/www/stagesForm.zpt ===
<h1 tal:replace="structure here/manage_page_header">Header</h1>
<h2 tal:define="manage_tabs_message options/manage_tabs_message | nothing"
    tal:replace="structure here/manage_tabs">Tabs</h2>

<form action="manage_editStages" method="post">

<table tal:define="stages here/getStageItems">
<th>
  Stage ID
</th>
<th>
  Path (relative to portal)
</th>

<tr tal:repeat="stage stages">
<td><input type="text" name="stages.name:records" size="10"
     tal:attributes="value python: stage[0]" /></td>
<td><input type="text" name="stages.path:records" size="40"
     tal:attributes="value python: stage[1]" /></td>
</tr>

<tr>
<td><input type="text" name="stages.name:records" size="10" /></td>
<td><input type="text" name="stages.path:records" size="40" /></td>
</tr>

</table>

<input type="submit" name="submit" value="Save Changes" />
</form>

<h1 tal:replace="structure here/manage_page_footer">Footer</h1>