|
@@ -1,8 +1,27 @@
|
1
|
|
-<table class="table">
|
|
1
|
+<div style="text-align:right">
|
|
2
|
+ <button class="btn btn-primary" type="button" data-toggle="collapse" data-target="#addForm" aria-expanded="false" aria-controls="addForm">
|
|
3
|
+ Ajouter
|
|
4
|
+ </button>
|
|
5
|
+</div>
|
|
6
|
+
|
|
7
|
+<form class="collapse" id="addForm">
|
|
8
|
+ <div class="well">
|
|
9
|
+ <div class="form-group">
|
|
10
|
+ <label for="rang">Rang :</label>
|
|
11
|
+ <input type="number" class="form-control" />
|
|
12
|
+ </div>
|
|
13
|
+ <div class="form-group">
|
|
14
|
+ <label for="libelle">Libellé : </label>
|
|
15
|
+ <input type="text" class="form-control" id="libelle" placeholder="Libellé" />
|
|
16
|
+ </div>
|
|
17
|
+ </div>
|
|
18
|
+</form>
|
|
19
|
+
|
|
20
|
+<table class="table tablesorter table-striped" id="mainTable">
|
2
|
21
|
<thead>
|
3
|
22
|
<?php foreach ($data[0] as $key => $value) {
|
4
|
23
|
?>
|
5
|
|
- <th><?php echo $key; ?></th>
|
|
24
|
+ <th class="th-inner sortable both"><?php echo $key; ?></th>
|
6
|
25
|
<?php
|
7
|
26
|
}
|
8
|
27
|
?>
|