"Fossies" - the Fresh Open Source Software Archive

Member "viewvc-1.2.1/templates/classic/diff.ezt" (26 Mar 2020, 2217 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]Diff of /[where][end]
    3   [define help_href][docroot]/help_rootview.html[end]
    4 [# end]
    5 
    6 [include "include/header.ezt" "diff"]
    7 [include "include/file_header.ezt"]
    8 
    9 [if-any diffs]
   10   [for diffs]
   11     [include "include/diff_display.ezt"]
   12   [end]
   13 [end]
   14 
   15 <hr style="margin-top:1em;" />
   16 
   17 <table cellpadding="10" class="auto">
   18   <tr>
   19     <td>
   20       <form method="get" action="[diff_format_action]">
   21         <div>
   22           [for diff_format_hidden_values]<input type="hidden" name="[diff_format_hidden_values.name]" value="[diff_format_hidden_values.value]"/>[end]
   23           <select name="diff_format" onchange="submit()">
   24             <option value="h" [is diff_format "h"]selected="selected"[end]>Colored Diff</option>
   25             <option value="l" [is diff_format "l"]selected="selected"[end]>Long Colored Diff</option>
   26             <option value="f" [is diff_format "f"]selected="selected"[end]>Full Colored Diff</option>
   27             <option value="u" [is diff_format "u"]selected="selected"[end]>Unidiff</option>
   28             <option value="c" [is diff_format "c"]selected="selected"[end]>Context Diff</option>
   29             <option value="s" [is diff_format "s"]selected="selected"[end]>Side by Side</option>
   30           </select>
   31           <input type="submit" value="Show" />
   32           </div>
   33       </form>
   34     </td>
   35     <td>
   36 [if-any hide_legend]
   37       &nbsp;
   38 [else]
   39       <table style="border:solid gray 1px;" class="auto">
   40         <tr>
   41           <td>Legend:<br />
   42             <table cellspacing="0" cellpadding="1">
   43               <tr>
   44                 <td style="text-align:center;" class="vc_diff_remove">Removed lines/characters</td>
   45                 <td class="vc_diff_empty">&nbsp;</td>
   46               </tr>
   47               <tr>
   48                 <td style="text-align:center;" colspan="2" class="vc_diff_change">Changed lines/characters</td>
   49               </tr>
   50               <tr>
   51                 <td class="vc_diff_empty">&nbsp;</td>
   52                 <td style="text-align:center;" class="vc_diff_add">Added lines/characters</td>
   53               </tr>
   54             </table>
   55           </td>
   56         </tr>
   57       </table>
   58 [end]
   59     </td>
   60   </tr>
   61 </table>
   62 
   63 [include "include/footer.ezt"]