Blame view

public/views/forumDir.html 5.23 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>
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
4
5
          <li>Dossiers</li>
          <li class="active">{{ doss.titre }}</li>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
6
      </ol>
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
7
      <h1>{{ doss.titre }}</h1>
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
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
      <table class="table">
          <thead>
              <tr>
                  <th>Nom</th>
                  <th>Auteur</th>
                  <th>Dernier message</th>
                  <th>Actions</th>
              </tr>
          </thead>
          <tbody>
              <tr ng-repeat="doss in dosss">
                  <td>
                      <a href="/forum/dir/{{ doss._id }}">
                          <span class="glyphicon glyphicon-folder-open" aria-hidden="true"></span>
                          {{ doss.titre }}
                      </a>
                      <span class="badge" ng-hide="doss.new">{{ doss.new }}</span>
                  </td>
                  <td>
                      <span class=".visible-xs">{{ doss.auteur.login }}</span>
                      <span class=".hidden-xs">{{ doss.auteur.nom }}</span>
                  </td>
                  <td>
                      {{ doss.date }}
                  </td>
                  <td>
a470afda   Geoffrey PREUD'HOMME   Simplification de...
34
                      <button type="button" class="btn btn-default" ng-show="session.membre && implemented">
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
35
36
37
                          <span class="glyphicon glyphicon-eye-open" aria-hidden="true" ng-show="doss.abonne"></span>
                          <span class="glyphicon glyphicon-eye-close" aria-hidden="true" ng-hide="doss.abonne"></span>
                      </button>
a470afda   Geoffrey PREUD'HOMME   Simplification de...
38
                      <button type="button" class="btn btn-danger" ng-show="mine(doss)" ng-click="delDoss($index)">
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
39
40
41
42
                          <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                      </button>
                  </td>
              </tr>
a470afda   Geoffrey PREUD'HOMME   Simplification de...
43
              <tr ng-show="session.membre">
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
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
72
73
74
75
                  <form>
                      <td class="form-group">
                          <label for="nvDossTitre">Nouveau dossier</label>
                          <input type="text" class="form-control" id="nvDossTitre" placeholder="Nom du dossier" ng-model="formDoss.titre" />
                      </td>
                      <td>
                      </td>
                      <td>
                      </td>
                      <td>
                          <button type="submit" class="btn btn-primary" ng-class="{disabled: !formDoss.titre}" ng-click="addDoss()">
                              <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
                          </button>
                      </td>
                  </form>
              </tr>
              <tr ng-repeat="conv in convs">
                  <td>
                      <a href="/forum/conv/{{ conv._id }}">
                          <span class="glyphicon glyphicon-th-list" aria-hidden="true"></span>
                          {{ conv.titre }}
                      </a>
                      <span class="badge" ng-hide="conv.new">{{ conv.new }}</span>
                  </td>
                  <td>
                      <span class=".visible-xs">{{ conv.auteur.login }}</span>
                      <span class=".hidden-xs">{{ conv.auteur.nom }}</span>
                  </td>
                  <td>
                      {{ conv.date }}
                  </td>
                  <td>
a470afda   Geoffrey PREUD'HOMME   Simplification de...
76
                      <button type="button" class="btn btn-default" ng-show="session.membre && implemented">
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
77
78
79
                          <span class="glyphicon glyphicon-eye-open" aria-hidden="true" ng-show="conv.abonne"></span>
                          <span class="glyphicon glyphicon-eye-close" aria-hidden="true" ng-hide="conv.abonne"></span>
                      </button>
a470afda   Geoffrey PREUD'HOMME   Simplification de...
80
                      <button type="button" class="btn btn-danger" ng-show="mine(conv)" ng-click="delConv($index)">
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
81
82
83
84
                          <span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
                      </button>
                  </td>
              </tr>
a470afda   Geoffrey PREUD'HOMME   Simplification de...
85
              <tr ng-show="session.membre">
33dce699   Geoffrey PREUD'HOMME   Redesign du forum
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
                  <form>
                      <td class="form-group">
                          <label for="nvConvTitre">Nouvelle conversation</label>
                          <input type="text" class="form-control" id="nvConvTitre" placeholder="Nom de la conversation" ng-model="formConv.titre" />
                      </td>
                      <td>
                      </td>
                      <td>
                      </td>
                      <td>
                          <button type="submit" class="btn btn-primary" ng-class="{disabled: !formConv.titre}" ng-click="addConv()">
                              <span class="glyphicon glyphicon-plus" aria-hidden="true"></span>
                          </button>
                      </td>
                  </form>
              </tr>
          </tbody>
      </table>
61d4f326   Geoffrey PREUD'HOMME   Gestion des dossiers
104
      <!-- <nav>
12162cc1   Geoffrey PREUD'HOMME   Liste de conversa...
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
          <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
122
      </nav> -->
f22cd7f3   Geoffrey PREUD'HOMME   Système de messag...
123
  </div>