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

49 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}}">
2015-10-01 22:51:01 +05:00
<span class="origin">
{{#IsI2P}}
<img src="{{Prefix}}static/i2p.png" title="post from i2p" />
2015-10-01 22:51:01 +05:00
{{/IsI2P}}
2015-10-01 23:01:54 +05:00
{{#IsTor}}
<img src="{{Prefix}}static/tor.png" title="post from tor" />
2015-10-01 23:01:54 +05:00
{{/IsTor}}
2015-10-01 22:51:01 +05:00
{{#IsClearnet}}
<img src="{{Prefix}}static/clearnet.png" title="post from clearnet" />
2015-10-01 22:51:01 +05:00
{{/IsClearnet}}
</span>
2015-10-01 23:00:07 +05:00
<span class="subject">
{{Subject}}
</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-10-14 18:05:32 +05:00
<a onclick="nntpchan_backlink('{{ShortHash}}');" title="{{MessageID}}">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>