first round of dev

This commit is contained in:
Bachir Soussi Chiadmi
2015-11-04 18:23:07 +01:00
parent f2f2bf50bd
commit 2abb12981c
436 changed files with 75036 additions and 48 deletions
@@ -0,0 +1,5 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
{{ page.content }}
{% endblock %}
@@ -0,0 +1,9 @@
{% extends 'partials/base.html.twig' %}
{% block content %}
{% for child in page.collection %}
<section class="projet columns large-4">
{% include 'partials/projet.html.twig' with {'page':child} %}
</section>
{% endfor %}
{% endblock %}
@@ -0,0 +1,61 @@
<!doctype html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
{% block head %}
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{% if header.description %}
<meta name="description" content="{{ header.description }}">
{% else %}
<meta name="description" content="{{ site.description }}">
{% endif %}
{% if header.robots %}
<meta name="robots" content="{{ header.robots }}">
{% endif %}
<link rel="icon" type="image/png" href="{{ theme_url }}/images/favicon.png">
<title>{% if header.title %}{{ header.title|e('html') }} | {% endif %}{{ site.title|e('html') }}</title>
{% block stylesheets %}
{# Bootstrap core CSS #}
{% do assets.add('theme://app/bower_components/foundation/css/foundation.min.css',101) %}
{# Custom styles for this theme #}
{% do assets.add('theme://css/styles.css',100) %}
{{ assets.css() }}
{% endblock %}
{% endblock head %}
</head>
<body>
{# include the header + navigation #}
{% include 'partials/header.html.twig' %}
<div id="center" class="row">
<div class="large-12 columns grid">
{% block content %}{% endblock %}
</div>
</div>
<!-- {% block bottom %}{% endblock %} -->
{# include the footer#}
{% include 'partials/footer.html.twig' %}
{% block javascripts %}
{% do assets.add('theme://bower_components/jquery/dist/jquery.min.js', 101) %}
{% do assets.add('theme://bower_components/foundation/js/foundation.min.js') %}
{% do assets.add('theme://bower_components/masonry/dist/masonry.pkgd.min.js') %}
{% do assets.add('theme://js/script.min.js') %}
{{ assets.js() }}
{% endblock %}
</body>
</html>
@@ -0,0 +1,7 @@
<footer id="bottom-bar">
<div class="row">
<section class="large-12 columns">
<h1><a href="#">{{ site.title|e('html') }}</a></h1>
</section>
</div>
</header>
@@ -0,0 +1,25 @@
<header id="top-bar">
<div class="row">
<section id="title-area" class="large-6 large-push-3 columns">
<h1><a href="#">{{ site.title|e('html') }}</a></h1>
</section>
<nav id="right-nav" class="large-3 large-pull-6 columns">
<!-- Right Nav Section -->
<ul class="left">
{% for page in pages.children %}
<li><a href="{{ page.url }}">{{ page.menu }}</a></li>
{% endfor %}
</ul>
</nav>
<nav id="left-nav" class="large-3 columns">
{% if config.plugins.taxonomylist.enabled %}
<div class="right">
<h4>Catégoris</h4>
{% include 'partials/tagslist.html.twig' with {'base_url':"/", 'taxonomy':'tag'} %}
</div>
{% endif %}
</nav>
</div>
</header>
@@ -0,0 +1,2 @@
<h1>{{page.title}}</h1>
{{ page.content }}
@@ -0,0 +1,12 @@
{% set taxlist = taxonomylist.get() %}
{% if taxlist %}
<ul class="tags">
{% for tax,value in taxlist[taxonomy] %}
{% set active = uri.param(taxonomy) == tax ? 'active' : '' %}
<li>
<a class="{{ active }}" href="{{ base_url }}/{{ taxonomy }}{{ config.system.param_sep }}{{ tax|e('url') }}">{{ tax }}</a>
</li>
{% endfor %}
</ul>
{% endif %}