"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/share/roundup/templates/minimal/html/_generic.index.html" (26 Aug 2019, 2730 Bytes) of package /linux/www/roundup-2.0.0.tar.gz:


The requested HTML page contains a <FORM> tag that is unusable on "Fossies" in "automatic" (rendered) mode so that page is shown as HTML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 <!-- dollarId: issue.index,v 1.2 2001/07/29 04:07:37 richard Exp dollar-->
    2 
    3 <tal:block metal:use-macro="templates/page/macros/icing">
    4 <title metal:fill-slot="head_title" i18n:translate=""
    5  ><span tal:replace="python:context._classname.capitalize()"
    6  i18n:name="class" /> editing - <span i18n:name="tracker"
    7  tal:replace="config/TRACKER_NAME" /></title>
    8 <tal:block metal:fill-slot="body_title" i18n:translate=""
    9  ><span tal:replace="python:context._classname.capitalize()"
   10  i18n:name="class" /> editing</tal:block>
   11 
   12 <td class="content" metal:fill-slot="content">
   13 
   14 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok()
   15  or request.user.hasRole('Anonymous'))"
   16  tal:omit-tag="python:1" i18n:translate=""
   17 >You are not allowed to view this page.</span>
   18 
   19 <span tal:condition="python:not (context.is_view_ok() or context.is_edit_ok())
   20  and request.user.hasRole('Anonymous')"
   21  tal:omit-tag="python:1" i18n:translate=""
   22 >Please login with your username and password.</span>
   23 
   24 <tal:block tal:condition="context/is_edit_ok">
   25 <tal:block i18n:translate="">
   26 <p class="form-help">
   27  You may edit the contents of the
   28  <span tal:replace="request/classname" i18n:name="classname"/>
   29  class using this form. Commas, newlines and double quotes (") must be
   30  handled delicately. You may include commas and newlines by enclosing the
   31  values in double-quotes ("). Double quotes themselves must be quoted by
   32  doubling ("").
   33 </p>
   34 
   35 <p class="form-help">
   36  Multilink properties have their multiple values colon (":") separated
   37  (... ,"one:two:three", ...)
   38 </p>
   39 
   40 <p class="form-help">
   41  Remove entries by deleting their line. Add new entries by appending
   42  them to the table - put an X in the id column. If you wish to restore a
   43  removed item and you know its id then just put that id in the id column.
   44 </p>
   45 </tal:block>
   46 <form onSubmit="return submit_once()" method="POST"
   47       tal:attributes="action context/designator">
   48 <textarea rows="15" style="width:90%" name="rows" tal:content="context/csv"></textarea>
   49 <br>
   50 <input name="@csrf" type="hidden"
   51        tal:attributes="value python:utils.anti_csrf_nonce()">
   52 <input type="hidden" name="@action" value="editCSV">
   53 <input type="submit" value="Edit Items" i18n:attributes="value">
   54 </form>
   55 </tal:block>
   56 
   57 <table tal:condition="context/is_only_view_ok" width="100%" class="list">
   58  <tr>
   59   <th tal:repeat="property context/propnames" tal:content="property">&nbsp;</th>
   60  </tr>
   61  <tal:block repeat="item context/list">
   62  <tr tal:condition="item/is_view_ok"
   63      tal:attributes="class python:['normal', 'alt'][repeat['item'].index%6//3]">
   64   <td tal:repeat="property context/propnames"
   65    tal:content="python: item[property] or default"
   66   >&nbsp;</td>
   67   </tr>
   68  </tal:block>
   69 </table>
   70 
   71 </td>
   72 
   73 </tal:block>