states
This commit is contained in:
parent
0480d71aec
commit
ba61a1b427
25
SRC/app/Http/Controllers/AdminController.php
Normal file
25
SRC/app/Http/Controllers/AdminController.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
class AdminController extends Controller {
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the application dashboard to the user.
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('admin');
|
||||
}
|
||||
|
||||
}
|
25
SRC/app/Http/Controllers/ReferentController.php
Normal file
25
SRC/app/Http/Controllers/ReferentController.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
class ReferentController extends Controller {
|
||||
|
||||
/**
|
||||
* Create a new controller instance.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->middleware('guest');
|
||||
}
|
||||
|
||||
/**
|
||||
* Show the application dashboard to the user.
|
||||
*
|
||||
* @return Response
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
return view('referent');
|
||||
}
|
||||
|
||||
}
|
@ -15,7 +15,9 @@ Route::get('/', 'GameController@index');
|
||||
|
||||
Route::get('login', 'LoginController@index');
|
||||
|
||||
//Route::get('home', 'HomeController@index');
|
||||
Route::get('referent', 'ReferentController@index');
|
||||
|
||||
Route::get('admin', 'AdminController@index');
|
||||
|
||||
Route::controllers([
|
||||
'auth' => 'Auth\AuthController',
|
||||
|
64
SRC/resources/views/admin.blade.php
Normal file
64
SRC/resources/views/admin.blade.php
Normal file
@ -0,0 +1,64 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<br>
|
||||
<center><h1>Bienvenue dans l'espace d'administration!</h1>
|
||||
<br>
|
||||
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-8">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<td>Nom</td>
|
||||
<td>Mail</td>
|
||||
<td>Lieu</td>
|
||||
<td>Action</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>Quentin Rouland</td>
|
||||
<td>quentin.rouland@free.fr</td>
|
||||
<td>Toulouse</td>
|
||||
<td>-- Action --</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quentin Rouland</td>
|
||||
<td>quentin.rouland@free.fr</td>
|
||||
<td>Toulouse</td>
|
||||
<td>-- Action --</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quentin Rouland</td>
|
||||
<td>quentin.rouland@free.fr</td>
|
||||
<td>Toulouse</td>
|
||||
<td>-- Action --</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quentin Rouland</td>
|
||||
<td>quentin.rouland@free.fr</td>
|
||||
<td>Toulouse</td>
|
||||
<td>-- Action --</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quentin Rouland</td>
|
||||
<td>quentin.rouland@free.fr</td>
|
||||
<td>Toulouse</td>
|
||||
<td>-- Action --</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Quentin Rouland</td>
|
||||
<td>quentin.rouland@free.fr</td>
|
||||
<td>Toulouse</td>
|
||||
<td>-- Action --</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="col-md-4">.col-md-4</div>
|
||||
</div>
|
||||
@endsection
|
9
SRC/resources/views/referent.blade.php
Normal file
9
SRC/resources/views/referent.blade.php
Normal file
@ -0,0 +1,9 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
|
||||
<br>
|
||||
<center><h1>Bienvenue dans l'espace référent!</h1>
|
||||
<br>
|
||||
|
||||
@endsection
|
Reference in New Issue
Block a user