template login/home
This commit is contained in:
parent
a6815ad3ea
commit
e28cd6d653
25
SRC/app/Http/Controllers/GameController.php
Normal file
25
SRC/app/Http/Controllers/GameController.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
class GameController 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('home');
|
||||
}
|
||||
|
||||
}
|
25
SRC/app/Http/Controllers/LoginController.php
Normal file
25
SRC/app/Http/Controllers/LoginController.php
Normal file
@ -0,0 +1,25 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
class LoginController 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('auth.login');
|
||||
}
|
||||
|
||||
}
|
@ -11,9 +11,11 @@
|
||||
|
|
||||
*/
|
||||
|
||||
Route::get('/', 'WelcomeController@index');
|
||||
Route::get('/', 'GameController@index');
|
||||
|
||||
Route::get('home', 'HomeController@index');
|
||||
Route::get('login', 'LoginController@index');
|
||||
|
||||
//Route::get('home', 'HomeController@index');
|
||||
|
||||
Route::controllers([
|
||||
'auth' => 'Auth\AuthController',
|
||||
|
@ -13,7 +13,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'debug' => env('APP_DEBUG'),
|
||||
'debug' => True,
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
0
SRC/public/.htaccess
Normal file → Executable file
0
SRC/public/.htaccess
Normal file → Executable file
0
SRC/public/css/app.css
Normal file → Executable file
0
SRC/public/css/app.css
Normal file → Executable file
0
SRC/public/favicon.ico
Normal file → Executable file
0
SRC/public/favicon.ico
Normal file → Executable file
0
SRC/public/index.php
Normal file → Executable file
0
SRC/public/index.php
Normal file → Executable file
BIN
SRC/public/pictures/1.jpg
Executable file
BIN
SRC/public/pictures/1.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 311 KiB |
BIN
SRC/public/pictures/2.jpg
Executable file
BIN
SRC/public/pictures/2.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 219 KiB |
BIN
SRC/public/pictures/3.jpg
Executable file
BIN
SRC/public/pictures/3.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 79 KiB |
BIN
SRC/public/pictures/4.jpg
Executable file
BIN
SRC/public/pictures/4.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 128 KiB |
BIN
SRC/public/pictures/5.jpg
Executable file
BIN
SRC/public/pictures/5.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 157 KiB |
BIN
SRC/public/pictures/6.jpg
Executable file
BIN
SRC/public/pictures/6.jpg
Executable file
Binary file not shown.
After Width: | Height: | Size: 34 KiB |
0
SRC/public/robots.txt
Normal file → Executable file
0
SRC/public/robots.txt
Normal file → Executable file
@ -19,39 +19,6 @@
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-default">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header">
|
||||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
|
||||
<span class="sr-only">Toggle Navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="#">Laravel</a>
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="/">Home</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
@if (Auth::guest())
|
||||
<li><a href="/auth/login">Login</a></li>
|
||||
<li><a href="/auth/register">Register</a></li>
|
||||
@else
|
||||
<li class="dropdown">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">{{ Auth::user()->name }} <span class="caret"></span></a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li><a href="/auth/logout">Logout</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
@endif
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
@yield('content')
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<div class="container-fluid">
|
||||
<div style="margin-top: 70px" class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
<div class="panel panel-default">
|
||||
|
@ -1,17 +1,56 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">Home</div>
|
||||
|
||||
<div class="panel-body">
|
||||
You are logged in!
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<br>
|
||||
<center><h1>Bienvenue!</h1>
|
||||
<br>
|
||||
<form class="form-inline">
|
||||
<div class="form-group">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Search">
|
||||
</div>
|
||||
</div>
|
||||
<button type="submit" class="btn btn-primary">Search</button>
|
||||
</form>
|
||||
<br>
|
||||
<br>
|
||||
|
||||
<div style="margin-left: 200px, margin-right: 200px" id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
||||
<!-- Indicators -->
|
||||
<ol class="carousel-indicators">
|
||||
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
|
||||
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
|
||||
</ol>
|
||||
|
||||
<!-- Wrapper for slides -->
|
||||
<div class="carousel-inner" role="listbox">
|
||||
<div class="item active">
|
||||
<img src="./pictures/1.jpg" width="35%" alt="indians">
|
||||
<div class="carousel-caption">
|
||||
Ceci est une image
|
||||
</div>
|
||||
</div>
|
||||
<div class="item">
|
||||
<img src="./pictures/2.jpg" width="35%" alt="others indians">
|
||||
<div class="carousel-caption">
|
||||
Ceci est une image différente de l'autre
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Controls -->
|
||||
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
|
||||
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
||||
<span class="sr-only">Previous</span>
|
||||
</a>
|
||||
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
|
||||
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
|
||||
<span class="sr-only">Next</span>
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="well well-lg">Information du référent</div>
|
||||
|
||||
</center>
|
||||
@endsection
|
||||
|
0
SRC/storage/app/.gitignore
vendored
Normal file → Executable file
0
SRC/storage/app/.gitignore
vendored
Normal file → Executable file
0
SRC/storage/framework/cache/.gitignore
vendored
Normal file → Executable file
0
SRC/storage/framework/cache/.gitignore
vendored
Normal file → Executable file
Reference in New Issue
Block a user