forked from colmena/colmena
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlist.html
More file actions
36 lines (32 loc) · 1.11 KB
/
list.html
File metadata and controls
36 lines (32 loc) · 1.11 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
33
34
35
36
<div class="panel panel-default">
<div class="panel-heading">
Notes
<span class="pull-right btn-group">
<a href="" class="btn btn-xs btn-success" ui-sref="^.add()">
<i class="fa fa-plus"></i>
</a>
</span>
</div>
<div class='list-group'>
<div ng-repeat="item in ctrl.notes" class="list-group-item">
<span class="pull-right btn-group">
<a href="" class="btn btn-xs btn-default" ui-sref="^.edit({id: item.id})">
<i class="fa fa-pencil"></i>
</a>
<a href="" class="btn btn-xs btn-danger" ui-sref="^.delete({id: item.id})">
<i class="fa fa-trash-o"></i>
</a>
</span>
<h4 class="list-group-item-heading">
<a href="" ui-sref="^.view({id: item.id})">{{item.title}}</a>
</h4>
<p class="list-group-item-text">{{item.body}}</p>
</div>
<div ng-show="!ctrl.notes.length" class="list-group-item">
<h4 class="list-group-item-heading" translate>
There are no notes
</h4>
<p class="list-group-item-text" translate>Click <a href="" ui-sref="^.add">here</a> to add a note!</p>
</div>
</div>
</div>