This commit is contained in:
Malibu 2015-02-12 20:00:23 +01:00
parent 0480d71aec
commit ba61a1b427
5 changed files with 126 additions and 1 deletions

View 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');
}
}

View 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');
}
}

View File

@ -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',

View 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

View File

@ -0,0 +1,9 @@
@extends('app')
@section('content')
<br>
<center><h1>Bienvenue dans l'espace référent!</h1>
<br>
@endsection