Blame view

public/views/forumDir.html 3.6 KB
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
1
2
  <div class="container">
      <ol class="breadcrumb">
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
3
          <li><a href="/forum">Forum</a></li>
f22cd7f3   Geoffrey PREUD'HOMME   Système de messag...
4
          <li><a href="#">Dossiers</a></li>
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
5
          <li class="active">{{ dossier.titre }}</li>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
6
      </ol>
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
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
      <h1>{{ doss.titre }}</h1>
      <h2>Dossiers</h2>
      <div class="panel panel-default" ng-repeat="doss in dosss">
          <div class="panel-heading">
              <h3 class="panel-title">
                  <a href="/forum/dir/{{ doss._id }}">
                      <span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span> {{ doss.titre }}
                  </a>
              </h3>
          </div>
          <div class="panel-body">
              <!-- <strong>Date : </strong>{{ doss.date }}<br/> -->
              <button ng-if="session.canDelDoss" type="button" class="btn btn-danger" ng-click="deleteDoss($index)">
                  <span class="glyphicon glyphicon-remove" aria-hidden="true"></span> Supprimer
              </button>
          </div>
      </div>
      <div class="form-group" ng-if="session.canAddDoss">
          <div class="panel panel-default">
              <div class="panel-heading">
                  <h3 class="panel-title">
                      <input type="text" class="form-control" placeholder="Titre du dossier" ng-model="formDoss.titre" />
                  </h3>
              </div>
              <div class="panel-body">
                  <button type="submit" class="btn btn-primary" aria-label="Ajouter" ng-click="createDoss()">
                      <span class="glyphicon glyphicon-plus" aria-hidden="true"></span> Ajouter
                  </button>
              </div>
          </div>
      </div>
      <h2>Conversations</h2>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
39
40
      <div class="panel panel-default" ng-repeat="conv in convs">
          <div class="panel-heading">
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
41
42
43
44
45
              <h3 class="panel-title">
                  <a href="/forum/conv/{{ conv._id }}">
                      <span class="glyphicon glyphicon-th-list" aria-hidden="true"></span> {{ conv.titre }}
                  </a>
              </h3>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
46
47
          </div>
          <div class="panel-body">
f22cd7f3   Geoffrey PREUD'HOMME   Système de messag...
48
              <!-- <strong>Date : </strong>{{ conv.date }}<br/> -->
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
49
50
51
52
53
54
55
56
57
              <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">
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
58
                      <input type="text" class="form-control" placeholder="Titre de la conversation" ng-model="formConv.titre" />
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
59
60
61
                  </h3>
              </div>
              <div class="panel-body">
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
62
                  <!-- <textarea class="form-control" rows="3"></textarea> -->
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
63
64
65
66
67
68
                  <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>
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
69
      <!-- <nav>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
          <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>
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
87
      </nav> -->
f22cd7f3   Geoffrey PREUD'HOMME   Système de messag...
88
  </div>