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 ) {
|
||||
data.forEach( function(el) {
|
||||
$("#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('<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>');
|
||||
})
|
||||
}, "json" )
|
||||
|
@ -14,6 +14,8 @@
|
||||
</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 -->
|
||||
@ -27,6 +29,7 @@
|
||||
@endforeach
|
||||
</ol>
|
||||
|
||||
|
||||
<!-- Parametres des images -->
|
||||
<div class="carousel-inner" role="listbox">
|
||||
@foreach ($referent as $ref)
|
||||
@ -41,7 +44,7 @@
|
||||
</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>
|
||||
@ -52,6 +55,12 @@
|
||||
<span class="sr-only">Suivant</span>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
|
||||
blabla LOL
|
||||
|
||||
@endif
|
||||
|
||||
<script type="text/javascript">
|
||||
document.oncontextmenu = new Function("return false");
|
||||
|
@ -39,11 +39,13 @@
|
||||
<div class="col-md-9">
|
||||
|
||||
|
||||
|
||||
<ul class="nav nav-tabs">
|
||||
<li role="presentation" class="active"><a href="#">Ma sélection</a></li>
|
||||
<li role="presentation"><a href="#">Ajouter des images</a></li>
|
||||
</ul>
|
||||
<div class="panel panel-default">
|
||||
<ul class="nav nav-tabs">
|
||||
<li role="presentation" class="active"><a href="#">Ma sélection</a></li>
|
||||
<li role="presentation"><a href="#">Ajouter des images</a></li>
|
||||
</ul>
|
||||
<br><br><br><br>
|
||||
</div>
|
||||
|
||||
<br><br><br>
|
||||
|
||||
@ -56,6 +58,11 @@
|
||||
<div class="panel-body" id="oeuvrePic">
|
||||
|
||||
<!-- // 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>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user