2015-02-12 12:56:47 +00:00
|
|
|
@extends('app')
|
|
|
|
@section('content')
|
2015-02-19 15:45:23 +00:00
|
|
|
<link href="css/home.css" rel="stylesheet" type="text/css"/>
|
|
|
|
<br>
|
2015-02-16 01:41:12 +00:00
|
|
|
<center>
|
2015-02-19 15:56:05 +00:00
|
|
|
<img style="height:auto; width:auto; max-width:100px;" alt="" src="./pictures/homePic/home.png">
|
2015-02-18 17:51:07 +00:00
|
|
|
<nav>
|
2015-02-19 15:45:23 +00:00
|
|
|
<form class="form-inline navbar">
|
2015-02-12 17:58:03 +00:00
|
|
|
<div class="form-group">
|
2015-02-24 10:34:35 +00:00
|
|
|
<img alt="" class="imgSearch" src="./pictures/homePic/search.png">
|
2015-02-12 17:58:03 +00:00
|
|
|
<div class="input-group">
|
2015-02-20 14:00:09 +00:00
|
|
|
</span><input type="text" class="form-control" placeholder="Rechercher un Référant">
|
2015-02-12 17:58:03 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
2015-02-18 17:42:00 +00:00
|
|
|
</nav>
|
2015-02-12 17:58:03 +00:00
|
|
|
|
2015-02-19 16:07:41 +00:00
|
|
|
|
|
|
|
@if ($referent != [])
|
2015-02-12 17:58:03 +00:00
|
|
|
<div style="margin-left: 200px, margin-right: 200px" id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
2015-02-16 01:41:12 +00:00
|
|
|
|
|
|
|
<!-- indicateur, à incrementé en fonction du nombre d'images -->
|
2015-02-12 17:58:03 +00:00
|
|
|
<ol class="carousel-indicators">
|
2015-02-16 01:41:12 +00:00
|
|
|
@foreach ($referent as $ref)
|
2015-02-16 10:24:12 +00:00
|
|
|
@if ($ref -> id == $referent[0] -> id)
|
|
|
|
<li data-target="#carousel-example-generic" data-slide-to="{{ $ref -> id }}" class='active' ></li>
|
2015-02-16 01:41:12 +00:00
|
|
|
@else
|
2015-02-16 10:24:12 +00:00
|
|
|
<li data-target="#carousel-example-generic" data-slide-to="{{ $ref -> id }} "></li>
|
2015-02-16 01:41:12 +00:00
|
|
|
@endif
|
|
|
|
@endforeach
|
2015-02-12 17:58:03 +00:00
|
|
|
</ol>
|
|
|
|
|
2015-02-19 16:07:41 +00:00
|
|
|
|
2015-02-16 01:41:12 +00:00
|
|
|
<!-- Parametres des images -->
|
|
|
|
<div class="carousel-inner" role="listbox">
|
|
|
|
@foreach ($referent as $ref)
|
2015-02-16 10:24:12 +00:00
|
|
|
@if ($ref -> id == $referent[0] -> id)
|
2015-02-16 01:41:12 +00:00
|
|
|
<div class="item active">
|
|
|
|
@else
|
|
|
|
<div class="item">
|
|
|
|
@endif
|
2015-02-16 02:34:48 +00:00
|
|
|
<br>
|
2015-02-19 15:56:05 +00:00
|
|
|
<a href="/referents/vive.linux/games"><img class="imgRef" src="{{$ref -> image}}" width="300px" alt="{{ $ref -> name }}-Nom"></a>
|
2015-02-19 15:50:00 +00:00
|
|
|
<a href="/referents/vive.linux/games"><div class="well well-lg ">{{$ref -> firstname}}, {{$ref -> lastname}}</div></a>
|
2015-02-19 16:29:01 +00:00
|
|
|
</div>
|
2015-02-16 01:41:12 +00:00
|
|
|
@endforeach
|
|
|
|
</div>
|
2015-02-19 16:07:41 +00:00
|
|
|
|
2015-02-16 01:41:12 +00:00
|
|
|
<!-- 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>
|
2015-02-12 12:56:47 +00:00
|
|
|
</div>
|
2015-02-19 16:07:41 +00:00
|
|
|
</div>
|
|
|
|
@else
|
|
|
|
|
|
|
|
blabla LOL
|
|
|
|
|
|
|
|
@endif
|
2015-02-12 17:58:03 +00:00
|
|
|
|
2015-02-16 01:55:24 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
document.oncontextmenu = new Function("return false");
|
|
|
|
</script>
|
2015-02-12 17:58:03 +00:00
|
|
|
</center>
|
2015-02-12 12:56:47 +00:00
|
|
|
@endsection
|