diff2html/src/templates/line-by-line-file-diff.mustache

24 lines
889 B
Text
Raw Normal View History

2016-04-15 22:08:57 +00:00
<div id="{{fileHtmlId}}" class="d2h-file-wrapper" data-lang="{{file.language}}">
<div class="d2h-file-header">
2016-05-09 18:38:55 +00:00
<span class="d2h-file-name-wrapper">
<span class="d2h-icon-wrapper">
<svg aria-hidden="true" class="d2h-icon" height="16" version="1.1" viewBox="0 0 12 16" width="12">
<path d="M6 5H2v-1h4v1zM2 8h7v-1H2v1z m0 2h7v-1H2v1z m0 2h7v-1H2v1z m10-7.5v9.5c0 0.55-0.45 1-1 1H1c-0.55 0-1-0.45-1-1V2c0-0.55 0.45-1 1-1h7.5l3.5 3.5z m-1 0.5L8 2H1v12h10V5z"></path>
</svg>
</span>
2016-05-09 18:38:55 +00:00
<span class="d2h-file-name">
{{fileDiffName}}
</span>
</span>
</div>
<div class="d2h-file-diff">
<div class="d2h-code-wrapper">
<table class="d2h-diff-table">
<tbody class="d2h-diff-tbody">
2016-04-15 22:08:57 +00:00
{{{diffs}}}
</tbody>
</table>
</div>
</div>
</div>