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