Commit 1f9d0f75 authored by Unknown's avatar Unknown
Browse files

Galerie adapte

parent 261d084a
# Cache and logs (Symfony2)
/app/cache/*
/app/logs/*
!app/cache/.gitkeep
!app/logs/.gitkeep
# Email spool folder
/app/spool/*
# Cache, session files and logs (Symfony3)
/var/cache/*
/var/logs/*
/var/sessions/*
!var/cache/.gitkeep
!var/logs/.gitkeep
!var/sessions/.gitkeep
# Parameters
/app/config/parameters.yml
/app/config/parameters.ini
# Managed by Composer
/app/bootstrap.php.cache
/var/bootstrap.php.cache
/bin/*
!bin/console
!bin/symfony_requirements
/vendor/
# Assets and user uploads
/web/bundles/
/web/uploads/
# PHPUnit
/app/phpunit.xml
/phpunit.xml
# Build data
/build/
# Composer PHAR
/composer.phar
# Backup entities generated with doctrine:generate:entities command
**/Entity/*~
{% extends 'base.html.twig' %}
{% block stylesheets %}
<link rel="stylesheet" href="{{ asset('css/gallery.css') }}">
{{ parent() }}
{% endblock %}
{% block main %}
<body>
<div class="events">
<div class="events-centerer">
<img src="{{ asset ('img/1.jpg') }}">
</div>
</div>
</body>
<body>
<div class="events">
<div class="events-centerer">
<img src="{{ asset ('img/1.jpg') }}">
</div>
</div>
</body>
<body>
<div class="events" style="margin-bottom:4.8%">
<div class="events-centerer">
<img src="{{ asset ('img/1.jpg') }}">
</div>
</div>
</body>
{% endblock %}
{% block footer %}
{% endblock %}
......@@ -9,152 +9,151 @@
{% block main%}
<body>
<div class="my-gallery" itemscope itemtype="http://schema.org/ImageGallery">
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/1.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/1.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/3.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/3.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/4.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/4.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/5.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/5.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/6.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/6.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/1.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/1.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/3.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/3.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/4.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/4.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/5.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/5.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/6.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/6.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<!--<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>
<figure class="wrapper" itemscope itemtype="http://schema.org/ImageObject">
<a href="{{ asset ('img/2.jpg') }}" data-size=1620x1080>
<img src="{{ asset ('img/2.jpg') }}" itemprop="thumbnail" alt="Centrale Num" class="preserve"/>
</a>
</figure>-->
</div>
<!-- Root element of PhotoSwipe. Must have class pswp. -->
......@@ -232,6 +231,7 @@
<script src="{{ asset('photoswipe/photoswipe-ui-default.min.js') }}"></script>
<script src="{{ asset('js/jquery.min.js') }}"></script>
<script src="{{ asset('js/lunch.photoswipe.js') }}"></script>
<script src="{{ asset('photoswipe/jquery.jscroll.js') }}"></script>
<script type="text/javascript">
var mouseUsed = false;
$('body').on('mousedown', '.pswp__scroll-wrap', function(event) {
......@@ -242,5 +242,12 @@
event.stopPropagation();
})
</script>
<script type="text/javascript">
$('.scroll').jscroll({
autoTrigger: true,
loadingHtml: 'loading'
});
</script>
{% endblock %}
......@@ -9,12 +9,19 @@ use Symfony\Component\HttpFoundation\Request;
class GalerieController extends Controller
{
/**
* @Route("/galerie", name="galerie")
* @Route("/galerie/", name="galerie")
*/
public function indexAction()
{
// replace this example code with whatever you need
return $this->render('galerie/index.html.twig', [
'base_dir' => realpath($this->getParameter('kernel.root_dir').'/..').DIRECTORY_SEPARATOR,]);
return $this->render('galerie/new_page.html.twig');
}
/**
* @Route("/galerie/evenement", name="galerie-evenement")
*/
public function showAction()
{
return $this->render('galerie/photos.html.twig');
}
}
\ No newline at end of file
<?php return array (
0 => 9223372036854775807,
1 => 1485871786,
1 => 1487673338,
);
\ No newline at end of file
<?php return array (
0 => 9223372036854775807,
1 => 'a:1:{i:0;O:54:"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route":10:{s:10:"' . "\0" . '*' . "\0" . 'service";N;s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'path";s:8:"/galerie";s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'name";s:7:"galerie";s:56:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'requirements";a:0:{}s:51:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'options";a:0:{}s:52:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'defaults";a:0:{}s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'host";N;s:51:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'methods";a:0:{}s:51:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'schemes";a:0:{}s:53:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'condition";N;}}',
1 => 'a:1:{i:0;O:54:"Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route":10:{s:10:"' . "\0" . '*' . "\0" . 'service";N;s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'path";s:9:"/galerie/";s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'name";s:7:"galerie";s:56:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'requirements";a:0:{}s:51:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'options";a:0:{}s:52:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'defaults";a:0:{}s:48:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'host";N;s:51:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'methods";a:0:{}s:51:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'schemes";a:0:{}s:53:"' . "\0" . 'Symfony\\Component\\Routing\\Annotation\\Route' . "\0" . 'condition";N;}}',
);
\ No newline at end of file
<?php return array (
0 => 9223372036854775807,
1 => 1485871786,
1 => 1487673338,
);
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment