mercurial/templates/paper/diffstat.tmpl
author Yuya Nishihara <yuya@tcha.org>
Sun, 26 Aug 2018 22:18:09 +0900
changeset 39488 15e8250a82da
parent 19455 c229a5e7511e
permissions -rw-r--r--
hgweb: do not audit URL path as working-directory path Since hgweb is an interface to repository data, we don't need to prohibit any paths conflicting within the filesystem. Still an access to working files is audited by filectx.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
19455
c229a5e7511e hgweb: make stripes in diffstat with CSS
Alexander Plavin <me@aplavin.ru>
parents: 14563
diff changeset
     1
  <tr>
14563
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
     2
    <td class="diffstat-file"><a href="#l{fileno}.1">{file|escape}</a></td>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
     3
    <td class="diffstat-total" align="right">{total}</td>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
     4
    <td class="diffstat-graph">
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
     5
      <span class="diffstat-add" style="width:{addpct}%;">&nbsp;</span>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
     6
      <span class="diffstat-remove" style="width:{removepct}%;">&nbsp;</span>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
     7
    </td>
81fc9678b018 paper, coal: define the diffstat templates
Steven Brown <StevenGBrown@gmail.com>
parents:
diff changeset
     8
  </tr>