forked from colmena/colmena
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview.html
More file actions
32 lines (32 loc) · 1.05 KB
/
view.html
File metadata and controls
32 lines (32 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="panel panel-default">
<div class="panel-heading">
<a href="" ui-sref="^.list" class="btn btn-xs btn-default"><i class="fa fa-arrow-left"></i></a>
{{ctrl.post.title}}
<span class="pull-right btn-group">
<a href="" class="btn btn-xs btn-default" ui-sref="^.edit({id: ctrl.post.id})">
<i class="fa fa-pencil"></i>
</a>
<a href="" class="btn btn-xs btn-danger" ui-sref="^.delete({id: ctrl.post.id})">
<i class="fa fa-trash-o"></i>
</a>
</span>
</div>
<div class="panel-body">
<div class="row">
<div class="col-sm-10" style="white-space: pre;">{{ctrl.post.content}}</div>
<div class="col-sm-2">
<img ng-if="ctrl.post.image" ng-src="{{ctrl.post.image}}?id={{ctrl.post.id}}"/>
</div>
</div>
</div>
<div class="panel-footer">
<small>
Created:
{{ctrl.post.created | date:'medium'}}
<span ng-if="ctrl.post.created !== ctrl.post.modified">
· modified:
{{ctrl.post.modified | date:'medium'}}
</span>
</small>
</div>
</div>