modified: SRC/public/js/getListeOeuvre.js
modified: SRC/resources/views/home.blade.php modified: SRC/resources/views/referent.blade.php
This commit is contained in:
parent
465098a463
commit
f689ecef97
@ -5,9 +5,8 @@ $(document).ready( function() {
|
|||||||
$.get(url, function( data ) {
|
$.get(url, function( data ) {
|
||||||
data.forEach( function(el) {
|
data.forEach( function(el) {
|
||||||
$("#oeuvrePic").append('<div class="col-xs-4 col-md-3">')
|
$("#oeuvrePic").append('<div class="col-xs-4 col-md-3">')
|
||||||
.append('<div class="col-xs-4 col-md-3">')
|
|
||||||
.append('<a href="#" class="thumbnail">')
|
.append('<a href="#" class="thumbnail">')
|
||||||
.append('<img src="http://www.augustins.org/documents/10180/156407/' + el.urlPhoto + '">')
|
.append('<img width="50px" src="http://www.augustins.org/documents/10180/156407/' + el.urlPhoto + '"/>')
|
||||||
.append('</a></div>');
|
.append('</a></div>');
|
||||||
})
|
})
|
||||||
}, "json" )
|
}, "json" )
|
||||||
|
@ -14,6 +14,8 @@
|
|||||||
</form>
|
</form>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
|
|
||||||
|
@if ($referent != [])
|
||||||
<div style="margin-left: 200px, margin-right: 200px" id="carousel-example-generic" class="carousel slide" data-ride="carousel">
|
<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 -->
|
<!-- indicateur, à incrementé en fonction du nombre d'images -->
|
||||||
@ -27,6 +29,7 @@
|
|||||||
@endforeach
|
@endforeach
|
||||||
</ol>
|
</ol>
|
||||||
|
|
||||||
|
|
||||||
<!-- Parametres des images -->
|
<!-- Parametres des images -->
|
||||||
<div class="carousel-inner" role="listbox">
|
<div class="carousel-inner" role="listbox">
|
||||||
@foreach ($referent as $ref)
|
@foreach ($referent as $ref)
|
||||||
@ -41,7 +44,7 @@
|
|||||||
</div>
|
</div>
|
||||||
@endforeach
|
@endforeach
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<!-- Controles -->
|
<!-- Controles -->
|
||||||
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
|
<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="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
|
||||||
@ -52,6 +55,12 @@
|
|||||||
<span class="sr-only">Suivant</span>
|
<span class="sr-only">Suivant</span>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
@else
|
||||||
|
|
||||||
|
blabla LOL
|
||||||
|
|
||||||
|
@endif
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
document.oncontextmenu = new Function("return false");
|
document.oncontextmenu = new Function("return false");
|
||||||
|
@ -39,11 +39,13 @@
|
|||||||
<div class="col-md-9">
|
<div class="col-md-9">
|
||||||
|
|
||||||
|
|
||||||
|
<div class="panel panel-default">
|
||||||
<ul class="nav nav-tabs">
|
<ul class="nav nav-tabs">
|
||||||
<li role="presentation" class="active"><a href="#">Ma sélection</a></li>
|
<li role="presentation" class="active"><a href="#">Ma sélection</a></li>
|
||||||
<li role="presentation"><a href="#">Ajouter des images</a></li>
|
<li role="presentation"><a href="#">Ajouter des images</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
|
<br><br><br><br>
|
||||||
|
</div>
|
||||||
|
|
||||||
<br><br><br>
|
<br><br><br>
|
||||||
|
|
||||||
@ -56,6 +58,11 @@
|
|||||||
<div class="panel-body" id="oeuvrePic">
|
<div class="panel-body" id="oeuvrePic">
|
||||||
|
|
||||||
<!-- // TODO -->
|
<!-- // TODO -->
|
||||||
|
<div class="col-xs-4 col-md-3">
|
||||||
|
<a href="#" class="thumbnail">
|
||||||
|
<img width="50px" src="http://www.augustins.org/documents/10180/156407/1"/>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
|
||||||
<button style="float: right" class="btn btn-primary">Enregistrer</button>
|
<button style="float: right" class="btn btn-primary">Enregistrer</button>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user