templates/coal/map
changeset 8373 890a85b67228
parent 8369 93a811ef3ac0
child 8486 835b1ee111f4
equal deleted inserted replaced
8372:783c8c78db86 8373:890a85b67228
    21 changelogentry = ../paper/shortlogentry.tmpl
    21 changelogentry = ../paper/shortlogentry.tmpl
    22 searchentry = ../paper/shortlogentry.tmpl
    22 searchentry = ../paper/shortlogentry.tmpl
    23 changeset = ../paper/changeset.tmpl
    23 changeset = ../paper/changeset.tmpl
    24 manifest = ../paper/manifest.tmpl
    24 manifest = ../paper/manifest.tmpl
    25 
    25 
    26 direntry = '<tr class="fileline parity{parity}"><td class="name"><a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-folder.png"> {basename|escape}/</a> <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">{emptydirs|escape}</a><td class="size"></td><td class="permissions">drwxr-xr-x</td></tr>'
    26 direntry = '
    27 fileentry = '<tr class="fileline parity{parity}"><td class="filename"><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}"><img src="{staticurl}coal-file.png"> {basename|escape}</a></td><td class="size">{size}</td><td class="permissions">{permissions|permissions}</td></tr>'
    27   <tr class="fileline parity{parity}">
       
    28     <td class="name">
       
    29       <a href="{url}file/{node|short}{path|urlescape}{sessionvars%urlparameter}">
       
    30         <img src="{staticurl}coal-folder.png" alt="dir."/> {basename|escape}/
       
    31       </a>
       
    32       <a href="{url}file/{node|short}{path|urlescape}/{emptydirs|urlescape}{sessionvars%urlparameter}">
       
    33         {emptydirs|escape}
       
    34       </a>
       
    35     </td>
       
    36     <td class="size"></td>
       
    37     <td class="permissions">drwxr-xr-x</td>
       
    38   </tr>'
       
    39 
       
    40 fileentry = '
       
    41   <tr class="fileline parity{parity}">
       
    42     <td class="filename">
       
    43       <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
       
    44         <img src="{staticurl}coal-file.png" alt="file"/> {basename|escape}
       
    45       </a>
       
    46     </td>
       
    47     <td class="size">{size}</td>
       
    48     <td class="permissions">{permissions|permissions}</td>
       
    49   </tr>'
    28 
    50 
    29 filerevision = ../paper/filerevision.tmpl
    51 filerevision = ../paper/filerevision.tmpl
    30 fileannotate = ../paper/fileannotate.tmpl
    52 fileannotate = ../paper/fileannotate.tmpl
    31 filediff = ../paper/filediff.tmpl
    53 filediff = ../paper/filediff.tmpl
    32 filelog = ../paper/filelog.tmpl
    54 filelog = ../paper/filelog.tmpl
    33 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
    55 fileline = '<div class="parity{parity} source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</div>'
    34 filelogentry = ../paper/filelogentry.tmpl
    56 filelogentry = ../paper/filelogentry.tmpl
    35 
    57 
    36 annotateline = '<tr class="parity{parity}"><td class="annotate"><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}" title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a></td><td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td></tr>'
    58 annotateline = '
       
    59   <tr class="parity{parity}">
       
    60     <td class="annotate">
       
    61       <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}#{targetline}"
       
    62          title="{node|short}: {desc|escape|firstline}">{author|user}@{rev}</a>
       
    63     </td>
       
    64     <td class="source"><a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}</td>
       
    65   </tr>'
    37 
    66 
    38 diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
    67 diffblock = '<div class="source bottomline parity{parity}"><pre>{lines}</pre></div>'
    39 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
    68 difflineplus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="plusline">{line|escape}</span>'
    40 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
    69 difflineminus = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="minusline">{line|escape}</span>'
    41 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
    70 difflineat = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> <span class="atline">{line|escape}</span>'
    42 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
    71 diffline = '<a href="#{lineid}" id="{lineid}">{linenumber}</a> {line|escape}'
    43 
    72 
    44 changelogparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
    73 changelogparent = '
       
    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>'
    45 
    78 
    46 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
    79 changesetparent = '<a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
    47 
    80 
    48 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
    81 filerevparent = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a> '
    49 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
    82 filerevchild = '<a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a> '
    50 
    83 
    51 filerename = '{file|escape}@'
    84 filerename = '{file|escape}@'
    52 filelogrename = '<tr><th>base:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{file|escape}@{node|short}</a></td></tr>'
    85 filelogrename = '
    53 fileannotateparent = '<tr><td class="metatag">parent:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{rename%filerename}{node|short}</a></td></tr>'
    86   <tr>
       
    87     <th>base:</th>
       
    88     <td>
       
    89       <a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
       
    90         {file|escape}@{node|short}
       
    91       </a>
       
    92     </td>
       
    93   </tr>'
       
    94 fileannotateparent = '
       
    95   <tr>
       
    96     <td class="metatag">parent:</td>
       
    97     <td>
       
    98       <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
       
    99         {rename%filerename}{node|short}
       
   100       </a>
       
   101     </td>
       
   102   </tr>'
    54 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
   103 changesetchild = ' <a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>'
    55 changelogchild = '<tr><th class="child">child</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
   104 changelogchild = '
    56 fileannotatechild = '<tr><td class="metatag">child:</td><td><a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
   105   <tr>
       
   106     <th class="child">child</th>
       
   107     <td class="child">
       
   108       <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
       
   109         {node|short}
       
   110       </a>
       
   111     </td>
       
   112   </tr>'
       
   113 fileannotatechild = '
       
   114   <tr>
       
   115     <td class="metatag">child:</td>
       
   116     <td>
       
   117       <a href="{url}annotate/{node|short}/{file|urlescape}{sessionvars%urlparameter}">
       
   118         {node|short}
       
   119       </a>
       
   120     </td>
       
   121   </tr>'
    57 tags = ../paper/tags.tmpl
   122 tags = ../paper/tags.tmpl
    58 tagentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{tag|escape}</a></td><td class="node">{node|short}</td></tr>'
   123 tagentry = '
       
   124   <tr class="tagEntry parity{parity}">
       
   125     <td>
       
   126       <a href="{url}rev/{node|short}{sessionvars%urlparameter}">
       
   127         {tag|escape}
       
   128       </a>
       
   129     </td>
       
   130     <td class="node">
       
   131       {node|short}
       
   132     </td>
       
   133   </tr>'
    59 branches = ../paper/branches.tmpl
   134 branches = ../paper/branches.tmpl
    60 branchentry = '<tr class="tagEntry parity{parity}"><td><a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">{branch|escape}</a></td><td class="node">{node|short}</td></tr>'
   135 branchentry = '
       
   136   <tr class="tagEntry parity{parity}">
       
   137     <td>
       
   138       <a href="{url}shortlog/{node|short}{sessionvars%urlparameter}">
       
   139         {branch|escape}
       
   140       </a>
       
   141     </td>
       
   142     <td class="node">
       
   143       {node|short}
       
   144     </td>
       
   145   </tr>'
    61 changelogtag = '<span class="tag">{name|escape}</span> '
   146 changelogtag = '<span class="tag">{name|escape}</span> '
    62 changesettag = '<span class="tag">{tag|escape}</span> '
   147 changesettag = '<span class="tag">{tag|escape}</span> '
    63 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
   148 changelogbranchhead = '<span class="branchhead">{name|escape}</span> '
    64 changelogbranchname = '<span class="branchname">{name|escape}</span> ' 
   149 changelogbranchname = '<span class="branchname">{name|escape}</span> ' 
    65 filediffparent = '<tr><th class="parent">parent {rev}:</th><td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
   150 
    66 filelogparent = '<tr><th>parent {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
   151 filediffparent = '
    67 filediffchild = '<tr><th class="child">child {rev}:</th><td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
   152   <tr>
    68 filelogchild = '<tr><th>child {rev}:</th><td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td></tr>'
   153     <th class="parent">parent {rev}:</th>
    69 indexentry = '<tr class="parity{parity}"><td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td><td>{description}</td><td>{contact|obfuscate}</td><td class="age">{lastchange|age} ago</td><td class="indexlinks">{archives%indexarchiveentry}</td></tr>\n'
   154     <td class="parent"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a></td>
       
   155   </tr>'
       
   156 filelogparent = '
       
   157   <tr>
       
   158     <th>parent {rev}:</th>
       
   159     <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
       
   160   </tr>'
       
   161 filediffchild = '
       
   162   <tr>
       
   163     <th class="child">child {rev}:</th>
       
   164     <td class="child"><a href="{url}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a>
       
   165   </td>
       
   166   </tr>'
       
   167 filelogchild = '
       
   168   <tr>
       
   169     <th>child {rev}:</th>
       
   170     <td><a href="{url}file/{node|short}/{file|urlescape}{sessionvars%urlparameter}">{node|short}</a></td>
       
   171   </tr>'
       
   172 
       
   173 indexentry = '
       
   174   <tr class="parity{parity}">
       
   175     <td><a href="{url}{sessionvars%urlparameter}">{name|escape}</a></td>
       
   176     <td>{description}</td>
       
   177     <td>{contact|obfuscate}</td>
       
   178     <td class="age">{lastchange|age} ago</td>
       
   179     <td class="indexlinks">{archives%indexarchiveentry}</td>
       
   180   </tr>\n'
    70 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
   181 indexarchiveentry = '<a href="{url}archive/{node|short}{extension|urlescape}">&nbsp;&darr;{type|escape}</a>'
    71 index = ../paper/index.tmpl
   182 index = ../paper/index.tmpl
    72 archiveentry = '<li><a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a></li>'
   183 archiveentry = '
       
   184   <li>
       
   185     <a href="{url}archive/{node|short}{extension|urlescape}">{type|escape}</a>
       
   186   </li>'
    73 notfound = ../paper/notfound.tmpl
   187 notfound = ../paper/notfound.tmpl
    74 error = ../paper/error.tmpl
   188 error = ../paper/error.tmpl
    75 urlparameter = '{separator}{name}={value|urlescape}'
   189 urlparameter = '{separator}{name}={value|urlescape}'
    76 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'
   190 hiddenformentry = '<input type="hidden" name="{name}" value="{value|escape}" />'