surwiki/templates/diff.html

19 lines
520 B
HTML
Raw Normal View History

<div class="container">
<header>
<h1>Difference</h1>
</header>
<header>
2017-11-06 15:06:32 +03:00
<h1>{{#title}}{{#.removed}}<span class="removed">{{.}}</span>{{/.removed}}{{#.same}}{{.}}{{/.same}}{{#.added}}<span class="added">{{.}}</span>{{/.added}}{{/title}}</h1>
</header>
<article>
2017-11-06 14:55:13 +03:00
<pre class="diff">{{#lines}}{{#.removed}}<span class="removed">{{.}}
</span>{{/.removed}}{{#.same}}<span class="same">{{.}}
</span>{{/.same}}{{#.added}}<span class="added">{{.}}
</span>{{/.added}}{{/lines}}</pre>
</article>
</div>
{{>footer/default.html}}