"Fossies" - the Fresh Open Source Software Archive

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