"Fossies" - the Fresh Open Source Software Archive

Member "viewvc-1.2.1/templates/default/directory.ezt" (26 Mar 2020, 5127 Bytes) of package /linux/misc/viewvc-1.2.1.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 (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 [# setup page definitions]
    2   [define page_title]Index of:[end]
    3   [define help_href][docroot]/help_[if-any where]dir[else]root[end]view.html[end]
    4 [# end]
    5 [include "include/header.ezt" "directory"]
    6 
    7 [if-any where][else]
    8   <!-- you may insert repository access instructions here -->
    9 [end]
   10 
   11 <div id="vc_main_body">
   12 <!-- ************************************************************** -->
   13 
   14 <div id="vc_togglables">
   15 <div class="inline">
   16 [include "include/pathrev_form.ezt"]
   17 </div>
   18 [is roottype "svn"]
   19 <div class="inline lpad">
   20 [if-any rev]r<a href="[revision_href]">[rev]</a>[end]
   21 </div>
   22 [end]
   23 </div>
   24 
   25 <table cellspacing="2" class="fixed" id="dirlist">
   26 <thead>
   27 <tr>
   28   <th style="width: 200px" class="vc_header[is sortby "file"]_sort[end]">
   29     <a href="[sortby_file_href]#dirlist">File
   30     [is sortby "file"]
   31       <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
   32         width="13" height="13"
   33         src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
   34     [end]
   35     </a>
   36   </th>
   37   <th class="vc_header[is sortby "rev"]_sort[end]">
   38     <a href="[sortby_rev_href]#dirlist">Last Change
   39     [is sortby "rev"]
   40       <img class="vc_sortarrow" alt="[is sortdir "down"](rev)[end]"
   41         width="13" height="13"
   42         src="[docroot]/images/[is sortdir "up"]up[else]down[end].png" />
   43     [end]
   44     </a>
   45   </th>
   46 </tr>
   47 </thead>
   48 
   49 <tbody>
   50 [if-any up_href]
   51   <tr class="vc_row_odd">
   52     <td colspan="2">
   53       <a href="[up_href]">
   54       <img src="[docroot]/images/back_small.png" alt="" class="vc_icon"
   55       />&nbsp;../</a>
   56     </td>
   57   </tr>
   58  [end]
   59 [for entries]
   60   [define click_href][is entries.pathtype "dir"][entries.view_href][else][if-any entries.prefer_markup][entries.view_href][else][entries.download_href][end][end][end]
   61   [define icon_file][is entries.pathtype "dir"]dir[else][is entries.state "dead"]broken[else][if-any entries.is_viewable_image]image[else][if-any entries.is_binary]binary[else]text[end][end][end][end].png[end]
   62   
   63   <tr class="vc_row_[if-index entries even]even[else]odd[end]">
   64     <td style="width: 200px" [if-any click_href]onclick="jumpTo('[click_href]')"[end]>
   65     [if-any click_href]<a name="[entries.anchor]" href="[click_href]" title="[is entries.pathtype "dir"]View Directory Contents[else][if-any entries.prefer_markup]View[else]Download[end] File Contents[end]">[end]
   66        <img src="[docroot]/images/[icon_file]" alt="" class="vc_icon" />
   67        [entries.name][is entries.pathtype "dir"]/[end][if-any click_href]</a>[end][if-any entries.lockinfo]<img src="[docroot]/images/lock-icon.gif" alt="locked" class="vc_overlay" title="Locked by [entries.lockinfo]" />[end]
   68        [is entries.state "dead"](dead)[end]
   69     </td>
   70 
   71     <td [if-any entries.log_href]onclick="jumpTo('[entries.log_href]')"[end]>
   72       [if-any entries.rev]
   73         <strong>[if-any entries.log_href]<a href="[entries.log_href]" title="Revision [entries.rev]">[entries.rev]</a>[else][entries.rev][end]</strong>
   74         ([entries.ago] ago)
   75         by <em>[entries.author]</em>:
   76       [end]
   77       [if-any entries.log]
   78         [if-any entries.log_rev]
   79           <span class="vc_dir_lastmod">(from [entries.log_file]/[entries.log_rev])</span>
   80           [entries.log]
   81         [else][if-any entries.rev]
   82           [entries.log]
   83         [end][end]
   84       [end]
   85     </td>
   86   </tr>
   87 [end]
   88 </tbody>
   89 
   90 </table>
   91 
   92 <div id="vc_view_summary">
   93 [is picklist_len "0"][else][is picklist_len "1"][else]    
   94 <form class="inline" method="get" action="[dir_paging_action]">
   95 <div class="inline lpad">
   96 [for dir_paging_hidden_values]<input type="hidden" name="[dir_paging_hidden_values.name]" value="[dir_paging_hidden_values.value]"/>[end]
   97   <select name="dir_pagestart" onchange="submit()">
   98   [for picklist]
   99     <option [is picklist.count dir_pagestart]selected[end] value="[picklist.count]">Page [picklist.page]: [picklist.start] to [picklist.end]</option>
  100   [end]
  101   </select>
  102   <input type="submit" value="Go" />
  103 </div>
  104 </form>
  105 [end][end]
  106 [if-any search_re_action]
  107 <form class="inline" method="get" action="[search_re_action]">
  108 <div class="inline lpad">
  109   [for search_re_hidden_values]<input type="hidden" name="[search_re_hidden_values.name]" value="[search_re_hidden_values.value]"/>[end]
  110   <input type="text" name="search" value="[search_re]" />
  111   <input type="submit" value="Search Files" />
  112 </div>
  113 </form>
  114 [if-any search_re]
  115 <form class="inline" method="get" action="[search_re_action]">
  116 <div class="inline">
  117   [for search_re_hidden_values]<input type="hidden" name="[search_re_hidden_values.name]" value="[search_re_hidden_values.value]"/>[end]
  118   <input type="submit" value="Show all files" />
  119 </div>
  120 </form>
  121 </div>
  122 [end]
  123 [end]
  124 [is num_dead "0"]
  125 [else]
  126 <div class="inline lpad">
  127   [if-any attic_showing]
  128     <a href="[hide_attic_href]">Hide
  129   [else]
  130     <a href="[show_attic_href]">Show
  131   [end]
  132   dead files</a>
  133 </div>
  134 [end]
  135 <div class="inline lpad">
  136   [dirs_shown] director[is dirs_shown "1"]y[else]ies[end] and
  137   [files_shown] file[is files_shown "1"][else]s[end] shown
  138 </div>
  139 </div>
  140 
  141 [include "include/props.ezt"]
  142 
  143 <!-- ************************************************************** -->
  144 </div>
  145 
  146 [include "include/footer.ezt"]