This commit is contained in:
www 2015-03-06 18:19:00 +01:00
commit ad9a5fa165
7 changed files with 97 additions and 9 deletions

View File

@ -37,6 +37,6 @@ table tbody tr td /*corps du tableau */
.addRef
{
position: fixed;
left : 70%;
position: absolute;
left : 80%;
}

View File

@ -1,3 +1,8 @@
html
{
width:100%;
}
body
{
background-image:url("../pictures/homePic/fond.jpg");
@ -8,6 +13,6 @@ body
}
.iconGame
{
width: 10%;
height: 20%;
width: 105px;
height: 105px;
}

View File

@ -1,3 +1,8 @@
html
{
width: 100%;
}
body {
background-image:url("../pictures/homePic/fond.jpg");
background-attachment:fixed;
@ -9,16 +14,19 @@ body {
.back_home
{
background: white;
width : 10%;
width: 100px;
padding : 1%;
margin-bottom: 20px;
border-radius: 8px;
border: 1px solid silver;
}
.back_home img
{
width: 40%;
height: 40%;
float:left;
width: 20px;
height: 20px;
vertical-align:middle;
}
.divRecherche

Binary file not shown.

View File

@ -5,7 +5,7 @@
<div style="margin-top: 70px" class="container-fluid">
<div class="back_home">
<a href="/" > < Retour <img src="./pictures/pic/home.png" alt="Retour" /></a>
<a href="/" ><img src="/pictures/pic/home.png" alt="Retour" /> < Retour </a>
</div>
<div class="row">
<div class="col-md-8 col-md-offset-2">

View File

@ -0,0 +1,75 @@
@extends('app')
@section('content')
<link href="css/home.css" rel="stylesheet" type="text/css"/>
<link href="css/coverflow.css" rel="stylesheet" type="text/css"/>
<br>
<center>
<img style="height:auto; width:auto; max-width:100px;" alt="" src="./pictures/homePic/home.png">
<nav>
<form class="form-inline navbar">
<div class="row divRecherche">
<div class="col-xs-12">
<input class="form-control inpSear" placeholder="Rechercher un Référant" name="search" onchange="hideIcon(this);" type="text">
</div>
</div>
</form>
</nav>
@if ($referent != [])
<div style="margin-left: 200px, margin-right: 200px" id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<!-- indicateur, à incrementé en fonction du nombre d'images -->
<ol class="carousel-indicators">
@foreach ($referent as $ref)
@if ($ref -> id == $referent[0] -> id)
<li data-target="#carousel-example-generic" data-slide-to="{{ $ref -> id }}" class='active' ></li>
@else
<li data-target="#carousel-example-generic" data-slide-to="{{ $ref -> id }} "></li>
@endif
@endforeach
</ol>
<!-- Parametres des images -->
<div class="carousel-inner" role="listbox">
@foreach ($referent as $ref)
@if ($ref -> id == $referent[0] -> id)
<div class="item active">
@else
<div class="item">
@endif
<br>
<a href="/referents/vive.linux/games"><img class="imgRef" src="{{$ref -> image}}" width="300px" alt="{{ $ref -> name }}-Nom"></a>
<a href="/referents/vive.linux/games"><div class="well well-lg nomRef">{{$ref -> firstname}}, {{$ref -> lastname}}</div></a>
</div>
@endforeach
</div>
<!-- Controles -->
<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">Précédant</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">Suivant</span>
</a>
</div>
</div>
@else
blabla LOL
@endif
<script type="text/javascript">
document.oncontextmenu = new Function("return false");
function hideIcon(self) {
self.style.backgroundImage = 'none';
}
</script>
</center>
@endsection

View File

@ -40,7 +40,7 @@
<div class="item">
@endif
<br>
<a href="/referents/vive.linux/games"><img class="imgRef" src="{{$ref -> image}}" width="300px" alt="{{ $ref -> name }}-Nom"></a>
<a href="/referents/vive.linux/games"><img class="imgRef" src="{{$ref -> image}}" alt="{{ $ref -> name }}-Nom"></a>
<a href="/referents/vive.linux/games"><div class="well well-lg nomRef">{{$ref -> firstname}}, {{$ref -> lastname}}</div></a>
</div>
@endforeach