Archived
1
0
This repository has been archived on 2023-08-12. You can view files and clone it, but cannot push or open issues or pull requests.
nntpchan/contrib/templates/default/post.mustache

52 lines
1.4 KiB
Plaintext
Raw Normal View History

2015-10-01 22:51:01 +05:00
<div class="{{CSSClass}}" id="{{PostHash}}">
2015-08-04 19:03:44 +05:00
<p class="intro">
<label for="delete_{{PostHash}}">
<span class="frontend">
[[ {{Frontend}} ]]
</span>
2015-08-04 19:03:44 +05:00
<span class="subject">
{{Subject}}
</span>
2015-10-01 22:51:01 +05:00
<span class="origin">
{{#IsTor}}
<img src="{{Prefix}}static/i2p.jpg" alt="i2p" />
{{/IsTor}}
{{#IsI2P}}
<img src="{{Prefix}}static/tor.jpg" alt="tor" />
{{/IsI2P}}
{{#IsClearnet}}
<img src="{{Prefix}}static/clearnet.jpg" alt="clearnet" />
{{/IsClearnet}}
</span>
2015-08-04 19:03:44 +05:00
<span class="name">
{{#Sage}}
<a href="mailto:sage">
{{Name}}
</a>
{{/Sage}}
{{^Sage}}
{{Name}}
{{/Sage}}
</span>
<span class="postdate">
{{Date}}
</span>
</label>
2015-09-05 02:16:43 +05:00
<a onclick="nntpchan_backlink('{{ShortHash}}');">No. {{ShortHash}}</a>
2015-09-06 00:29:14 +05:00
<a href="{{PostURL}}">[reply]</a>
2015-08-08 18:21:41 +05:00
<span class="tripcode">{{{Pubkey}}}</span>
2015-08-04 19:03:44 +05:00
</p>
<div class="files">
{{#Attachments}}
<div class="file">
<p class="file_info">
<span>File: {{Filename}}</span>
</p>
<a target="_blank" class="file-link" href="{{Source}}" title="{{Filename}}">
<img class="file-thumbnail" src="{{Thumbnail}}" alt="{{Filename}}" />
</a>
</div>
2015-08-04 19:03:44 +05:00
{{/Attachments}}
</div>
<div class="post_body">{{{RenderBody}}}</div>
</div>