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.
88 lines
3.9 KiB
88 lines
3.9 KiB
<!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"> |
|
{{#subject}} |
|
<div class="panel panel-primary"> |
|
<div class="panel-heading"> |
|
<h3 class="panel-title"> |
|
<span class="glyphicon glyphicon-envelope"></span> Direct messages: {{fullname}} |
|
{{#remoteuser}}<span class="glyphicon glyphicon-transfer"></span> {{fullname}}{{/remoteuser}} |
|
</h3> |
|
</div> |
|
<div class="panel-body"> |
|
<div class="media avatars32"> |
|
<a class="pull-left thumbnail" href="{{site_root}}/user/{{username}}"> |
|
<img class="media-object avatar" src="{{avatar}}" alt="{{fullname}}"> |
|
</a> |
|
<div class="media-body"> |
|
<ul class="nav nav-pills"> |
|
<li{{#is_feed}} class="active"{{/is_feed}}> |
|
<a href="{{site_root}}/home/{{username}}" |
|
title="@{{username}}'s home"><span class="glyphicon glyphicon-home"></span> Home</a> |
|
</li> |
|
<li{{#is_mentions}} class="active"{{/is_mentions}}> |
|
<a href="{{site_root}}/home/{{username}}/mentions" |
|
title="mentions of @{{username}}"><span class="glyphicon glyphicon-bell"></span> Mentions</a> |
|
</li> |
|
<li {{^remoteuser}}class="active"{{/remoteuser}}> |
|
<a href="{{site_root}}/messages/{{username}}" |
|
title="direct messages from/to @{{username}}"><span class="glyphicon glyphicon-envelope"></span> Messages</a> |
|
</li> |
|
</ul> |
|
</div> |
|
</div> |
|
</div> |
|
</div> |
|
{{/subject}} |
|
<div class="row"> |
|
<div id="messages" class="col-md-12"> |
|
{{#any_threads}} |
|
<ul class="list-group media-list"> |
|
{{#threads}} |
|
{{^remoteuser}} |
|
<a class="label label-primary" href="{{site_root}}/messages/{{subject.username}}/{{username}}" |
|
title="See more messages to/from @{{username}}">@{{username}} <span class="glyphicon glyphicon-arrow-right"></span></a> |
|
{{/remoteuser}} |
|
{{#remoteuser}} |
|
{{#subject}} |
|
<a class="label label-primary" href="{{site_root}}/messages/{{subject.username}}" |
|
title="Back to @{{username}}'s direct message summary"><span class="glyphicon glyphicon-arrow-left"></span> Back</a> |
|
{{/subject}} |
|
{{/remoteuser}} |
|
<ul class="list-group media-list"> |
|
{{#messages}} |
|
{{> message}} |
|
{{/messages}} |
|
</ul> |
|
{{/threads}} |
|
</ul> |
|
{{/any_threads}} |
|
|
|
{{^threads}} |
|
<h4><small>Nothing. Nada. Rien de rien. 😭</small></h4> |
|
{{/threads}} |
|
</div> |
|
</div><!-- /.row --> |
|
</div> |
|
<div id="sidebar" class="col-md-4"> |
|
{{> sidebar}} |
|
</div> |
|
</div> |
|
{{> footer}} |
|
</div> <!-- /container --> |
|
</body> |
|
</html> |
|
|
|
|