A minimalistic, no-js client for twister.net.co
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
2.0 KiB

<li class="list-group-item media">
<iframe class="thumbnail media-object {{#fromMe}}pull-right{{/fromMe}}{{^fromMe}}pull-left{{/fromMe}}"
style="border:none; padding:0; background:none; overflow:hidden"
width=33% height=105 seamless=seamless
src="{{site_root}}/user_embed/{{username}}{{^username}}nobody{{/username}}{{#style_large}}/large{{/style_large}}{{#fromMe}}/from_me{{/fromMe}}"></iframe>
<div class="media-body">
{{#username}}
<h5 class="media-heading">
{{^is_messages}}
<span class="pull-right small">
{{^is_promoted}}<a title="View twist details" href="{{site_root}}/twist/{{.}}/{{k}}">{{/is_promoted}}{{time}}{{^is_promoted}}</a>{{/is_promoted}}
</span>
{{/is_messages}}
{{#is_messages}}<span class="pull-right small">{{time}}</span>{{/is_messages}}
{{#rt_username}}
<small>
<a href="{{site_root}}/user/{{.}}" title="@{{.}}'s profile">@{{.}}</a>
<span class="glyphicon glyphicon-retweet"></span>
</small>
{{/rt_username}}
{{^is_promoted}}<a href="{{site_root}}/user/{{username}}" title="@{{username}}'s profile"><strong>@{{username}}</strong></a>{{/is_promoted}}
{{#is_promoted}}<div class="badge"><span class="glyphicon glyphicon-glass"></span> Promoted post</div>{{/is_promoted}}
{{^is_twist}}{{#reply}}
<small>
<span class="glyphicon glyphicon-share-alt"></span>
<a title="Re: @{{username}}'s twist" href="{{site_root}}/twist/{{username}}/{{k}}">@{{username}}</a>
</small>
{{/reply}}{{/is_twist}}
</h5>
{{/username}}
{{^username}}
<h5 class="media-heading">
<span class="pull-right small">{{time}}</span>
<abbr
title="&#10077;&#120289;&#120316;&#120303;&#120316;&#120305;&#120326; regrets
that this twist is not here [yet?].
Sorry for the wait&#10078;
&mdash; BOFH, polite Haiku edition">Nobody</abbr>
</h5>
{{/username}}
{{{message}}}
</div>
</li>