[Zope-Checkins] CVS: Zope/lib/python/Products/ZODBMountPoint/www - addMountsForm.pt:1.1.2.1 mountfail.pt:1.1.2.1

Chris McDonough chrism@zope.com
Mon, 21 Jul 2003 12:36:46 -0400


Update of /cvs-repository/Zope/lib/python/Products/ZODBMountPoint/www
In directory cvs.zope.org:/tmp/cvs-serv17213/lib/python/Products/ZODBMountPoint/www

Added Files:
      Tag: Zope-2_7-branch
	addMountsForm.pt mountfail.pt 
Log Message:
Merge changes from HEAD since the release of Zope 2.7a1 into the Zope-2_7-branch in preparation for release of Zope 2.7b1.


=== Added File Zope/lib/python/Products/ZODBMountPoint/www/addMountsForm.pt ===
<h1 tal:replace="structure here/manage_page_header">Header</h1>

<h2 tal:define="form_title string:Add ZODB Mount Points"
    tal:replace="structure here/manage_form_title">Form Title</h2>

<p class="form-help">
Use this form to finalize the mount points configured in zope.conf.
To make more mount points available, edit zope.conf.
</p>

<div tal:define="stats here/manage_getMountStatus">
<div tal:condition="stats">

<form action="manage_addMounts" method="POST">
<table cellspacing="0" cellpadding="2" border="0">

<tr>
<th>
</th>
<th align="left">
Path
</th>
<th align="left">
Database
</th>
<th align="left">
Status
</th>
</tr>

<tr tal:repeat="stat stats">
<td>
<input tal:condition="not: stat/exists" tal:attributes="value stat/path"
  type="checkbox" name="paths:list" checked="checked" />
</td>
<td valign="top" nowrap="nowrap">
<span tal:content="stat/path">/virtual_hosts</span>
</td>
<td valign="top" nowrap="nowrap">
<span tal:content="stat/name">Virtual Hosts</span>
</td>
<td valign="top">
<span tal:content="stat/status">Ok</span>
</td>
</tr>

</table>

&nbsp;<br />

<input class="form-element" type="checkbox" name="create_mount_points" />
<span class="form-element">Create new folders if the mounted objects don't yet exist</span>

<br />

<input class="form-element" type="submit" name="submit" 
 value="Create selected mount points" /> 

</form>

</div>

<div tal:condition="not:stats">
<em>No mount points configured.</em>
</div>

</div>

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


=== Added File Zope/lib/python/Products/ZODBMountPoint/www/mountfail.pt ===
<h1 tal:replace="structure here/manage_page_header" />
<h2 tal:replace="structure here/manage_tabs" />

<h3>Mount Failure Traceback</h3>

<div tal:define="exc here/mount_error_">
<strong>Error type:</strong>
<span tal:replace="python: exc[0]">Error</span><br />
<strong>Error value:</strong>
<span tal:replace="python: exc[1]">An error occurred.</span><br />
<pre tal:content="python: exc[2]">
Traceback
</pre>
</div>

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