-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ajout d'un template pour le site des revues de presse rdp.epfl.ch
- Loading branch information
Showing
3 changed files
with
76 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{% set isSpecial = true %} | ||
|
||
{% extends "@templates/base/base.twig" %} | ||
|
||
{% block header %} | ||
<header role="banner" class="header header-light"> | ||
<div class="header-light-content"> | ||
<a class="logo" href="#"> | ||
<img src="svg/epfl-logo.svg" alt="Logo EPFL, École polytechnique fédérale de Lausanne" class="img-fluid"> | ||
</a> | ||
<h1>Revue de presse</h1> | ||
<ul aria-hidden="true" class="nav-header d-none d-xl-flex"> | ||
<li id="menu-item-{{ loop.index }}" {% if loop.index == 2 %} class="current-menu-item"{% endif %}> | ||
<a class="nav-item" href="#">S'abonner</a> | ||
</li> | ||
</ul> | ||
{% include '@molecules/search/search-mobile.twig' %} | ||
{% include '@molecules/search/search.twig' %} | ||
{% include '@atoms/nav-lang/nav-lang-short.twig' %} | ||
{% include '@atoms/nav-toggle-mobile/nav-toggle-mobile.twig' %} | ||
</div> | ||
</header> | ||
{% endblock %} | ||
{% block content %} | ||
|
||
<div class="container"> | ||
<h1 class="h2 mb-5">Revues de presse</h1> | ||
</div> | ||
|
||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-md-5 col-lg-4"> | ||
<aside> | ||
<div class="mb-5"> | ||
<form method="get"> | ||
<h2 class="h6 mb-2">Rechercher</h2> | ||
<div class="form-group"> | ||
<input type="text" name="keywords" class="form-control" value=""> | ||
</div> | ||
<button class="btn btn-primary" type="submit" name="search">Rechercher</button> | ||
</form> | ||
</div> | ||
</aside> | ||
<div class="mb-5"> | ||
<h2 class="h6">Abonnement</h2> | ||
<a href="#"> | ||
Recevez la revue de presse par e-mail | ||
</a> | ||
</div> | ||
</div> | ||
<div class="col-md-8"> | ||
{% for i in 1..3 %} | ||
{% include '@content-types/press-review/press-review.twig' %} | ||
{% endfor %} | ||
<div class="mt-3"> | ||
{% include '@molecules/pagination/pagination.twig' %} | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
||
{% block footer_container %} | ||
<div class="bg-gray-100 pt-5"> | ||
<div class="container"> | ||
{% block footer %} | ||
{% include '@organisms/footer/footer-light.twig' %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
{% endblock %} | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: Press review | ||
name: press-review |