déploiement resources

This commit is contained in:
2021-04-14 14:22:24 +02:00
parent 0ae1e837e7
commit c8f6de919f
24 changed files with 837 additions and 379 deletions
@@ -6,6 +6,7 @@
{% block javascripts %}
{% if show_onpage_menu %}
{% do assets.add('theme://js/singlePageNav.min.js') %}
{% endif %}
{{ parent() }}
{% endblock %}
@@ -1,6 +1,6 @@
<div class="equipe"{{ page.header.class}}">
<div class="equipe {{ page.header.class}}">
{{ content|raw }}
@@ -49,21 +49,3 @@
</div>
<!--
<script>
// var .message = {{ personne.biographie }};
$(".bouton").click(function(event){
$("#modal .message").html();
$("#modal").addClass("open");
// $("#body").addClass("grey");
});
$("#modal .mask, #modal a.close").click(function(){
$("#modal").removeClass("open");
return false;
});
</script> -->
@@ -1,13 +1,18 @@
<div class="programmes{{ page.header.class}}">
<div
class="programmes{{ page.header.class}} parallax-window"
data-parallax="scroll"
data-image-src="{{ url('theme://images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg') }}">
<!-- <div class="parallax-window" data-parallax="scroll" data-image-src="/path/to/image.jpg"></div> -->
<!-- <div class="images-background parallax parallax-window" data-parallax="scroll">
<div class="background paralax">
<img id="photo1" src="/user/themes/epau-antimatter/images/14360_default_big.jpg" alt="photo 1" />
<img id="photo2" src="/user/themes/epau-antimatter/images/10361_web_01.jpg" alt="photo 2" />
<img id="photo3" src="/user/themes/epau-antimatter/images/hyperliens_marseille_.PNG" alt="photo 3" />
<img id="photo4" src="/user/themes/epau-antimatter/images/jeux-olypiques-paris-2024-village-athle-lot-e2.jpg" alt="photo 4" />
</div>
</div> -->
{{ content|raw }}
@@ -22,25 +22,33 @@
<div class="features {{ page.header.class}}">
<div class="feature-items">
{% for rapport in page.header.rapports %}
<div class="texte-cache">
{% for rapport in page.header.rapports %}
<div class="feature">
<div class="feature ">
{% if rapport.couverture and rapport.pdf %}
<a href="{{page.media[rapport.pdf].url|e }}" download >
<img src="{{page.media[rapport.couverture].url|e }}" alt="couverture du {{rapport.titre_du_rapport}}" />
</a>
{% endif %}
{% if rapport.titre_du_rapport %}
<h4>{{ rapport.titre_du_rapport }}</h4>
{% endif %}
{% if rapport.texte_de_presentation %}
<p>{{ rapport.texte_de_presentation|markdown }}</p>
{% endif %}
{% if rapport.couverture and rapport.pdf %}
<a href="{{page.media[rapport.pdf].url|e }}" download >
<img src="{{page.media[rapport.couverture].url|e }}" alt="couverture du {{rapport.titre_du_rapport}}" />
{% endif %}
{% if rapport.titre_du_rapport %}
<h4>{{ rapport.titre_du_rapport }}</h4>
{% endif %}
{% if rapport.texte_de_presentation %}
<p>{{ rapport.texte_de_presentation|markdown }}</p>
{% endif %}
</a>
</div>
{% endfor %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- <a href=""> -->
<button class="bouton-ouverture">Voir plus</button>
<!-- </a> -->
@@ -1,9 +1,28 @@
<div class="callout">
{% set image = page.media.images|first %}
{% if image %}
{{ image.cropResize(400,400).html('','','align-'~page.header.image_align)|raw }}
{% endif %}
<div id="new-footer">
{{ content|raw }}
<div class="tothetop">
<span><a href="#" id="toTop"><i class="fa fa-arrow-up"></i></a></span>
</div>
<div class="footer">
<div class="footer-logos">
{{ content|raw }}
</div>
<div class="contact">
<img src="{{ url('theme://images/EPAU_logo_EPAU_vecto-seul.svg')}}" alt="logo EPAU">
<svg width="200" height="5" version="1.1" xmlns="http://www.w3.org/2000/svg">
<line x1="0" x2="30" stroke="black" fill="transparent" stroke-width="5"/>
</svg>
<h6>CONTACT :</h6>
<p>Fabienne.Dran@developpement-durable.gouv.fr</br>
+33 (0)1 40 81 9327</br>
+33 (0)7 86 5033 31.</p>
</div>
</div>
</div>
@@ -32,7 +32,7 @@
{% do assets.addJs('jquery', 101) %}
{% do assets.addJs('theme://js/modernizr.custom.71422.js', 100) %}
{% do assets.addJs('theme://js/antimatter.js') %}
{% do assets.addJs('theme://js/parallax.js') %}
{% do assets.addJs('theme://js/slidebars.min.js') %}
{% endblock %}
@@ -52,8 +52,8 @@
<div id="logo">
<img src="/user/pages/01.home/Republique-francaise-logo-sans-text.svg" alt="logo République Française">
<img src="user/pages/01.home/EPAU_logo_EPAU_vecto-seul.svg" alt="logo EPAU">
<img id="gouv" src="/user/pages/01.home/Republique-francaise-logo-sans-text.svg" alt="logo République Française">
<img id="epau" src="user/pages/01.home/EPAU_logo_EPAU_vecto-seul.svg" alt="logo EPAU">
</div>
@@ -81,14 +81,14 @@
</section>
{% endblock %}
{% block footer %}
<!-- {% block footer %}
<footer id="footer">
<div class="totop">
<span><a href="#" id="toTop"><i class="fa fa-arrow-up"></i></a></span>
</div>
<p><a href="http://getgrav.org">Grav</a> was <i class="fa fa-code"></i> with <i class="fa fa-heart"></i> by <a href="http://www.rockettheme.com">RocketTheme</a>.</p>
</footer>
{% endblock %}
{% endblock %} -->
</div>
{% block sidebar_navigation %}
<div class="sb-slidebar sb-left sb-width-thin">
@@ -22,6 +22,8 @@
{{ p.menu }}
</a>
</li>
{% endif %}
{% endfor %}
{% endmacro %}
@@ -51,5 +53,5 @@
{% if config.plugins.login.enabled and grav.user.username %}
<li><i class="fa fa-lock"></i> {% include 'partials/login-status.html.twig' %}</li>
{% endif %}
</ul>
</ul>