blabla admin

This commit is contained in:
Malibu 2015-02-17 23:19:06 +01:00
parent f90343a3ef
commit f1fb08a78f
2 changed files with 8 additions and 5 deletions

View File

@ -19,8 +19,7 @@
<td>Mail</td> <td>Mail</td>
<td>Lieu</td> <td>Lieu</td>
<td>Type</td> <td>Type</td>
<td>Se connecter</td> <td>Action</td>
<td>Supprimer</td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -39,8 +38,12 @@
@else @else
<td>Admin</td> <td>Admin</td>
@endif @endif
<td><a href="#" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-log-in"></span></a></td> <td>
<td><button type="submit" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a></td> @if ($user->droits == 0)
<a href="#" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-log-in"></span></a>
@endif
<button type="submit" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a>
</td>
</tr> </tr>
</form> </form>
@endif @endif

View File

@ -59,7 +59,7 @@
<div class="col-sm-offset-2 col-sm-10"> <div class="col-sm-offset-2 col-sm-10">
<div class="checkbox"> <div class="checkbox">
<label> <label>
<input name="isadmin" type="checkbox"> Est administrateur <input name="isadmin" checked="checked" type="checkbox"> Est administrateur
</label> </label>
</div> </div>
</div> </div>