"Fossies" - the Fresh Open Source Software Archive

Member "roundup-2.0.0/share/roundup/templates/responsive/html/bug.index.html" (26 Aug 2019, 7419 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" >
    3   <span tal:omit-tag="true" i18n:translate="" >List of bugs</span>
    4   <span tal:condition="request/dispname"
    5    tal:replace="python:' - %s '%request.dispname"
    6   /> - <span tal:replace="config/TRACKER_NAME" />
    7 </title>
    8 <span metal:fill-slot="body_title" tal:omit-tag="true">
    9   <span tal:omit-tag="true" i18n:translate="" >List of bugs</span>
   10   <span tal:condition="request/dispname"
   11    tal:replace="python:' - %s' % request.dispname" />
   12 </span>
   13 <tal:block metal:fill-slot="content">
   14 
   15 <p tal:condition="python:not (context.is_view_ok()
   16  or request.user.hasRole('Anonymous'))" i18n:translate="">
   17  You are not allowed to view this page.</p>
   18 
   19 <p tal:condition="python:not context.is_view_ok()
   20  and request.user.hasRole('Anonymous')" i18n:translate="">
   21  Please login with your username and password.</p>
   22 
   23 <tal:block tal:define="batch request/batch" tal:condition="context/is_view_ok">
   24  <table class="table">
   25   <tr>
   26    <th tal:condition="request/show/severity" i18n:translate="">Severity</th>
   27    <th tal:condition="request/show/id" i18n:translate="">ID</th>
   28    <th tal:condition="request/show/activity" i18n:translate="">Activity</th>
   29    <th tal:condition="request/show/actor" i18n:translate="">Actor</th>
   30    <th tal:condition="request/show/title" i18n:translate="">Title</th>
   31    <th tal:condition="request/show/components"  i18n:translate="">Components</th>
   32    <th tal:condition="request/show/versions" i18n:translate="">Versions</th>
   33    <th tal:condition="request/show/status"    i18n:translate="">Status</th>
   34    <th tal:condition="request/show/resolution" i18n:translate="">Resolution</th>
   35    <th tal:condition="request/show/creator" i18n:translate="">Creator</th>
   36    <th tal:condition="request/show/assignee" i18n:translate="">Assigned&nbsp;To</th>
   37    <th tal:condition="request/show/type" i18n:translate="">Type</th>
   38   </tr>
   39  <tal:block tal:repeat="i batch" condition="true">
   40   <tr tal:define="group python:[r[1] for r in request.group]"
   41       tal:condition="python:group and batch.propchanged(*group)">
   42    <th tal:attributes="colspan python:len(request.columns)" class="group">
   43     <tal:block tal:repeat="g group">
   44      <tal:block tal:content="python:str(i[g]) or '(no %s set)'%g"/>
   45     </tal:block>
   46    </th>
   47   </tr>
   48 
   49   <tr tal:attributes="class python:['even','odd'][repeat['i'].even()]">
   50    <td tal:condition="request/show/severity"
   51        tal:content="python:i.severity.plain() or default">&nbsp;</td>
   52    <td tal:condition="request/show/id" tal:content="i/id">&nbsp;</td>
   53    <td class="date" tal:condition="request/show/activity"
   54        tal:content="i/activity/reldate">&nbsp;</td>
   55    <td tal:condition="request/show/actor"
   56        tal:content="python:i.actor.plain() or default">&nbsp;</td>
   57    <td tal:condition="request/show/title">
   58     <a tal:attributes="href string:bug${i/id}"
   59         tal:content="python:str(i.title.plain(hyperlink=0)) or '[no title]'">title</a>
   60    </td>
   61    <td tal:condition="request/show/components"
   62        tal:content="python:i.components.plain() or default">&nbsp;</td>
   63    <td tal:condition="request/show/versions"
   64        tal:content="python:i.versions.plain() or default">&nbsp;</td>
   65    <td tal:condition="request/show/status"
   66        tal:content="python:i.status.plain() or default">&nbsp;</td>
   67    <td tal:condition="request/show/resolution"
   68        tal:content="python:i.resolution.plain() or default">&nbsp;</td>
   69    <td tal:condition="request/show/creator"
   70        tal:content="python:i.creator.plain() or default">&nbsp;</td>
   71    <td tal:condition="request/show/assignee"
   72        tal:content="python:i.assignee.plain() or default">&nbsp;</td>
   73    <td tal:condition="request/show/type"
   74        tal:content="python:i.type.plain() or default">&nbsp;</td>
   75   </tr>
   76 
   77  </tal:block>
   78 
   79 </table>
   80 <metal:index define-macro="batch-footer">
   81   <div class='pagination pagination-centered' tal:condition="batch">
   82     <ul>
   83       <li tal:define="prev batch/previous" tal:condition="prev" class='disabled'>
   84         <a tal:define="prev batch/previous" tal:condition="prev"
   85          tal:attributes="href python:request.indexargs_url(request.classname,
   86          {'@startwith':prev.first, '@pagesize':prev.size})"
   87          i18n:translate="">Previous</a>
   88       </li>
   89       <li tal:define="prev batch/previous" tal:condition="not:prev" class='disabled'><a href='#' i18n:translate="">Previous</a></li>
   90      <li i18n:translate="">
   91       <a href='#'><span tal:replace="batch/start" i18n:name="start"
   92      />..<span tal:replace="python: batch.start + batch.length -1" i18n:name="end"
   93      /> out of <span tal:replace="batch/sequence_length" i18n:name="total"
   94      /></a></li>
   95       <li tal:define="next batch/next" tal:condition="next" class='disabled'>
   96       <a tal:define="next batch/next" tal:condition="next"
   97          tal:attributes="href python:request.indexargs_url(request.classname,
   98          {'@startwith':next.first, '@pagesize':next.size})"
   99          i18n:translate="">Next</a>
  100       </li>
  101       <li tal:define="next batch/next" tal:condition="not:next" class='disabled'><a href='#' i18n:translate="">Next</a></li>
  102      </ul>
  103   </div>
  104 </metal:index>
  105 <!--
  106 <a tal:attributes="href python:request.indexargs_url('bug',
  107             {'@action':'export_csv'})" i18n:translate="">Download as CSV</a>
  108 -->
  109 <form method="get" class="index-controls"
  110     tal:attributes="action request/classname">
  111 
  112  <table class="form" tal:define="n_sort python:2">
  113 <!--
  114 <tal:block tal:repeat="n python:list(range(n_sort))" tal:condition="batch">
  115   <tr tal:define="key python:len(request.sort)>n and request.sort[n]">
  116    <th>
  117     <tal:block tal:condition="not:n" i18n:translate="">Sort on:</tal:block>
  118    </th>
  119    <td>
  120     <select tal:attributes="name python:'@sort%d'%n">
  121      <option value="" i18n:translate="">- nothing -</option>
  122      <option tal:repeat="col context/properties"
  123              tal:attributes="value col/_name;
  124                              selected python:key and col._name == key[1]"
  125              tal:content="col/_name"
  126              i18n:translate="">column</option>
  127     </select>
  128    </td>
  129    <th i18n:translate="">Descending:</th>
  130    <td><input type="checkbox" tal:attributes="name python:'@sortdir%d'%n;
  131               checked python:key and key[0] == '-'"/>
  132    </td>
  133   </tr>
  134   </tal:block>
  135   -->
  136   <tal:block tal:repeat="n python:list(range(n_sort))" tal:condition="batch">
  137   <tr tal:define="key python:len(request.group)>n and request.group[n]">
  138    <th>
  139     <tal:block tal:condition="not:n" i18n:translate="">Group on:</tal:block>
  140    </th>
  141    <td>
  142     <select tal:attributes="name python:'@group%d'%n">
  143      <option value="" i18n:translate="">- nothing -</option>
  144      <option tal:repeat="col context/properties"
  145              tal:attributes="value col/_name;
  146                              selected python:key and col._name == key[1]"
  147              tal:content="col/_name"
  148              i18n:translate="">column</option>
  149     </select>
  150    </td>
  151    <th i18n:translate="">Descending:</th>
  152    <td><input type="checkbox" tal:attributes="name python:'@groupdir%d'%n;
  153               checked python:key and key[0] == '-'"/>
  154    </td>
  155   </tr>
  156   </tal:block>
  157   <tr><td colspan="4">
  158               <input type="submit" value="Redisplay" i18n:attributes="value"/>
  159               <tal:block tal:replace="structure
  160                 python:request.indexargs_form(sort=0, group=0)" />
  161   </td></tr>
  162  </table>
  163 </form>
  164 
  165 </tal:block>
  166 </tal:block>
  167 </tal:block>