new button connexion
This commit is contained in:
parent
4a5dbde1c9
commit
9da9e13241
@ -2,8 +2,6 @@
|
||||
|
||||
@section('content')
|
||||
|
||||
{{ Session::get('message') }}
|
||||
|
||||
<br>
|
||||
<div class="col-md-2"></div>
|
||||
|
||||
@ -14,10 +12,8 @@
|
||||
<thead>
|
||||
<tr style="background-color: #F7BE81">
|
||||
<td>Nom</td>
|
||||
<td>Prénom</td>
|
||||
<td>Mail</td>
|
||||
<td>Lieu</td>
|
||||
<td>Type utilisateur</td>
|
||||
<td>Se connecter</td>
|
||||
<td>Supprimer</td>
|
||||
</tr>
|
||||
@ -25,16 +21,10 @@
|
||||
<tbody>
|
||||
@foreach ($users as $user)
|
||||
<tr style="background-color: #F6E3CE">
|
||||
<td>{{$user->lastname}}</td>
|
||||
<td>{{$user->firstname}}</td>
|
||||
<td>{{$user->name}}</td>
|
||||
<td>{{$user->email}}</td>
|
||||
<td>{{$user->city}}</td>
|
||||
@if ($user->admin == 0)
|
||||
<td>Référent</td>
|
||||
@else
|
||||
<td>Admin</td>
|
||||
@endif
|
||||
<td><a href="#" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-ok"></span></a></td>
|
||||
<td>Toulouse</td>
|
||||
<td><a href="#" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-log-out"></span></a></td>
|
||||
<td><a href="#" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
@ -52,7 +42,6 @@
|
||||
<h4 class="modal-title" id="myModalLabel">Créer un nouvel adhérent</h4>
|
||||
</div>
|
||||
<form class="form-horizontal" method="POST" role="form" action="addUser">
|
||||
<input type="hidden" name="_token" value="{{{ csrf_token() }}}" />
|
||||
<div class="modal-body">
|
||||
<div class="form-group">
|
||||
<label for="firstname" class="col-sm-2 control-label">Prénom</label>
|
||||
@ -63,34 +52,27 @@
|
||||
<div class="form-group">
|
||||
<label for="lastname" class="col-sm-2 control-label">Nom</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="lastname" name="lastname" placeholder="Nom">
|
||||
<input type="text" class="form-control" id="lastname" placeholder="Nom">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email" class="col-sm-2 control-label">Email</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="email" class="form-control" id="email" name="email" placeholder="Email">
|
||||
<input type="email" class="form-control" id="email" placeholder="Email">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="city" class="col-sm-2 control-label">Ville</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="text" class="form-control" id="city" name="city" placeholder="Ville">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-sm-offset-2 col-sm-10">
|
||||
<div class="checkbox">
|
||||
<label>
|
||||
<input name="isadmin" type="checkbox"> Est administrateur
|
||||
</label>
|
||||
</div>
|
||||
<input type="text" class="form-control" id="city" placeholder="Ville">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Annuler</button>
|
||||
<button type="submit" class="btn btn-primary">Enregistrer</button>
|
||||
<button type="button" class="btn btn-primary">Enregistrer</button>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user