fpaste/views/partials/pasteview.handlebars
2018-02-19 11:01:52 +01:00

17 lines
608 B
HTML

{{#each this}}
<div class="pasteInfo">
<p class="timestamp"><time class="timeago" title="{{stamp}}" datetime="{{stamp}}"></time></p>
<p class="language"><a href="/v/lang/{{language}}">{{language}}</a></p>
<p>Paste: <a href="/{{uuid}}/">/{{uuid}}/</a><a href="/v/id/{{uuid}}">Show related</a></p>
<p class="desc">{{{desc}}}</p>
</div>
<div class="formatedCode">
<div class="lineNumbers">
<pre class="lineNumbers">{{#times rows}}<a href="/{{../uuid}}/#{{this}}" name="{{this}}">{{this}}</a>{{/times}}</pre>
</div>
<div class="sourceCode">
<pre>
{{{paste}}}</pre>
</div>
</div>
{{/each}}