swizzler/templates/twist.html
The Dod 3ffb1e6524 User fullname and avatar are now in an iframe
Great performance boost.

Also:
* Input field to copy @username
  Once we can post, this may be handy
* Search is also an iframe (containing an iframe per user)
  So you can keep composing a twist while searching for usernames
* Should be responsive for cellulars (I can only resize browser
  to check. Got no phone. Anyway, the floating "Fork me" footer
  now has a link to navigation (local users), and that's about all
  the essential navigation. You can scroll a bit down from there
  for search results, or all the way up for the content.
* Make sure Dillo etc. that don't see bootstrap font icon
  can still have text links to everything

Enjoy
2014-04-06 13:18:18 +07:00

57 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html language="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{title}}</title>
<link rel="icon" type="image/x-icon" href="{{site_root}}/favicon.ico">
<link href="{{site_root}}/assets/css/bootstrap.min.css" rel="stylesheet">
<link href="{{site_root}}/assets/css/bootstrap-theme.min.css" rel="stylesheet">
<link href="{{site_root}}/assets/css/swizzler.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="row">
<div id="main" class="col-md-8">
<div class="panel panel-default">
{{#in_reply_to}}
<div class="panel-heading avatars32">
<ul class="list-group media-list">{{> message}}</ul>
</div>
{{/in_reply_to}}
<div class="panel-body">
{{#twist}}
<div class="lead well">
<ul class="list-group media-list">{{> message}}</ul>
</div>
{{#any_rts}}
<div class="avatars32">
<h5 class="pull-left"><span class="glyphicon glyphicon-retweet"></span> Retwists:&nbsp;</h5>{{! I know it's ugly. I suck at CSS !}}
{{#rts}}
<iframe class="thumbnail pull-left"
style="border:none; padding:0; background:none; overflow:hidden"
width=84 height=72 seamless=seamless
src="{{site_root}}/user_embed/{{rt_username}}/rt"></iframe>
{{/rts}}
</div>
{{/any_rts}}
{{/twist}}
</div>
{{#replies}}
<div class="panel-footer avatars32">
<ul class="list-group media-list">{{> message}}</ul>
</div>
{{/replies}}
</div>
</div>
<div id="sidebar" class="col-md-4">
{{> sidebar}}
</div>
</div>
{{> footer}}
</div> <!-- /container -->
</body>
</html>