forumConv.html
1.92 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<div class="container">
<ol class="breadcrumb">
<li><a href="/forum">Forum</a></li>
<li><a href="#">Conversations</a></li>
<li class="active">{{ conv.titre }}</li>
</ol>
<h1>{{ conv.titre }}</h1>
<div class="panel panel-default" ng-repeat="mess in messs">
<div class="panel-heading">
{{ mess.login }}
<button ng-show="session.canDelMess" type="button" class="btn btn-danger" ng-click="deleteMess($index)">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Supprimer
</button>
</div>
<div class="panel-body" btf-markdown="mess.content">
</div>
</div>
<div class="form-group" ng-show="session.canAddMess">
<div class="panel panel-default">
<div class="panel-heading">
<h4 class="panel-title">
Nouveau message
</h4>
</div>
<div class="panel-body">
<textarea class="form-control" rows="3" ng-model="formData.content"></textarea>
<button type="submit" class="btn btn-primary" aria-label="Ajouter" ng-click="createMess()">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Ajouter
</button>
</div>
</div>
</div>
<!-- <nav>
<ul class="pagination">
<li>
<a href="#" aria-label="Previous">
<span aria-hidden="true">«</span>
</a>
</li>
<li><a href="#">1</a></li>
<li><a href="#">2</a></li>
<li><a href="#">3</a></li>
<li><a href="#">4</a></li>
<li><a href="#">5</a></li>
<li>
<a href="#" aria-label="Next">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav> -->
</div>