move models & view referent
This commit is contained in:
parent
fe746d6bbb
commit
5fbb41a461
@ -1,6 +1,6 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use App\User;
|
||||
use App\Models\User;
|
||||
use Input;
|
||||
use Auth;
|
||||
use Session;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use App\User;
|
||||
use App\Models\User;
|
||||
|
||||
class GameController extends Controller {
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<?php namespace App\Http\Controllers;
|
||||
|
||||
use App\User;
|
||||
use App\Models\User;
|
||||
use Input;
|
||||
use Request;
|
||||
use App\ListeOeuvre;
|
||||
use App\AssoListeAOeuvre;
|
||||
use App\Models\ListeOeuvre;
|
||||
use App\Models\AssoListeAOeuvre;
|
||||
use Response;
|
||||
|
||||
|
||||
|
10
SRC/app/Models/Auteur.php
Normal file
10
SRC/app/Models/Auteur.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Auteur extends Model {
|
||||
|
||||
protected $table = 'auteur';
|
||||
|
||||
public $timestamps = false;
|
||||
}
|
10
SRC/app/Models/Datation.php
Normal file
10
SRC/app/Models/Datation.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Datation extends Model {
|
||||
|
||||
protected $table = 'datation';
|
||||
|
||||
public $timestamps = false;
|
||||
}
|
10
SRC/app/Models/Description.php
Normal file
10
SRC/app/Models/Description.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Description extends Model {
|
||||
|
||||
protected $table = 'description';
|
||||
|
||||
public $timestamps = false;
|
||||
}
|
10
SRC/app/Models/Designation.php
Normal file
10
SRC/app/Models/Designation.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Designation extends Model {
|
||||
|
||||
protected $table = 'designation';
|
||||
|
||||
public $timestamps = false;
|
||||
}
|
10
SRC/app/Models/Domaine.php
Normal file
10
SRC/app/Models/Domaine.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Domaine extends Model {
|
||||
|
||||
protected $table = 'domaine';
|
||||
|
||||
public $timestamps = false;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<?php namespace App;
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
@ -1,4 +1,4 @@
|
||||
<?php namespace App;
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Auth;
|
||||
@ -11,12 +11,12 @@ class ListeOeuvre extends Model {
|
||||
|
||||
public function oeuvres()
|
||||
{
|
||||
return $this->belongsToMany('App\Oeuvre', 'assolisteaoeuvre');
|
||||
return $this->belongsToMany('App\Models\Oeuvre', 'assolisteaoeuvre');
|
||||
}
|
||||
|
||||
public function jeux()
|
||||
{
|
||||
return $this->belongsToMany('App\Jeu', 'assolisteajeu');
|
||||
return $this->belongsToMany('App\Models\Jeu', 'assolisteajeu');
|
||||
}
|
||||
|
||||
public function scopeCurrentUser($query)
|
10
SRC/app/Models/Matiere.php
Normal file
10
SRC/app/Models/Matiere.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Matiere extends Model {
|
||||
|
||||
protected $table = 'matiere';
|
||||
|
||||
public $timestamps = false;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<?php namespace App;
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
10
SRC/app/Models/Technique.php
Normal file
10
SRC/app/Models/Technique.php
Normal file
@ -0,0 +1,10 @@
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Technique extends Model {
|
||||
|
||||
protected $table = 'technique';
|
||||
|
||||
public $timestamps = false;
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
<?php namespace App;
|
||||
<?php namespace App\Models;
|
||||
|
||||
use Illuminate\Auth\Authenticatable;
|
||||
use Illuminate\Database\Eloquent\Model;
|
@ -13,7 +13,7 @@
|
||||
},
|
||||
"autoload": {
|
||||
"classmap": [
|
||||
"database"
|
||||
"database", "app/Models"
|
||||
],
|
||||
"psr-4": {
|
||||
"App\\": "app/"
|
||||
|
22
SRC/composer.lock
generated
22
SRC/composer.lock
generated
@ -410,16 +410,16 @@
|
||||
},
|
||||
{
|
||||
"name": "laravel/framework",
|
||||
"version": "v5.0.4",
|
||||
"version": "v5.0.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/laravel/framework.git",
|
||||
"reference": "b5eafda7dba3d1367a63095b83a068a73d32d97f"
|
||||
"reference": "b1aea041cbc0cd54563e2d3709a54a71eed57653"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/b5eafda7dba3d1367a63095b83a068a73d32d97f",
|
||||
"reference": "b5eafda7dba3d1367a63095b83a068a73d32d97f",
|
||||
"url": "https://api.github.com/repos/laravel/framework/zipball/b1aea041cbc0cd54563e2d3709a54a71eed57653",
|
||||
"reference": "b1aea041cbc0cd54563e2d3709a54a71eed57653",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -531,7 +531,7 @@
|
||||
"framework",
|
||||
"laravel"
|
||||
],
|
||||
"time": "2015-02-11 20:37:48"
|
||||
"time": "2015-02-13 19:10:59"
|
||||
},
|
||||
{
|
||||
"name": "league/flysystem",
|
||||
@ -863,16 +863,16 @@
|
||||
},
|
||||
{
|
||||
"name": "psy/psysh",
|
||||
"version": "v0.3.4",
|
||||
"version": "v0.3.5",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/bobthecow/psysh.git",
|
||||
"reference": "218ea9e49c9fe21e28fce6cf77f22615af92daef"
|
||||
"reference": "2ce0e8f3020fd292c2ad2a496c5d83939823f642"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/218ea9e49c9fe21e28fce6cf77f22615af92daef",
|
||||
"reference": "218ea9e49c9fe21e28fce6cf77f22615af92daef",
|
||||
"url": "https://api.github.com/repos/bobthecow/psysh/zipball/2ce0e8f3020fd292c2ad2a496c5d83939823f642",
|
||||
"reference": "2ce0e8f3020fd292c2ad2a496c5d83939823f642",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@ -922,14 +922,14 @@
|
||||
}
|
||||
],
|
||||
"description": "An interactive shell for modern PHP.",
|
||||
"homepage": "https://github.com/bobthecow/psysh",
|
||||
"homepage": "http://psysh.org",
|
||||
"keywords": [
|
||||
"REPL",
|
||||
"console",
|
||||
"interactive",
|
||||
"shell"
|
||||
],
|
||||
"time": "2015-02-12 05:21:32"
|
||||
"time": "2015-02-12 19:35:52"
|
||||
},
|
||||
{
|
||||
"name": "swiftmailer/swiftmailer",
|
||||
|
@ -28,7 +28,7 @@ return [
|
||||
|
|
||||
*/
|
||||
|
||||
'model' => 'App\User',
|
||||
'model' => 'App\Models\User',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
|
@ -1,6 +1,7 @@
|
||||
@extends('app')
|
||||
|
||||
@section('content')
|
||||
<link href="css/home.css" rel="stylesheet" type="text/css"/>
|
||||
<div style="margin-top: 70px" class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col-md-8 col-md-offset-2">
|
||||
|
@ -7,9 +7,9 @@
|
||||
<nav>
|
||||
<form class="form-inline navbar">
|
||||
<div class="form-group">
|
||||
<img alt="" src="./pictures/homePic/search.png">
|
||||
<img alt="" height="35px" src="./pictures/homePic/search.png">
|
||||
<div class="input-group">
|
||||
<input type="text" class="form-control" placeholder="Rechercher un Référant">
|
||||
</span><input type="text" class="form-control" placeholder="Rechercher un Référant">
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
Reference in New Issue
Block a user