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/neochan/post.mustache

69 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

2016-10-15 18:05:38 +05:00
<div id="{{post.PostHash}}" class="{{post.CSSClass}}"
data-frontend="{{post.Frontend}}"
data-newsgroup="{{post.Board}}"
data-msgid="{{post.MessageID}}"
data-msgidhash="{{post.PostHash}}"
data-rootmsgid="{{post.Reference}}"
data-rootmsgidhash="{{post.ReferenceHash}}"
{{#post.Sage}}
data-sage="1"
{{/post.Sage}}
{{#post.IsI2P}}
data-origin="i2p"
{{/post.IsI2P}}
{{#post.IsTor}}
data-origin="tor"
{{/post.IsTor}}
{{#post.IsClearnet}}
data-origin="clearnet"
{{/post.IsClearnet}}
data-posturl="{{post.PostURL}}">
2016-12-31 18:36:28 +05:00
<div class="postheader">
2016-10-15 18:05:38 +05:00
<span class="origin">
{{#post.IsI2P}}
<img src="{{post.Prefix}}static/i2p.png" title="{{#i18n.Translations}}{{from_i2p}}{{/i18n.Translations}}" />
{{/post.IsI2P}}
{{#post.IsTor}}
<img src="{{post.Prefix}}static/tor.png" title="{{#i18n.Translations}}{{from_tor}}{{/i18n.Translations}}" />
{{/post.IsTor}}
{{#post.IsClearnet}}
<img src="{{post.Prefix}}static/clearnet.png" title="{{#i18n.Translations}}{{from_clearnet}}{{/i18n.Translations}}" />
{{/post.IsClearnet}}
</span>
<div class="postreply">
<a class="postno" onclick="nntpchan_reply(this, '{{post.ShortHash}}');" root="{{post.Reference}}" boardname="{{post.Board}}">&gt;&gt;{{post.ShortHash}}</a>
<a href="{{post.PostURL}}">[{{#i18n.Translations}}{{reply_label}}{{/i18n.Translations}}]</a>
</div>
<div>
Subject: <span class="subject">{{post.Subject}}</span>
</div>
<div>
Name: <span class="name">{{post.Name}}</span><span clas="tripcode">{{{post.Pubkey}}}</span>
</div>
<div>
MessageID: <span class="msgid">{{post.MessageID}}</span>
</div>
<div>
Date: <time datetime="{{post.DateRFC}}">{{post.Date}}</time>
</div>
2016-12-31 18:36:28 +05:00
</div>
2016-10-15 18:05:38 +05:00
<hr>
<div class="attachments">
{{#post.Attachments}}
2016-12-31 18:36:28 +05:00
<div data-sha512="{{Hash}}">
<div>
<a class="download_link" href="{{Source}}" <download></download>Translations}}</a>
<a class="file" href="{{Source}}" title="{{Filename}}" target="_blank">
<img src="{{Thumbnail}}" alt={{Filename}}" class="thumbnail"></img>
</a>
<a class="fname_link" title="{{Filename}}" href="{{Source}}">{{Filename}}</a>
</div>
</div>
2016-10-15 18:05:38 +05:00
{{/post.Attachments}}
</div>
<div class="post_body">
<pre>{{{post.RenderBody}}}</pre>
</div>
<hr>
</div>