forumConv.html
2.6 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<div class="container">
<ol class="breadcrumb">
<li><a href="/forum">Forum</a></li>
<li>Conversations</li>
<li class="active">{{ conv.titre }}</li>
</ol>
<h1>{{ conv.titre }}</h1>
<table class="table">
<thead>
<tr>
<th>Détails</th>
<th>Message</th>
<th>Actions</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="mess in messs">
<td>
{{ mess.auteur.image }}
<br />
<span class=".visible-xs">{{ mess.auteur.login }}</span>
<span class=".hidden-xs">{{ mess.auteur.nom }}</span>
<br/> {{ mess.auteur.section }}
<br/> {{ mess.auteur.role }}
<br/> {{ doss.date }}
</td>
<td btf-markdown="mess.content">
</td>
<td>
<button type="button" class="btn btn-danger" ng-show="session.canDelMess" ng-click="delMess($index)">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
</td>
</tr>
<tr ng-show="session.canAddMess">
<form>
<td>
<label for="nvMessTitre">Nouveau message</label>
</td>
<td class="form-group">
<textarea class="form-control" id="nvMessTitre" rows="7" placeholder="Contenu du message" ng-model="formData.content"></textarea>
</td>
<td>
<button type="submit" class="btn btn-primary" ng-class="{disabled: !formData.content}" ng-click="addMess()">
<span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
</button>
</td>
</form>
</tr>
</tbody>
</table>
<!-- <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>