update
This commit is contained in:
parent
5a161de43a
commit
2fbcad0ba3
@ -8,6 +8,7 @@
|
|||||||
|
|
||||||
<link href="/css/app.css" rel="stylesheet">
|
<link href="/css/app.css" rel="stylesheet">
|
||||||
<link href="/css/chosen.min.css" rel="stylesheet">
|
<link href="/css/chosen.min.css" rel="stylesheet">
|
||||||
|
<link href="/css/frontend.css" rel="stylesheet">
|
||||||
<link href="/css/game.css" rel="stylesheet" type="text/css"/>
|
<link href="/css/game.css" rel="stylesheet" type="text/css"/>
|
||||||
<link href="/css/image-picker.css" rel="stylesheet" type="text/css"/>
|
<link href="/css/image-picker.css" rel="stylesheet" type="text/css"/>
|
||||||
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
|
||||||
|
@ -57,9 +57,6 @@
|
|||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@else
|
|
||||||
|
|
||||||
blabla LOL
|
|
||||||
|
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@ -1,14 +1,6 @@
|
|||||||
@extends('app')
|
@extends('app')
|
||||||
@section('content')
|
@section('content')
|
||||||
|
|
||||||
<nav>
|
|
||||||
<form onsubmit="rechercherReferent()">
|
|
||||||
<div class="row divRecherche">
|
|
||||||
<input name="ref" id="ref" placeholder="Rechercher un référent" type="text">
|
|
||||||
</div>
|
|
||||||
</form>
|
|
||||||
</nav>
|
|
||||||
|
|
||||||
@if ($referents != [])
|
@if ($referents != [])
|
||||||
|
|
||||||
<nav>
|
<nav>
|
||||||
@ -21,9 +13,11 @@
|
|||||||
@foreach ($referents as $referent)
|
@foreach ($referents as $referent)
|
||||||
|
|
||||||
|
|
||||||
<div class="referent" style="background-image:url('{{ $ref -> image }}')">
|
<a href="/referents/{{$referent->id}}/games">
|
||||||
<div class="infos">{{ $referent -> firstname }} {{ $referent -> lastname }}</div>
|
<div class="referent" style="background-image:url('{{ $referent -> image }}')">
|
||||||
</div>
|
<div class="infos">{{ $referent -> firstname }} {{ $referent -> lastname }}</div>
|
||||||
|
</div>
|
||||||
|
</a>
|
||||||
|
|
||||||
|
|
||||||
@endforeach
|
@endforeach
|
||||||
@ -35,7 +29,7 @@
|
|||||||
$.getJSON("searchRef/" + q, function(data) {
|
$.getJSON("searchRef/" + q, function(data) {
|
||||||
$("#referents").empty();
|
$("#referents").empty();
|
||||||
$.each(data.query.search, function(i,item){
|
$.each(data.query.search, function(i,item){
|
||||||
$("#referents").append('<div class="referent" style="background-image:url('4.jpg')"><div class="infos">'+ item.firstname +'</div></div>');
|
$("#referents").append('<div class="referent" style="background-image:url(\'4.jpg\')"><div class="infos">'+ item.firstname +'</div></div>');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user