templates/spartan/map
changeset 9999 f91e5630ce7e
parent 9998 4a3c388f8c69
child 10000 16f49d671c7f
equal deleted inserted replaced
9998:4a3c388f8c69 9999:f91e5630ce7e
     1 default = 'shortlog'
       
     2 mimetype = 'text/html; charset={encoding}'
       
     3 header = header.tmpl
       
     4 footer = footer.tmpl
       
     5 search = search.tmpl
       
     6 changelog = changelog.tmpl
       
     7 shortlog = shortlog.tmpl
       
     8 shortlogentry = shortlogentry.tmpl
       
     9 graph = graph.tmpl
       
    10 naventry = '<a href="{url}log/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
       
    11 navshortentry = '<a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
       
    12 navgraphentry = '<a href="{url}graph/{node|short}{sessionvars%urlparameter}">{label|escape}</a> '
       
    13 filenaventry = '<a href="{url}log/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{label|escape}</a> '
       
    14 filedifflink = '<a href="{url}diff/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
       
    15 filenodelink = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}</a> '
       
    16 filenolink = '{file|escape} '
       
    17 fileellipses = '...'
       
    18 changelogentry = changelogentry.tmpl
       
    19 searchentry = changelogentry.tmpl
       
    20 changeset = changeset.tmpl
       
    21 manifest = manifest.tmpl
       
    22 
       
    23 direntry = '
       
    24   <tr class="parity{parity}">
       
    25     <td><tt>drwxr-xr-x</tt>&nbsp;
       
    26     <td>&nbsp;
       
    27     <td>&nbsp;
       
    28     <td>
       
    29       <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">{basename|escape}/</a>
       
    30       <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
       
    31         {emptydirs|urlescape}
       
    32       </a>'
       
    33 
       
    34 fileentry = '
       
    35   <tr class="parity{parity}">
       
    36     <td><tt>{permissions|permissions}</tt>&nbsp;
       
    37     <td align=right><tt class="date">{date|isodate}</tt>&nbsp;
       
    38     <td align=right><tt>{size}</tt>&nbsp;
       
    39     <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{basename|escape}</a>'
       
    40 
       
    41 filerevision = filerevision.tmpl
       
    42 fileannotate = fileannotate.tmpl
       
    43 filediff = filediff.tmpl
       
    44 filelog = filelog.tmpl
       
    45 fileline = '<div class="parity{parity}"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>&nbsp;{line|escape}</div>'
       
    46 filelogentry = filelogentry.tmpl
       
    47 
       
    48 # The &nbsp; ensures that all table cells have content (even if there
       
    49 # is an empty line in the annotated file), which in turn ensures that
       
    50 # all table rows have equal height.
       
    51 annotateline = '
       
    52   <tr class="parity{parity}">
       
    53     <td class="annotate">
       
    54       <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#l{targetline}"
       
    55          title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
       
    56     </td>
       
    57     <td>
       
    58       <a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>
       
    59     </td>
       
    60     <td><pre>&nbsp;{line|escape}</pre></td>
       
    61   </tr>'
       
    62 difflineplus = '<span class="plusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
       
    63 difflineminus = '<span class="minusline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
       
    64 difflineat = '<span class="atline"><a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}</span>'
       
    65 diffline = '<a class="lineno" href="#{lineid}" id="{lineid}">{linenumber}</a>{line|escape}'
       
    66 changelogparent = '
       
    67   <tr>
       
    68     <th class="parent">parent {rev}:</th>
       
    69     <td class="parent">
       
    70       <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
       
    71     </td>
       
    72   </tr>'
       
    73 changesetparent = '
       
    74   <tr>
       
    75     <th class="parent">parent {rev}:</th>
       
    76     <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
       
    77   </tr>'
       
    78 filerevparent = '
       
    79   <tr>
       
    80     <td class="metatag">parent:</td>
       
    81     <td>
       
    82       <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
       
    83         {rename%filerename}{node|short}
       
    84       </a>
       
    85     </td>
       
    86   </tr>'
       
    87 filerename = '{file|escape}@'
       
    88 filelogrename = '
       
    89   <tr>
       
    90     <th>base:</th>
       
    91     <td>
       
    92       <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
       
    93         {file|escape}@{node|short}
       
    94       </a>
       
    95     </td>
       
    96   </tr>'
       
    97 fileannotateparent = '
       
    98   <tr>
       
    99     <td class="metatag">parent:</td>
       
   100     <td>
       
   101       <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
       
   102         {rename%filerename}{node|short}
       
   103       </a>
       
   104     </td>
       
   105   </tr>'
       
   106 changesetchild = '
       
   107   <tr>
       
   108     <th class="child">child {rev}:</th>
       
   109     <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
       
   110   </tr>'
       
   111 changelogchild = '
       
   112   <tr>
       
   113     <th class="child">child {rev}:</th>
       
   114     <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
       
   115   </tr>'
       
   116 filerevchild = '
       
   117   <tr>
       
   118     <td class="metatag">child:</td>
       
   119     <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
       
   120   </tr>'
       
   121 fileannotatechild = '
       
   122   <tr>
       
   123     <td class="metatag">child:</td>
       
   124     <td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
       
   125   </tr>'
       
   126 tags = tags.tmpl
       
   127 tagentry = '
       
   128   <li class="tagEntry parity{parity}">
       
   129     <tt class="node">{node}</tt>
       
   130     <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a>
       
   131   </li>'
       
   132 branches = branches.tmpl
       
   133 branchentry = '
       
   134   <li class="tagEntry parity{parity}">
       
   135     <tt class="node">{node}</tt>
       
   136     <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}" class="{status}">{branch|escape}</a>
       
   137   </li>'
       
   138 diffblock = '<pre class="parity{parity}">{lines}</pre>'
       
   139 changelogtag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>'
       
   140 changesettag = '<tr><th class="tag">tag:</th><td class="tag">{tag|escape}</td></tr>'
       
   141 filediffparent = '
       
   142   <tr>
       
   143     <th class="parent">parent {rev}:</th>
       
   144     <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
       
   145   </tr>'
       
   146 filelogparent = '
       
   147   <tr>
       
   148     <th>parent {rev}:</th>
       
   149     <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
       
   150   </tr>'
       
   151 filediffchild = '
       
   152   <tr>
       
   153     <th class="child">child {rev}:</th>
       
   154     <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
       
   155   </tr>'
       
   156 filelogchild = '
       
   157   <tr>
       
   158     <th>child {rev}:</th>
       
   159     <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
       
   160   </tr>'
       
   161 indexentry = '
       
   162   <tr class="parity{parity}">
       
   163     <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
       
   164     <td>{description}</td>
       
   165     <td>{contact|obfuscate}</td>
       
   166     <td class="age">{lastchange|age} ago</td>
       
   167     <td class="indexlinks">
       
   168       <a href="{url}rss-log">RSS</a>
       
   169       <a href="{url}atom-log">Atom</a>
       
   170       {archives%archiveentry}
       
   171     </td>
       
   172   </tr>'
       
   173 index = index.tmpl
       
   174 archiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a> '
       
   175 notfound = notfound.tmpl
       
   176 error = error.tmpl
       
   177 urlparameter = '{separator}{name}={value|urlescape}'
       
   178 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'