Blame view

public/views/forumDir.html 2.05 KB
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
1
2
  <div class="container">
      <ol class="breadcrumb">
f22cd7f3   Geoffrey PREUD'HOMME   Système de messag...
3
4
5
          <li><a href="#">Forum</a></li>
          <li><a href="#">Dossiers</a></li>
          <li class="active">{{ dossier.name }}</li>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
6
7
8
      </ol>
      <div class="panel panel-default" ng-repeat="conv in convs">
          <div class="panel-heading">
9378de0d   Geoffrey PREUD'HOMME   Affichage d'une c...
9
10
11
              <a href="/forum/conv/{{ conv._id }}">
                  <h3 class="panel-title">{{ conv.titre }}</h3>
              </a>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
12
13
          </div>
          <div class="panel-body">
f22cd7f3   Geoffrey PREUD'HOMME   Système de messag...
14
              <!-- <strong>Date : </strong>{{ conv.date }}<br/> -->
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
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
              <button ng-if="session.canDelConv" type="button" class="btn btn-danger" ng-click="deleteConv($index)">
                  <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Supprimer
              </button>
          </div>
      </div>
      <div class="form-group" ng-if="session.canAddConv">
          <div class="panel panel-default">
              <div class="panel-heading">
                  <h3 class="panel-title">
                      <input type="text" class="form-control" placeholder="Titre" ng-model="formData.titre" />
                  </h3>
              </div>
              <div class="panel-body">
                  <textarea class="form-control" rows="3"></textarea>
                  <button type="submit" class="btn btn-primary" aria-label="Ajouter" ng-click="createConv()">
                      <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">&laquo;</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">&raquo;</span>
                  </a>
              </li>
          </ul>
      </nav>
f22cd7f3   Geoffrey PREUD'HOMME   Système de messag...
54
  </div>