Merge branch 'master' of https://github.com/matthieupenchenat81/ModuleWeb
This commit is contained in:
commit
6490543c10
@ -38,7 +38,9 @@ CREATE TABLE niveau (
|
||||
|
||||
CREATE TABLE users (
|
||||
id INT NOT NULL AUTO_INCREMENT,
|
||||
name VARCHAR(50),
|
||||
firstname VARCHAR(50),
|
||||
lastnanme VARCHAR(50),
|
||||
city VARCHAR(50),
|
||||
password VARCHAR(255),
|
||||
email VARCHAR(50),
|
||||
image VARCHAR(255),
|
||||
|
@ -9,25 +9,25 @@
|
||||
|
||||
<div class="col-md-8">
|
||||
<button style="float: right" type="button" class="btn btn-primary" data-toggle="modal" data-target="#myModal">Ajouter un référent</button>
|
||||
<table class="table table-hover">
|
||||
<br><br>
|
||||
<table class="table table-hover table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<tr style="background-color: #F7BE81">
|
||||
<td>Nom</td>
|
||||
<td>Mail</td>
|
||||
<td>Lieu</td>
|
||||
<td>Action</td>
|
||||
<td>Se connecter</td>
|
||||
<td>Supprimer</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($users as $user)
|
||||
<tr>
|
||||
<tr style="background-color: #F6E3CE">
|
||||
<td>{{$user->name}}</td>
|
||||
<td>{{$user->email}}</td>
|
||||
<td>Toulouse</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-default btn-sm">Se connecter</button>
|
||||
<button type="button" class="btn btn-warning btn-sm">Supprimer</button>
|
||||
</td>
|
||||
<td><a href="#" class="btn btn-sm btn-success"><span class="glyphicon glyphicon-ok"></span></a></td>
|
||||
<td><a href="#" class="btn btn-sm btn-danger"><span class="glyphicon glyphicon-trash"></span></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
@ -89,4 +89,4 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@endsection
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user