[Revisionmanager-devel] RevisionObjects/www diff.pt,NONE,1.1 log.pt,NONE,1.1 versioning.pt,NONE,1.1
Brought to you by:
philikon
|
From: panjunyong <pan...@us...> - 2004-04-10 05:03:10
|
Update of /cvsroot/revisionmanager/RevisionObjects/www In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26215 Added Files: diff.pt log.pt versioning.pt Log Message: import to cvs --- NEW FILE: diff.pt --- <h1 tal:replace="structure here/manage_page_header"/> <h2 tal:replace="structure here/manage_tabs"/> <!-- $Id: diff.pt,v 1.1 2004/04/10 04:49:45 panjunyong Exp $ --> <p class="form-text"> Output of diff: </p> <pre tal:content="here/rm_getDiff"> </pre> <h1 tal:replace="structure here/manage_page_footer"/> --- NEW FILE: versioning.pt --- <h1 tal:replace="structure here/manage_page_header"/> <h2 tal:replace="structure here/manage_tabs"/> <!-- $Id: versioning.pt,v 1.1 2004/04/10 04:49:45 panjunyong Exp $ --> <tal:nothing tal:define="global status here/rm_getStatus; global settings here/rm_getSettings"/> <form action="" method="post" tal:attributes="action here/absolute_url"> <tal:block tal:condition="not:status"> <p class="form-help"> This object is currently not in the repository managed by a RevisionManager instance in a parent folder. To add the object to the repository, click the button below. </p> <p> <input type="submit" name="rm_add:method" value="add to repository" /> </p> </tal:block> <p tal:condition="status"> <tal:nothing tal:define="global uptodate python:status['status']=='Up-to-date'"/> <input type="submit" name="rm_updateStatus:method" value="update information" /> <input type="submit" name="rm_forceCheckout:method" value="force checkout" /> | <input type="submit" name="rm_update:method" value="update" /> <input type="submit" name="rm_diffForm:method" value=" diff " /> <input type="submit" name="rm_logForm:method" value=" log " /> <input type="submit" name="rm_remove:method" value="remove" /> </p> </form> <tal:block tal:condition="status"> <table> <tr class="row-hilite"> <td class="form-text">Filename:</td> <td class="form-text" tal:content="here/rm_getRelativePath"></td> </tr> <tr class="row-normal"> <td class="form-text">Status:</td> <td class="form-text" tal:content="status/status"></td> </tr> <tr class="row-hilite"> <td class="form-text">Working revision:</td> <td class="form-text" tal:content="status/wrev"></td> </tr> <tr class="row-normal"> <td class="form-text">Repository revision:</td> <td class="form-text" tal:content="status/rrev"></td> </tr> <tal:block tal:condition="settings/save_properties | nothing"> <tal:nothing tal:define=" global uptodate python:status['status']=='Up-to-date' and status['prop_status'].get('status', '')=='Up-to-date'" /> <tr class="row-normal"> <td class="form-text">Property status:</td> <td class="form-text" tal:content="status/prop_status/status"></td> </tr> <tr class="row-hilite"> <td class="form-text">Property working revision:</td> <td class="form-text" tal:content="status/prop_status/wrev"></td> </tr> <tr class="row-normal"> <td class="form-text">Property repository revision:</td> <td class="form-text" tal:content="status/prop_status/rrev"></td> </tr> </tal:block> <tr class="row-hilite"> <td class="form-text">Sticky Tag:</td> <td class="form-text" tal:content="python:status['stag'] or '(none)'"></td> </tr> <tr class="row-normal"> <td class="form-text">Sticky Date:</td> <td class="form-text" tal:content="status/sdate"></td> </tr> <tr class="row-hilite"> <td class="form-text">Sticky Options:</td> <td class="form-text" tal:content="status/sopt"></td> </tr> <tr class="row-normal" tal:condition="status/tags"> <td class="form-text" valign="top">Existing Tags:</td> <td class="form-text"> <table> <tr tal:repeat="tag status/tags/items"> <td tal:content="python:tag[0]">tag name</td> <td>(<tal:nothing tal:replace="python:tag[1]"/>)</td> </tr> </table> </td> </tr> </table> <form action="rm_commit" method="post" tal:condition="not:uptodate"> <p class="form-text">Log message:</p> <p> <textarea name="log_message" cols="80" rows="10"> </textarea> </p> <input type="submit" value="commit"/> </form> </tal:block> <h1 tal:replace="structure here/manage_page_footer"/> --- NEW FILE: log.pt --- <h1 tal:replace="structure here/manage_page_header"/> <h2 tal:replace="structure here/manage_tabs"/> <!-- $Id: log.pt,v 1.1 2004/04/10 04:49:45 panjunyong Exp $ --> <p class="form-help"> History log information: </p> <table tal:define="log here/rm_getLog; filenames log/keys; nuthin filenames/sort" tal:repeat="filename filenames" width="100%" cellspacing="0" cellpadding="2" border="0"> <tr class="row-hilite"> <td colspan="3" class="list-item"> File: <tal:replace tal:replace="filename" /> </td> </tr> <tr class="list-header"> <td class="list-item"><b>Revision</b></td> <td class="list-item"><b>Information</b></td> <td class="list-item"><b>Log Message</b></td> </tr> <tr tal:define="revisions python:log[filename]['revisions']" tal:repeat="rev revisions" tal:attributes="class python:'row-normal' and repeat['rev'].odd() or 'row-hilite'"> <td valign="top" class="list-item" tal:content="rev/revision">revision</td> <td valign="top" class="list-item"> Date: <tal:nothing tal:replace="rev/date" /><br/> Author: <tal:nothing tal:replace="rev/author" /><br/> State: <tal:nothing tal:replace="rev/state" /><br/> <tal:block tal:condition="rev/lines"> Lines: <tal:nothing tal:replace="rev/lines"/> </tal:block> </td> <td valign="top" class="list-item"> <pre tal:content="rev/log"> log </pre> </td> </tr> <tr> <td colspan="3"> </td> </tr> </table> <h1 tal:replace="structure here/manage_page_footer"/> |