"Fossies" - the Fresh Open Source Software Archive

Member "viewvc-1.2.1/templates/classic/file.ezt" (26 Mar 2020, 4152 Bytes) of package /linux/misc/viewvc-1.2.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 [# ------------------------------------------------------------------------- ]
    2 [# CUSTOMIZE ME: To avoid displaying "binary garbage" -- the contents of     ]
    3 [# files with non-human-readable file formats -- change the value of the     ]
    4 [# hide_binary_garbage variable below to 1.                                  ]
    5 [# ------------------------------------------------------------------------- ]
    6 
    7 [define hide_binary_garbage]0[end]
    8 
    9 [# ------------------------------------------------------------------------- ]
   10 
   11 [# setup page definitions]
   12   [is annotation "annotated"]
   13     [define page_title]Annotation of /[where][end]
   14   [else]
   15     [define page_title]Contents of /[where][end]
   16   [end]
   17   [define help_href][docroot]/help_rootview.html[end]
   18 [# end]
   19 
   20 [include "include/header.ezt" "markup"]
   21 [include "include/file_header.ezt"]
   22 <hr />
   23 <div class="vc_summary">
   24 Revision [if-any revision_href]<a href="[revision_href]"><strong>[rev]</strong></a>[else]<strong>[rev]</strong>[end] -
   25 ([is annotation "annotated"]<a href="[view_href]"><strong>hide annotations</strong></a>[else]<a href="[annotate_href]"><strong>show annotations</strong></a>[end])
   26 [if-any download_href](<a href="[download_href]"><strong>download</strong></a>)[end]
   27 [if-any download_text_href](<a href="[download_text_href]"><strong>as text</strong></a>)[end]
   28 
   29 [if-any vendor_branch] <em>(vendor branch)</em>[end]
   30 <br /><em>[if-any date][date][else](unknown date)[end]</em>
   31       [if-any ago]([ago] ago)[end]
   32       by <em>[if-any author][author][else](unknown author)[end]</em>
   33 [if-any orig_path]
   34   <br />Original Path: <a href="[orig_href]"><em>[orig_path]</em></a>
   35 [end]
   36 
   37 [if-any branches]
   38   <br />Branch: <strong>[branches]</strong>
   39 [end]
   40 [if-any tags]
   41   <br />CVS Tags: <strong>[tags]</strong>
   42 [end]
   43 [if-any branch_points]
   44   <br />Branch point for: <strong>[branch_points]</strong>
   45 [end]
   46 [is roottype "cvs"]
   47   [if-any changed]
   48     <br />Changes since <strong>[prev]: [changed] lines</strong>
   49   [end]
   50 [end]
   51 [if-any mime_type]
   52   <br />Content type: [mime_type]
   53 [end]
   54 [is roottype "svn"][if-any size]
   55   <br />File size: [size] byte(s)
   56 [end][end]
   57 [if-any lockinfo]
   58   <br />Lock status: <img src="[docroot]/images/lock.png" alt="Locked" width="16" height="16" /> [lockinfo]
   59 [end]
   60 [is annotation "binary"]
   61   <br /><strong>Unable to calculate annotation data on binary file contents.</strong>
   62 [end]
   63 [is annotation "error"]
   64   <br /><strong>Error occurred while calculating annotation data.</strong>
   65 [end]
   66 [is state "dead"]
   67   <br /><strong><em>FILE REMOVED</em></strong>
   68 [end]
   69 [if-any log]
   70   <pre class="vc_log">[log]</pre>
   71 [end]
   72 </div>
   73 
   74 [if-any prefer_markup][define hide_binary_garbage]0[end][end]
   75 [if-any image_src_href][define hide_binary_garbage]0[end][end]
   76 
   77 [is hide_binary_garbage "1"]
   78 <p><strong>This file's contents are not viewable.
   79    [if-any download_href]Please <a href="[download_href]">download</a>
   80    this version of the file in order to view it.[end]</strong></p>
   81 [else]
   82 
   83 [define last_rev]0[end]
   84 [define annotation_group]odd[end]
   85 
   86 [if-any lines]
   87 
   88 <div id="vc_file">
   89 <table cellspacing="0" cellpadding="0">
   90 [for lines]
   91   [is lines.rev last_rev]
   92   [else]
   93     [is annotation_group "even"]
   94       [define annotation_group]odd[end]
   95     [else]
   96       [define annotation_group]even[end]
   97     [end]
   98   [end]
   99 
  100   <tr class="vc_row_[if-index lines even]even[else]odd[end] vc_annotation_group_[annotation_group] [is lines.rev rev]vc_annotation_group_thisrev[end]" id="l[lines.line_number]">
  101     <td class="vc_file_line_number"><a href="#l[lines.line_number]">[lines.line_number]</a></td>
  102 [is annotation "annotated"]
  103     <td class="vc_file_line_author">[is lines.rev last_rev]&nbsp;[else][lines.author][end]</td>
  104     <td class="vc_file_line_rev">[is lines.rev last_rev]&nbsp;[else][if-any lines.diff_href]<a href="[lines.diff_href]">[end][lines.rev][if-any lines.diff_href]</a>[end][end]</td>
  105 [end]
  106     <td class="vc_file_line_text">[lines.text]</td>
  107   </tr>
  108   [define last_rev][lines.rev][end]
  109 [end]
  110 </table>
  111 </div>
  112 
  113 [else]
  114 [if-any image_src_href]
  115 <div id="vc_file_image">
  116 <img src="[image_src_href]" alt="" />
  117 </div>
  118 [end]
  119 [end]
  120 [end]
  121 
  122 [include "include/props.ezt"]
  123 [include "include/footer.ezt"]