update admin vue
This commit is contained in:
parent
6490543c10
commit
f64fd23032
@ -27,7 +27,9 @@ class UserTableSeeder extends Seeder {
|
||||
//DB::table('users')->truncate();
|
||||
|
||||
$user = array(
|
||||
'name' => 'admin',
|
||||
'firstname' => 'admin',
|
||||
'lastname' => 'admin',
|
||||
'city' => 'Montauban',
|
||||
'email' => 'admin@admin.com',
|
||||
'password' => Hash::make('admin'),
|
||||
'image' => '',
|
||||
@ -38,7 +40,9 @@ class UserTableSeeder extends Seeder {
|
||||
DB::table('users')->insert($user);
|
||||
|
||||
$user = array(
|
||||
'name' => 'ref',
|
||||
'lastname' => 'ref',
|
||||
'firstname' => 'ref',
|
||||
'city' => 'Toulouse',
|
||||
'email' => 'ref@ref.com',
|
||||
'password' => Hash::make('ref'),
|
||||
'image' => '',
|
||||
|
@ -14,6 +14,7 @@
|
||||
<thead>
|
||||
<tr style="background-color: #F7BE81">
|
||||
<td>Nom</td>
|
||||
<td>Prénom</td>
|
||||
<td>Mail</td>
|
||||
<td>Lieu</td>
|
||||
<td>Se connecter</td>
|
||||
@ -23,9 +24,10 @@
|
||||
<tbody>
|
||||
@foreach ($users as $user)
|
||||
<tr style="background-color: #F6E3CE">
|
||||
<td>{{$user->name}}</td>
|
||||
<td>{{$user->lastname}}</td>
|
||||
<td>{{$user->firstname}}</td>
|
||||
<td>{{$user->email}}</td>
|
||||
<td>Toulouse</td>
|
||||
<td>{{$user->city}}</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>
|
||||
|
Reference in New Issue
Block a user