changement de template
This commit is contained in:
parent
62d0565ace
commit
24bbcbd52d
|
@ -1,4 +1,3 @@
|
|||
{% spaceless %}
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
@ -10,24 +9,116 @@
|
|||
<link rel="openid.server" href="https://id.deblan.org/" />
|
||||
<link rel="openid.delegate" href="https://id.deblan.org/simon/" />
|
||||
<link rel="openid2.provider" href="https://id.deblan.org/" />
|
||||
<link rel="openid2.local_id" href="https://id.deblan.org/simon/" />
|
||||
<link rel="openid2.local_id" href="https://id.deblan.org/simon/" />
|
||||
{% endblock %}
|
||||
{% block stylesheets %}
|
||||
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/bootstrap/css/bootstrap.min.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/bootstrap/css/bootstrap-theme.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/syntaxhighlighter/styles/shCoreEclipse.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/syntaxhighlighter/styles/shThemeEclipse.css') }}" />
|
||||
{# <link rel="stylesheet" href="//vjs.zencdn.net/4.3/video-js.css" /> #}
|
||||
<link rel="stylesheet" href="{{ asset('/bundles/deblanblog/css/main.css') }}?v=10" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/bootstrap.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/clean-blog.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/syntaxhighlighter/styles/shThemeEclipse.css') }}" />
|
||||
<link rel="stylesheet" href="{{ asset('bundles/deblanblog/css/cleanblog/main.css') }}" />
|
||||
{% endblock %}
|
||||
{{ get_var('CssBlock')|raw }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="https://{{ app.request.host ~ cms_path('rss') }}">
|
||||
<link rel="alternate" type="application/rss+xml" title="Flux RSS" href="https://{{ app.request.host ~ cms_path('rss') }}">
|
||||
<link rel="icon" type="image/x-icon" href="{{ asset('favicon.ico') }}" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="wrap">
|
||||
<div id="main">
|
||||
<nav class="navbar navbar-default navbar-custom navbar-fixed-top">
|
||||
<div class="container-fluid">
|
||||
<div class="navbar-header page-scroll">
|
||||
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar-collapse-1">
|
||||
<span class="sr-only">Menu</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="{{ path('homepage') }}">Deblan</a>
|
||||
</div>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse-1">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li>
|
||||
<div class="dropdown">
|
||||
<a href="#" data-toggle="dropdown">Catégories</a>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
{% for node in manager.menu('categories_menu').nodes %}
|
||||
{% if node.isVisible %}
|
||||
{% for category in node.dataModelsCollection %}
|
||||
<li class="{% if has_current_node(node) and page.object.id == category.id %}active{% endif %}">
|
||||
<a href="{{ page_url(node, node.getCleanedDefaultParams, category) }}">{{ category }}</a>
|
||||
</li>
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
{% for node in manager.menu('main_menu').nodes %}
|
||||
{% if node.level == 1 and node.isVisible %}
|
||||
<li>
|
||||
{% set has_children = node.children|length > 0 %}
|
||||
{% set is_active = has_current_node(node) %}
|
||||
|
||||
{% if has_children %}<div class="dropdown">{% endif %}
|
||||
|
||||
<a {% if is_active %}class="active" {% endif %} {% if has_children %}data-toggle="dropdown" href="#" {% else %}href="{{ page_url(node) }}" {% endif %}>{{ node.title|upper }} {% if has_children %}{% endif %}</a>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
{% for child in node.children %}
|
||||
{% if child.isVisible %}
|
||||
{% if child.title == '<sep>' %}
|
||||
<li class="divider"></li>
|
||||
{% else %}
|
||||
<li {% if is_current_node(child) %}class="active"{% endif %}>{{ page_link(child.title, child) }}</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% if has_children %}</div>{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
<li>
|
||||
<div class="dropdown">
|
||||
<a href="#" data-toggle="dropdown">Amis</a>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
{% for node in manager.menu('links_menu').nodes %}
|
||||
{% if node.isVisible %}
|
||||
<li>
|
||||
<a target="_blank" href="{{ page_url(node) }}">{{ node.title }}</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<header class="intro-header" style="background-image: url('{{ asset('bundles/deblanblog/img/home-bg.jpg') }}')">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<div class="site-heading">
|
||||
<h1>{% block header_title %}Simon Vieille{% endblock %}</h1>
|
||||
<hr class="small">
|
||||
<span class="subheading">{% block header_subtitle %}Software developer and sysadmin at web&design (symfony expert), casual worker at IUT-BM. Debian addict.{% endblock %}</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
|
||||
|
||||
{% block body %}{% endblock %}
|
||||
|
||||
{#
|
||||
<header id="top">
|
||||
<div id="header">
|
||||
<div class="ctn">
|
||||
|
@ -39,37 +130,7 @@
|
|||
</div>
|
||||
<div class="ctn">
|
||||
<div id="nav">
|
||||
<ul role="menu">
|
||||
<li id="home"><a href="{{ path('homepage') }}"><strong>BLOG</strong></a></li>
|
||||
{% for node in manager.menu('main_menu').nodes %}
|
||||
{% if node.level == 1 and node.isVisible %}
|
||||
<li>
|
||||
{% set has_children = node.children|length > 0 %}
|
||||
{% set is_active = has_current_node(node) %}
|
||||
|
||||
{% if has_children %}<div class="dropdown">{% endif %}
|
||||
|
||||
<a {% if is_active %}class="active" {% endif %} {% if has_children %}data-toggle="dropdown" href="#" {% else %}href="{{ page_url(node) }}" {% endif %}>{{ node.title|upper }} {% if has_children %}<span class="glyphicon glyphicon-chevron-down"></span>{% endif %}</a>
|
||||
|
||||
<ul class="dropdown-menu">
|
||||
{% for child in node.children %}
|
||||
{% if child.isVisible %}
|
||||
{% if child.title == '<sep>' %}
|
||||
<li class="divider"></li>
|
||||
{% else %}
|
||||
<li {% if is_current_node(child) %}class="active"{% endif %}>{{ page_link(child.title, child) }}</li>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
{% if has_children %}</div>{% endif %}
|
||||
</li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% block main_menu_bind %}{% endblock %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -91,6 +152,11 @@
|
|||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
#}
|
||||
|
||||
{#
|
||||
<div id="wrap">
|
||||
<div id="main">
|
||||
|
||||
<div id="content" class="ctn">
|
||||
<div class="trow">
|
||||
|
@ -125,7 +191,7 @@
|
|||
{% if node.isVisible %}
|
||||
{% for category in node.dataModelsCollection %}
|
||||
{% set count = count + 1 %}
|
||||
|
||||
|
||||
<li class="list-group-item {% if has_current_node(node) and page.object.id == category.id %}active{% elseif count > 5 %}hide{% endif %}">
|
||||
<span class="glyphicon glyphicon-folder-{{ has_current_node(node) and page.object.id == category.id ? 'open' : 'close' }}"></span>
|
||||
<a href="{{ page_url(node, node.getCleanedDefaultParams, category) }}">{{ category }}</a>
|
||||
|
@ -140,17 +206,6 @@
|
|||
{% endfor %}
|
||||
</div>
|
||||
|
||||
{# <div class="panel panel-default"> #}
|
||||
{# <div class="panel-heading">{{ manager.menu('irc_menu').title }}</div> #}
|
||||
{# <ul class="list-group"> #}
|
||||
{# {% for node in manager.menu('irc_menu').nodes %} #}
|
||||
{# {% if node.isVisible %} #}
|
||||
{# <li class="list-group-item"><span class="glyphicon glyphicon-user"></span> <a target="_blank" href="{{ page_url(node) }}">{{ node.title }}</a></li> #}
|
||||
{# {% endif %} #}
|
||||
{# {% endfor %} #}
|
||||
{# </ul> #}
|
||||
{# </div> #}
|
||||
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
{{ manager.menu('links_menu').title }}
|
||||
|
@ -179,23 +234,25 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
#}
|
||||
|
||||
<footer id="bottom">
|
||||
<div class="ctn">
|
||||
<div id="footer">
|
||||
{% set defaultFooter %}
|
||||
<p>
|
||||
Simon Vieille / Hébergement personnel / Textes libres sauf indication(s) contraire(s) /
|
||||
<a href="{{ path('private_life') }}">Vie privée</a> /
|
||||
<a href="https://lab.deblan.org/client/projects/deblan-trinity/repository">Sources</a>
|
||||
</p>
|
||||
<p><button class="btn btn-default btn-xs"><img width="128" height="13" src="{{ asset('/bundles/deblanblog/img/logo_trinity.png') }}" alt="Trinity CMS" title="Trinity CMS" /></button></p>
|
||||
{% endset %}
|
||||
<footer>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{% set defaultFooter %}
|
||||
<p class="copyright text-muted">
|
||||
Simon Vieille / Hébergement personnel / Textes libres sauf indication(s) contraire(s) /
|
||||
<a href="{{ path('private_life') }}">Vie privée</a> /
|
||||
<a href="https://lab.deblan.org/client/projects/deblan-trinity/repository">Sources</a>
|
||||
</p>
|
||||
{% endset %}
|
||||
|
||||
{{ get_var('FooterContent', defaultFooter)|transform_url }}
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{{ get_var('FooterContent', defaultFooter)|transform_url }}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
<div id="cookie" class="alert alert-info hide">
|
||||
<a class="close" data-dismiss="alert" href="#" aria-hidden="true">×</a>
|
||||
|
@ -203,19 +260,19 @@
|
|||
</div>
|
||||
|
||||
{% block javascripts %}
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
|
||||
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/bootstrap/js/bootstrap.min.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/syntaxhighlighter/scripts/shCore.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/syntaxhighlighter/scripts/shAutoloader.js') }}"></script>
|
||||
<script type="text/javascript" src="{{ asset('/bundles/deblanblog/js/main.js?v=7') }}"></script>
|
||||
<script src="{{ asset('bundles/deblanblog/js/cleanblog/jquery.js') }}"></script>
|
||||
<script src="{{ asset('bundles/deblanblog/js/cleanblog/bootstrap.min.js') }}"></script>
|
||||
<script src="{{ asset('bundles/deblanblog/js/cleanblog/clean-blog.js') }}"></script>
|
||||
<script src="{{ asset('bundles/deblanblog/syntaxhighlighter/scripts/shCore.js') }}"></script>
|
||||
<script src="{{ asset('bundles/deblanblog/syntaxhighlighter/scripts/shAutoloader.js') }}"></script>
|
||||
<script src="{{ asset('bundles/deblanblog/js/main.js?v=7') }}"></script>
|
||||
<noscript><p><img src="https://piwik.deblan.org/piwik.php?idsite=1" style="border:0" alt="" /></p></noscript>
|
||||
|
||||
<!--[if lte IE 8]>
|
||||
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<![endif]-->
|
||||
{% endblock %}
|
||||
|
||||
{{ get_var('JavascriptBlock')|raw }}
|
||||
</body>
|
||||
</html>
|
||||
{% endspaceless %}
|
||||
|
|
6583
src/Deblan/Bundle/BlogBundle/Resources/public/css/cleanblog/bootstrap.css
vendored
Normal file
6583
src/Deblan/Bundle/BlogBundle/Resources/public/css/cleanblog/bootstrap.css
vendored
Normal file
File diff suppressed because it is too large
Load diff
5
src/Deblan/Bundle/BlogBundle/Resources/public/css/cleanblog/bootstrap.min.css
vendored
Normal file
5
src/Deblan/Bundle/BlogBundle/Resources/public/css/cleanblog/bootstrap.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,395 @@
|
|||
/*!
|
||||
* Clean Blog v1.0.0 (http://startbootstrap.com)
|
||||
* Copyright 2014 Start Bootstrap
|
||||
* Licensed under Apache 2.0 (https://github.com/IronSummitMedia/startbootstrap/blob/gh-pages/LICENSE)
|
||||
*/
|
||||
|
||||
body {
|
||||
font-family: 'Lora', 'Times New Roman', serif;
|
||||
font-size: 20px;
|
||||
color: #404040;
|
||||
}
|
||||
p {
|
||||
line-height: 1.5;
|
||||
margin: 30px 0;
|
||||
}
|
||||
p a {
|
||||
text-decoration: underline;
|
||||
}
|
||||
h1,
|
||||
h2,
|
||||
h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-weight: 800;
|
||||
}
|
||||
a {
|
||||
color: #404040;
|
||||
}
|
||||
a:hover,
|
||||
a:focus {
|
||||
color: #0085a1;
|
||||
}
|
||||
a img:hover,
|
||||
a img:focus {
|
||||
cursor: zoom-in;
|
||||
}
|
||||
blockquote {
|
||||
color: #808080;
|
||||
font-style: italic;
|
||||
}
|
||||
hr.small {
|
||||
max-width: 100px;
|
||||
margin: 15px auto;
|
||||
border-width: 4px;
|
||||
border-color: white;
|
||||
}
|
||||
.navbar-custom {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
z-index: 3;
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
}
|
||||
.navbar-custom .navbar-brand {
|
||||
font-weight: 800;
|
||||
}
|
||||
.navbar-custom .nav li a {
|
||||
text-transform: uppercase;
|
||||
font-size: 12px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 1px;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.navbar-custom {
|
||||
background: #111;
|
||||
border-bottom: 1px solid transparent;
|
||||
}
|
||||
.navbar-custom .navbar-brand {
|
||||
color: white;
|
||||
padding: 20px;
|
||||
}
|
||||
.navbar-custom .navbar-brand:hover,
|
||||
.navbar-custom .navbar-brand:focus {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
.navbar-custom .nav li a {
|
||||
color: white;
|
||||
padding: 20px;
|
||||
display: block;
|
||||
}
|
||||
.navbar-custom .nav li a:hover,
|
||||
.navbar-custom .nav li a:focus {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
}
|
||||
.nav .open > a, .nav .open > a:focus, .nav .open > a:hover {
|
||||
background: #333;
|
||||
}
|
||||
.dropdown-menu {
|
||||
background: #000;
|
||||
margin: 0;
|
||||
}
|
||||
.dropdown-menu a {
|
||||
padding: 3px 5px !important;
|
||||
}
|
||||
.dropdown-menu > li > a:focus, .dropdown-menu > li > a:hover {
|
||||
background: none;
|
||||
color: #ddd;
|
||||
}
|
||||
}
|
||||
@media only screen and (min-width: 1170px) {
|
||||
.navbar-custom {
|
||||
-webkit-transition: background-color 0.3s;
|
||||
-moz-transition: background-color 0.3s;
|
||||
transition: background-color 0.3s;
|
||||
/* Force Hardware Acceleration in WebKit */
|
||||
-webkit-transform: translate3d(0, 0, 0);
|
||||
-moz-transform: translate3d(0, 0, 0);
|
||||
-ms-transform: translate3d(0, 0, 0);
|
||||
-o-transform: translate3d(0, 0, 0);
|
||||
transform: translate3d(0, 0, 0);
|
||||
-webkit-backface-visibility: hidden;
|
||||
backface-visibility: hidden;
|
||||
}
|
||||
.navbar-custom.is-fixed {
|
||||
/* when the user scrolls down, we hide the header right above the viewport */
|
||||
position: fixed;
|
||||
top: -61px;
|
||||
background: #111;
|
||||
-webkit-transition: -webkit-transform 0.3s;
|
||||
-moz-transition: -moz-transform 0.3s;
|
||||
transition: transform 0.3s;
|
||||
}
|
||||
.navbar-custom.is-visible {
|
||||
/* if the user changes the scrolling direction, we show the header */
|
||||
-webkit-transform: translate3d(0, 100%, 0);
|
||||
-moz-transform: translate3d(0, 100%, 0);
|
||||
-ms-transform: translate3d(0, 100%, 0);
|
||||
-o-transform: translate3d(0, 100%, 0);
|
||||
transform: translate3d(0, 100%, 0);
|
||||
}
|
||||
}
|
||||
.intro-header {
|
||||
background-color: #808080;
|
||||
background: no-repeat center center;
|
||||
background-attachment: scroll;
|
||||
-webkit-background-size: cover;
|
||||
-moz-background-size: cover;
|
||||
background-size: cover;
|
||||
-o-background-size: cover;
|
||||
margin-bottom: 50px;
|
||||
}
|
||||
.intro-header .site-heading,
|
||||
.intro-header .post-heading,
|
||||
.intro-header .page-heading {
|
||||
padding: 100px 0 50px;
|
||||
color: white;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.intro-header .site-heading,
|
||||
.intro-header .post-heading,
|
||||
.intro-header .page-heading {
|
||||
padding: 150px 0;
|
||||
}
|
||||
}
|
||||
.intro-header .site-heading,
|
||||
.intro-header .page-heading {
|
||||
text-align: center;
|
||||
}
|
||||
.intro-header .site-heading h1,
|
||||
.intro-header .page-heading h1 {
|
||||
margin-top: 0;
|
||||
font-size: 50px;
|
||||
}
|
||||
.intro-header .site-heading .subheading,
|
||||
.intro-header .page-heading .subheading {
|
||||
font-size: 24px;
|
||||
line-height: 1.1;
|
||||
display: block;
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-weight: 300;
|
||||
margin: 10px 0 0;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.intro-header .site-heading h1,
|
||||
.intro-header .page-heading h1 {
|
||||
font-size: 80px;
|
||||
}
|
||||
}
|
||||
.intro-header .post-heading h1 {
|
||||
font-size: 35px;
|
||||
}
|
||||
.intro-header .post-heading .subheading,
|
||||
.intro-header .post-heading .meta {
|
||||
line-height: 1.1;
|
||||
display: block;
|
||||
}
|
||||
.intro-header .post-heading .subheading {
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
font-size: 24px;
|
||||
margin: 10px 0 30px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.intro-header .post-heading .meta {
|
||||
font-family: 'Lora', 'Times New Roman', serif;
|
||||
font-style: italic;
|
||||
font-weight: 300;
|
||||
font-size: 20px;
|
||||
}
|
||||
.intro-header .post-heading .meta a {
|
||||
color: white;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.intro-header .post-heading h1 {
|
||||
font-size: 55px;
|
||||
}
|
||||
.intro-header .post-heading .subheading {
|
||||
font-size: 30px;
|
||||
}
|
||||
}
|
||||
.post-preview > a {
|
||||
color: #404040;
|
||||
}
|
||||
.post-preview > a:hover,
|
||||
.post-preview > a:focus {
|
||||
text-decoration: none;
|
||||
color: #0085a1;
|
||||
}
|
||||
.post-preview > a > .post-title {
|
||||
font-size: 30px;
|
||||
margin-top: 30px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.post-preview > a > .post-subtitle {
|
||||
margin: 0;
|
||||
font-weight: 300;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
.post-preview > .post-meta {
|
||||
color: #808080;
|
||||
font-size: 18px;
|
||||
font-style: italic;
|
||||
margin-top: 0;
|
||||
}
|
||||
.post-preview > .post-meta > a {
|
||||
text-decoration: none;
|
||||
color: #404040;
|
||||
}
|
||||
.post-preview > .post-meta > a:hover,
|
||||
.post-preview > .post-meta > a:focus {
|
||||
color: #0085a1;
|
||||
text-decoration: underline;
|
||||
}
|
||||
@media only screen and (min-width: 768px) {
|
||||
.post-preview > a > .post-title {
|
||||
font-size: 36px;
|
||||
}
|
||||
}
|
||||
.section-heading {
|
||||
font-size: 36px;
|
||||
margin-top: 60px;
|
||||
font-weight: 700;
|
||||
}
|
||||
.caption {
|
||||
text-align: center;
|
||||
font-size: 14px;
|
||||
padding: 10px;
|
||||
font-style: italic;
|
||||
margin: 0;
|
||||
display: block;
|
||||
border-bottom-right-radius: 5px;
|
||||
border-bottom-left-radius: 5px;
|
||||
}
|
||||
footer {
|
||||
padding: 50px 0 65px;
|
||||
}
|
||||
footer .list-inline {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
footer .copyright {
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
margin-bottom: 0;
|
||||
}
|
||||
.floating-label-form-group {
|
||||
font-size: 14px;
|
||||
position: relative;
|
||||
margin-bottom: 0;
|
||||
padding-bottom: 0.5em;
|
||||
border-bottom: 1px solid #eeeeee;
|
||||
}
|
||||
.floating-label-form-group input,
|
||||
.floating-label-form-group textarea {
|
||||
z-index: 1;
|
||||
position: relative;
|
||||
padding-right: 0;
|
||||
padding-left: 0;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
font-size: 1.5em;
|
||||
background: none;
|
||||
box-shadow: none !important;
|
||||
resize: none;
|
||||
}
|
||||
.floating-label-form-group label {
|
||||
display: block;
|
||||
z-index: 0;
|
||||
position: relative;
|
||||
top: 2em;
|
||||
margin: 0;
|
||||
font-size: 0.85em;
|
||||
line-height: 1.764705882em;
|
||||
vertical-align: middle;
|
||||
vertical-align: baseline;
|
||||
opacity: 0;
|
||||
-webkit-transition: top 0.3s ease,opacity 0.3s ease;
|
||||
-moz-transition: top 0.3s ease,opacity 0.3s ease;
|
||||
-ms-transition: top 0.3s ease,opacity 0.3s ease;
|
||||
transition: top 0.3s ease,opacity 0.3s ease;
|
||||
}
|
||||
.floating-label-form-group::not(:first-child) {
|
||||
padding-left: 14px;
|
||||
border-left: 1px solid #eeeeee;
|
||||
}
|
||||
.floating-label-form-group-with-value label {
|
||||
top: 0;
|
||||
opacity: 1;
|
||||
}
|
||||
.floating-label-form-group-with-focus label {
|
||||
color: #0085a1;
|
||||
}
|
||||
form .row:first-child .floating-label-form-group {
|
||||
border-top: 1px solid #eeeeee;
|
||||
}
|
||||
.btn {
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 1px;
|
||||
border-radius: 0;
|
||||
padding: 15px 25px;
|
||||
}
|
||||
.btn-lg {
|
||||
font-size: 16px;
|
||||
padding: 25px 35px;
|
||||
}
|
||||
.btn-default:hover,
|
||||
.btn-default:focus {
|
||||
background-color: #0085a1;
|
||||
border: 1px solid #0085a1;
|
||||
color: white;
|
||||
}
|
||||
.pager {
|
||||
margin: 20px 0 0;
|
||||
}
|
||||
.pager li > a,
|
||||
.pager li > span {
|
||||
font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
|
||||
text-transform: uppercase;
|
||||
font-size: 14px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 1px;
|
||||
padding: 15px 25px;
|
||||
background-color: white;
|
||||
border-radius: 0;
|
||||
}
|
||||
.pager li > a:hover,
|
||||
.pager li > a:focus {
|
||||
color: white;
|
||||
background-color: #0085a1;
|
||||
border: 1px solid #0085a1;
|
||||
}
|
||||
.pager .disabled > a,
|
||||
.pager .disabled > a:hover,
|
||||
.pager .disabled > a:focus,
|
||||
.pager .disabled > span {
|
||||
color: #808080;
|
||||
background-color: #404040;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
::-moz-selection {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
background: #0085a1;
|
||||
}
|
||||
::selection {
|
||||
color: white;
|
||||
text-shadow: none;
|
||||
background: #0085a1;
|
||||
}
|
||||
img::selection {
|
||||
color: white;
|
||||
background: transparent;
|
||||
}
|
||||
img::-moz-selection {
|
||||
color: white;
|
||||
background: transparent;
|
||||
}
|
||||
body {
|
||||
webkit-tap-highlight-color: #0085a1;
|
||||
}
|
7
src/Deblan/Bundle/BlogBundle/Resources/public/css/cleanblog/clean-blog.min.css
vendored
Normal file
7
src/Deblan/Bundle/BlogBundle/Resources/public/css/cleanblog/clean-blog.min.css
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,286 @@
|
|||
#search input[type=text] {
|
||||
position: relative;
|
||||
right: 0;
|
||||
top: 40px;
|
||||
float: right;
|
||||
width: 173px;
|
||||
height: 25px;
|
||||
border: 1px solid #fff;
|
||||
background: url(../img/search.png) #ffffff 150px 2px no-repeat;
|
||||
color: #333;
|
||||
padding: 3px 25px 3px 4px;
|
||||
}
|
||||
|
||||
#breadcrumb {
|
||||
background: #333;
|
||||
padding: 10px 0;
|
||||
font-size: 14px;
|
||||
font-family: Calibri, Verdana;
|
||||
}
|
||||
|
||||
#breadcrumb ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
@media (max-width: 960px) {
|
||||
#breadcrumb ul {
|
||||
padding: 0 4px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
#breadcrumb li {
|
||||
display: inline-block;
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#breadcrumb li.sep {
|
||||
color: #666;
|
||||
padding: 0 3px;
|
||||
}
|
||||
|
||||
#breadcrumb a {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
#breadcrumb .glyphicon {
|
||||
margin-right: 3px;
|
||||
}
|
||||
|
||||
#social {
|
||||
float: right;
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
#social {
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.social {
|
||||
background: url(../img/socials.png) no-repeat 1000px 0;
|
||||
margin-left: 2px;
|
||||
}
|
||||
|
||||
.social a {
|
||||
display: block;
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
overflow: hidden;
|
||||
text-indent: 100px;
|
||||
}
|
||||
|
||||
.social-rss {
|
||||
background-position: -20px 0;
|
||||
}
|
||||
|
||||
.social-twitter {
|
||||
background-position: 0 0;
|
||||
}
|
||||
|
||||
.social-facebook {
|
||||
background-position: -40px 0;
|
||||
}
|
||||
|
||||
.social-linkedin {
|
||||
background-position: -60px 0;
|
||||
}
|
||||
|
||||
.social-diaspora {
|
||||
background-position: -80px 0;
|
||||
}
|
||||
|
||||
.social-github {
|
||||
background-position: -100px 0;
|
||||
}
|
||||
|
||||
code {
|
||||
white-space: normal;
|
||||
}
|
||||
|
||||
.media.level-2 {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.media.level-3 {
|
||||
padding-left: 80px;
|
||||
}
|
||||
|
||||
.media.level-4 {
|
||||
padding-left: 120px;
|
||||
}
|
||||
|
||||
.media .media-body .answer {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.media-body p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.media .media-body:hover .answer {
|
||||
visibility: visible;
|
||||
}
|
||||
|
||||
|
||||
.media.level-5,
|
||||
.media.level-6,
|
||||
.media.level-7,
|
||||
.media.level-8,
|
||||
.media.level-9,
|
||||
.media.level-10,
|
||||
.media.level-11 {
|
||||
padding-left: 160px;
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
.media.level-2 {
|
||||
padding-left: 10px;
|
||||
}
|
||||
|
||||
.media.level-3 {
|
||||
padding-left: 20px;
|
||||
}
|
||||
|
||||
.media.level-4 {
|
||||
padding-left: 30px;
|
||||
}
|
||||
|
||||
.media.level-5,
|
||||
.media.level-6,
|
||||
.media.level-7,
|
||||
.media.level-8,
|
||||
.media.level-9,
|
||||
.media.level-10,
|
||||
.media.level-11 {
|
||||
padding-left: 40px;
|
||||
}
|
||||
|
||||
.media .avatar {
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
}
|
||||
|
||||
.media .pull-left .answer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.media .media-body .answer {
|
||||
display: block;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
.comments .media button {
|
||||
display: block;
|
||||
width: 90px;
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.comments .media {
|
||||
margin-bottom: 40px;
|
||||
}
|
||||
|
||||
.form-group.submit .control-label {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.error_list {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
color: #fff;
|
||||
background: #FF8D8D;
|
||||
border: 1px solid #b94a48;
|
||||
border-top: 0;
|
||||
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
|
||||
}
|
||||
|
||||
.error_list li {
|
||||
margin: 0;
|
||||
padding: 5px;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
input.has-error,
|
||||
textarea.has-error {
|
||||
border-color: #b94a48;
|
||||
border-radius: 0;
|
||||
box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.075) inset;
|
||||
}
|
||||
|
||||
#cancel_answer {
|
||||
margin-top: -7px;
|
||||
}
|
||||
|
||||
.syntaxhighlighter .container {
|
||||
width: auto;
|
||||
margin: auto;
|
||||
padding: auto;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
border-radius: 0 !important;
|
||||
}
|
||||
|
||||
code,
|
||||
pre,
|
||||
.syntaxhighlighter .line {
|
||||
-webkit-hyphens: auto !important;
|
||||
-moz-hyphens: auto !important;
|
||||
-ms-hyphens: auto !important;
|
||||
-o-hyphens: auto !important;
|
||||
hyphens: auto !important;
|
||||
word-wrap: break-word !important;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.toolbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.code-container {
|
||||
overflow: auto;
|
||||
padding: 10px 0;
|
||||
margin: 10px 0;
|
||||
max-width: 700px;
|
||||
}
|
||||
|
||||
.show-code {
|
||||
display: none;
|
||||
color: blue;
|
||||
padding: 4px 0 10px 0;
|
||||
}
|
||||
|
||||
.show-code:hover {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media (max-width: 500px) {
|
||||
.code-container {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.show-code {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.labels {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 10px 0;
|
||||
}
|
||||
|
||||
.labels li {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0
|
||||
}
|
||||
|
||||
label {
|
||||
font-size: 16px;
|
||||
}
|
BIN
src/Deblan/Bundle/BlogBundle/Resources/public/img/home-bg.jpg
Normal file
BIN
src/Deblan/Bundle/BlogBundle/Resources/public/img/home-bg.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 224 KiB |
2317
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/bootstrap.js
vendored
Normal file
2317
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/bootstrap.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
7
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/bootstrap.min.js
vendored
Normal file
7
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/bootstrap.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
7
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/clean-blog.min.js
vendored
Normal file
7
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/clean-blog.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9190
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/jquery.js
vendored
Normal file
9190
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/jquery.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
5
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/jquery.min.js
vendored
Normal file
5
src/Deblan/Bundle/BlogBundle/Resources/public/js/cleanblog/jquery.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
|
@ -1,22 +1,5 @@
|
|||
$('.list-wrapped li.last').click(function() {
|
||||
$(this).parent().children('.hide').removeClass('hide');
|
||||
$(this).addClass('hide');
|
||||
});
|
||||
|
||||
if ($('#nav a.active').length == 0) {
|
||||
$('#home a').addClass('active');
|
||||
}
|
||||
|
||||
$('.list-wrapped .hide.active').removeClass('hide');
|
||||
|
||||
$('.pop').popover();
|
||||
|
||||
$('#nav').affix({
|
||||
offset: {
|
||||
top: $('#nav').offset().top
|
||||
}
|
||||
});
|
||||
|
||||
$('.error_list').each(function() {
|
||||
if ($(this).prev().length && $(this).prev().hasClass('form-control')) {
|
||||
$(this).prev().addClass('has-error');
|
||||
|
|
|
@ -17,19 +17,37 @@
|
|||
{% endif %}
|
||||
|
||||
{% for post in page.pager %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{% if not loop.first %}
|
||||
<hr />
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ include('DeblanBlogBundle:Default:thePost.html.twig') }}
|
||||
{% endfor %}
|
||||
|
||||
{% if page.pager.hasPreviousPage or page.pager.hasNextPage %}
|
||||
<div class="btn-toolbar" role="toolbar">
|
||||
<div class="btn-group">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('category', {id: page.object.id, category: page.object.slug, page: page.pager.getPreviousPage }) }}">Précédent</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.pager.hasNextPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('category', {id: page.object.id, category: page.object.slug, page: page.pager.getNextPage }) }}">Suivant</a>
|
||||
{% endif %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<hr />
|
||||
<ul class="pager">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<li class="previous">
|
||||
<a href="{{ cms_path('category', {id: page.object.id, category: page.object.slug, page: page.pager.getPreviousPage }) }}">Précédent</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if page.pager.hasNextPage %}
|
||||
<li class="next">
|
||||
<a href="{{ cms_path('category', {id: page.object.id, category: page.object.slug, page: page.pager.getNextPage }) }}">Suivant</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -11,21 +11,39 @@
|
|||
|
||||
{% block body %}
|
||||
{% for post in page.pager %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{% if not loop.first %}
|
||||
<hr />
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ include('DeblanBlogBundle:Default:thePost.html.twig', {post: post}) }}
|
||||
{% endfor %}
|
||||
|
||||
{% if page.pager.hasPreviousPage or page.pager.hasNextPage %}
|
||||
<div class="btn-toolbar" role="toolbar">
|
||||
<div class="btn-group">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('homepage', {page: page.pager.getPreviousPage}) }}">Précédent</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.pager.hasNextPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('homepage', {page: page.pager.getNextPage}) }}">Suivant</a>
|
||||
{% endif %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<hr />
|
||||
<ul class="pager">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<li class="previous">
|
||||
<a href="{{ cms_path('homepage', {page: page.pager.getPreviousPage}) }}">Précédent</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if page.pager.hasNextPage %}
|
||||
<li class="next">
|
||||
<a href="{{ cms_path('homepage', {page: page.pager.getNextPage}) }}">Suivant</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
<li>Article « <a href="{{ cms_path('post', {id: page.object.id, post: page.object.slug}) }}">{{ page.object }}</a> »</li>
|
||||
{% endblock %}
|
||||
|
||||
{% block header_title %}
|
||||
{{ page.object.title }}
|
||||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
{% set post = page.object %}
|
||||
|
||||
|
|
|
@ -17,19 +17,36 @@
|
|||
{% endif %}
|
||||
|
||||
{% for post in page.pager %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{% if not loop.first %}
|
||||
<hr />
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ include('DeblanBlogBundle:Default:thePost.html.twig') }}
|
||||
{% endfor %}
|
||||
|
||||
{% if page.pager.hasPreviousPage or page.pager.hasNextPage %}
|
||||
<div class="btn-toolbar" role="toolbar">
|
||||
<div class="btn-group">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('tag', {tag: page.object, page: page.pager.getPreviousPage}) }}">Précédent</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.pager.hasNextPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('tag', {tag: page.object, page: page.pager.getNextPage}) }}">Suivant</a>
|
||||
{% endif %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<ul class="pager">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<li class="previous">
|
||||
<a href="{{ cms_path('tag', {tag: page.object, page: page.pager.getPreviousPage}) }}">Précédent</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if page.pager.hasNextPage %}
|
||||
<li class="next">
|
||||
<a href="{{ cms_path('tag', {tag: page.object, page: page.pager.getNextPage}) }}">Suivant</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -1,21 +1,17 @@
|
|||
<div class="media {% if level != 1 %}level-{{ level }}{%endif %}">
|
||||
<div class="pull-left">
|
||||
<img width="90" height="90" data-dimensions="destroy" class="avatar" src="{{ comment.avatar }}" alt="{{ comment.author }}" title="{{ comment.author }}">
|
||||
<button class="btn btn-default btn-sm answer" data-comment="{{ comment.id }}">Répondre</button>
|
||||
</div>
|
||||
<div class="media-body">
|
||||
<div class="media-heading meta">
|
||||
<address class="author">
|
||||
<span class="glyphicon glyphicon-user"></span>
|
||||
<a rel="author" href="{{ comment.Website ? comment.Website : '#' }}">{{ comment.author }}</a>
|
||||
</address>
|
||||
<a rel="author" href="{{ comment.Website ? comment.Website : '#' }}">{{ comment.author }}</a>,
|
||||
|
||||
<time datetime="{{ post.createdAt|date("Y-m-d") }}" title="{{ comment.createdAt|date("r") }}">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
{{ comment.createdAt|date("d/m/Y à H\\hi") }}
|
||||
</time>
|
||||
</div>
|
||||
<p>{{ comment.Content|comment }}</p>
|
||||
|
||||
<button class="btn btn-default btn-sm answer" data-comment="{{ comment.id }}">Répondre</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,3 +1,40 @@
|
|||
<article>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{% if full is not defined %}
|
||||
<h1><a href="{{ cms_path('post', {id: post.id, post: post.slug}) }}">{{ post.title }}</a></h1>
|
||||
{% endif %}
|
||||
|
||||
|
||||
{% if post.contentFormat == 'html' %}
|
||||
{{ post.content|post|transform_url }}
|
||||
{% endif %}
|
||||
|
||||
{% if post.contentFormat == 'markdown' %}
|
||||
{{ post.content|markdown|transform_url }}
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<ul class="labels">
|
||||
{% for category in post.categories %}
|
||||
<li><span class="label"><a href="{{ cms_path('category', {id: category.id, category: category.slug}) }}">{{ category.title }}</a></span></li>
|
||||
{% endfor %}
|
||||
|
||||
{% for tag in post.tagsCollection %}
|
||||
{% if tag|trim is not empty %}
|
||||
<li><span class="label"><a href="{{ cms_path('tag', {tag: tag}) }}">#{{ tag }}</a></span></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
{#
|
||||
<article class="post" id="post-{{ post.id }}">
|
||||
<header>
|
||||
<h1><a href="{{ cms_path('post', {id: post.id, post: post.slug}) }}">{{ post.title }}</a></h1>
|
||||
|
@ -13,17 +50,6 @@
|
|||
{{ post.publishedAt|date("d/m/Y à H\\hi") }}
|
||||
</time>
|
||||
|
||||
<span class="glyphicon glyphicon-list"></span>
|
||||
<a href="{{ cms_path('post', {id: post.id, post: post.slug}) }}#form">
|
||||
{% set count = post.countActiveComments %}
|
||||
{% if count < 2 %}
|
||||
{{ count|replace({'0': 'Aucun'}) }} commentaire
|
||||
{% else %}
|
||||
{{ count }} commentaires
|
||||
{% endif %}
|
||||
</a>
|
||||
|
||||
|
||||
<ul class="labels">
|
||||
{% for category in post.categories %}
|
||||
<li><span class="label label-primary"><a href="{{ cms_path('category', {id: category.id, category: category.slug}) }}">{{ category.title }}</a></span></li>
|
||||
|
@ -67,81 +93,88 @@
|
|||
</footer>
|
||||
{% endif %}
|
||||
</article>
|
||||
#}
|
||||
|
||||
{% if full is defined %}
|
||||
<div class="comments">
|
||||
{% if post.hasComments %}
|
||||
<hr />
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
{% if post.hasComments %}
|
||||
<hr />
|
||||
|
||||
{% for comment in post.orderedComments %}
|
||||
{% if comment.active and not comment.parentCommentId %}
|
||||
{{ include('DeblanBlogBundle:Default:theComment.html.twig', {level: 1}) }}
|
||||
{% for comment in post.orderedComments %}
|
||||
{% if comment.active and not comment.parentCommentId %}
|
||||
{{ include('DeblanBlogBundle:Default:theComment.html.twig', {level: 1}) }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
|
||||
<div id="form"></div>
|
||||
<div class="comments">
|
||||
<div id="form"></div>
|
||||
|
||||
<hr />
|
||||
<hr />
|
||||
|
||||
<h2>Ajouter un commentaire</h2>
|
||||
<h2>Ajouter un commentaire</h2>
|
||||
|
||||
<div class="alert alert-info hide" id="answer_inprogress">
|
||||
<button id="cancel_answer" class="btn btn-default pull-right">Annuler</button>
|
||||
<p>Vous répondez à un commentaire.</p>
|
||||
<div class="alert alert-info hide" id="answer_inprogress">
|
||||
<button id="cancel_answer" class="btn btn-default pull-right">Annuler</button>
|
||||
<p>Vous répondez à un commentaire.</p>
|
||||
</div>
|
||||
|
||||
<form class="form-horizontal" method="post" data-secured role="form" data-target="{{ cms_path('post', {id: post.id, post: post.slug}) }}" action="{{ cms_path('bot') }}">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Author">Auteur</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Author) }}
|
||||
{{ form_errors(form.Author) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Website">Site web</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Website) }}
|
||||
{{ form_errors(form.Website) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Email">Email</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Email) }}
|
||||
{{ form_errors(form.Email) }}
|
||||
<span class="help-block">L'email n'est pas affiché. Vous pouvez utiliser un avatar à l'aide de <a href="http://fr.gravatar.com/">Gravatar</a>.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Content">Commentaire</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Content) }}
|
||||
{{ form_errors(form.Content) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label"></label>
|
||||
<div class="col-sm-10">
|
||||
<label>{{ form_widget(form.Follow) }} M'informer des nouveaux commentaires</label>
|
||||
{{ form_errors(form.Follow) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group submit">
|
||||
<label class="col-sm-2 control-label">Publier</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="submit" class="btn btn-primary" value="Publier" />
|
||||
</div>
|
||||
</div>
|
||||
{{ form_widget(form.ParentCommentId) }}
|
||||
|
||||
{{ form_rest(form) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form class="form-horizontal" method="post" data-secured role="form" data-target="{{ cms_path('post', {id: post.id, post: post.slug}) }}" action="{{ cms_path('bot') }}">
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Author">Auteur</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Author) }}
|
||||
{{ form_errors(form.Author) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Website">Site web</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Website) }}
|
||||
{{ form_errors(form.Website) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Email">Email</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Email) }}
|
||||
{{ form_errors(form.Email) }}
|
||||
<span class="help-block">L'email n'est pas affiché. Vous pouvez utiliser un avatar à l'aide de <a href="http://fr.gravatar.com/">Gravatar</a>.</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label" for="comment_Content">Commentaire</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.Content) }}
|
||||
{{ form_errors(form.Content) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label"></label>
|
||||
<div class="col-sm-10">
|
||||
<label>{{ form_widget(form.Follow) }} M'informer des nouveaux commentaires</label>
|
||||
{{ form_errors(form.Follow) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group submit">
|
||||
<label class="col-sm-2 control-label">Publier</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="submit" class="btn btn-primary" value="Publier" />
|
||||
</div>
|
||||
</div>
|
||||
{{ form_widget(form.ParentCommentId) }}
|
||||
|
||||
{{ form_rest(form) }}
|
||||
</form>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
|
|
@ -26,17 +26,25 @@
|
|||
{% endfor %}
|
||||
|
||||
{% if page.pager.hasPreviousPage or page.pager.hasNextPage %}
|
||||
<div class="btn-toolbar" role="toolbar">
|
||||
<div class="btn-group">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('tiny', {page: page.pager.getPreviousPage}) }}">Précédent</a>
|
||||
{% endif %}
|
||||
|
||||
{% if page.pager.hasNextPage %}
|
||||
<a class="btn btn-primary" href="{{ cms_path('tiny', {page: page.pager.getNextPage}) }}">Suivant</a>
|
||||
{% endif %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<hr />
|
||||
<ul class="pager">
|
||||
{% if page.pager.hasPreviousPage %}
|
||||
<li class="previous">
|
||||
<a href="{{ cms_path('tiny', {page: page.pager.getPreviousPage}) }}">Précédent</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
{% if page.pager.hasNextPage %}
|
||||
<li class="next">
|
||||
<a href="{{ cms_path('tiny', {page: page.pager.getNextPage}) }}">Suivant</a>
|
||||
</li>
|
||||
{% endif %}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
|
|
@ -7,61 +7,66 @@
|
|||
{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<article class="post">
|
||||
<header>
|
||||
<h1>{{ render_block('title') }}</h1>
|
||||
</header>
|
||||
<article>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<h1>{{ render_block('title') }}</h1>
|
||||
|
||||
<div class="post-content">
|
||||
{{ render_block('content1') }}
|
||||
<hr />
|
||||
|
||||
<form class="form-horizontal" action="{{ cms_path('bot') }}" data-secured data-target="{{ cms_path('contact') }}" method="post" {{ form_enctype(form) }}>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Qui c'est ?</label>
|
||||
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.name) }}
|
||||
{{ form_errors(form.name) }}
|
||||
</div>
|
||||
{{ render_block('content1') }}
|
||||
|
||||
<hr />
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Email</label>
|
||||
<div class="col-lg-8 col-lg-offset-2 col-md-10 col-md-offset-1">
|
||||
<form class="form-horizontal" action="{{ cms_path('bot') }}" data-secured data-target="{{ cms_path('contact') }}" method="post" {{ form_enctype(form) }}>
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Qui c'est ?</label>
|
||||
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.email) }}
|
||||
{{ form_errors(form.email) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Sujet</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.name) }}
|
||||
{{ form_errors(form.name) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Email</label>
|
||||
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.subject) }}
|
||||
{{ form_errors(form.subject) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Message</label>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.email) }}
|
||||
{{ form_errors(form.email) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Sujet</label>
|
||||
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.message) }}
|
||||
{{ form_errors(form.message) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group submit">
|
||||
<label class="col-sm-2 control-label">Envoyer dans Internets</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="submit" class="btn btn-primary" value="Envoi la monnaie !" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.subject) }}
|
||||
{{ form_errors(form.subject) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="col-sm-2 control-label">Message</label>
|
||||
|
||||
{{ form_rest(form) }}
|
||||
</form>
|
||||
<div class="col-sm-10">
|
||||
{{ form_widget(form.message) }}
|
||||
{{ form_errors(form.message) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group submit">
|
||||
<label class="col-sm-2 control-label">Envoyer dans Internets</label>
|
||||
<div class="col-sm-10">
|
||||
<input type="submit" class="btn btn-primary" value="Envoi la monnaie !" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ form_rest(form) }}
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
{% endblock %}
|
||||
|
|
|
@ -0,0 +1,137 @@
|
|||
trinity:
|
||||
dashboard:
|
||||
index:
|
||||
title: 'Dashboard'
|
||||
helper: ~
|
||||
|
||||
varseditor:
|
||||
varsadmin:
|
||||
index:
|
||||
title: 'Global variables editor'
|
||||
|
||||
contentmanager:
|
||||
pageadmin:
|
||||
index:
|
||||
title: 'Page management'
|
||||
new:
|
||||
title: 'New page'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
processEditMetas:
|
||||
title: 'SEO edition'
|
||||
processEditBlocks:
|
||||
title: 'Content edition'
|
||||
processEditPerms:
|
||||
title: 'Advanced settings edition'
|
||||
processEditSitemap:
|
||||
title: 'Sitemap edition'
|
||||
|
||||
navigationadmin:
|
||||
index:
|
||||
title: 'Navigation management'
|
||||
helper: 'A navigation refers to a website with his tree.'
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
|
||||
menuadmin:
|
||||
index:
|
||||
title: 'Menus management'
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
|
||||
editorialblock:
|
||||
editorialblockadmin:
|
||||
index:
|
||||
title: 'Editorials blocks management'
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
|
||||
media:
|
||||
mediaadmin:
|
||||
index:
|
||||
title: 'Medias management'
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
|
||||
typeadmin:
|
||||
index:
|
||||
title: 'Types management'
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
|
||||
categoryadmin:
|
||||
index:
|
||||
title: 'Categories management'
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
|
||||
user:
|
||||
groupadmin:
|
||||
index:
|
||||
title: "Groups management"
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: "Edition"
|
||||
useradmin:
|
||||
index:
|
||||
title: "Gestion des utilisateurs"
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: "Edition"
|
||||
userlogadmin:
|
||||
index:
|
||||
title: 'Logs des utilisateurs'
|
||||
edit:
|
||||
title: 'Edition'
|
||||
|
||||
contact:
|
||||
contactadmin:
|
||||
index:
|
||||
title: "Contacts"
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: "Edition"
|
||||
|
||||
newsletter:
|
||||
newsletteradmin:
|
||||
index:
|
||||
title: "Newsletter"
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: "Edition"
|
||||
|
||||
modeladmin:
|
||||
index:
|
||||
title: "Templates of newsletters"
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: "Edition"
|
||||
|
||||
notification:
|
||||
notificationadmin:
|
||||
index:
|
||||
title: "Notifications"
|
||||
templateadmin:
|
||||
index:
|
||||
title: "Templates of notifications"
|
||||
new:
|
||||
title: 'New'
|
||||
edit:
|
||||
title: "Edition"
|
79
vendor/trinity/src/Trinity/Bundle/AdminBundle/Resources/translations/TrinityAdminBundle.en.yml
vendored
Normal file
79
vendor/trinity/src/Trinity/Bundle/AdminBundle/Resources/translations/TrinityAdminBundle.en.yml
vendored
Normal file
|
@ -0,0 +1,79 @@
|
|||
admin:
|
||||
confirm: 'Do you confirm'
|
||||
|
||||
form:
|
||||
chars: 'characters'
|
||||
char: 'character'
|
||||
|
||||
crud:
|
||||
list:
|
||||
actions:
|
||||
batch: 'Actions:'
|
||||
batchgo: 'Execute'
|
||||
new: 'New'
|
||||
edit: 'Edit'
|
||||
remove: 'Remove'
|
||||
rankable: 'Can be sort by drag & drop'
|
||||
exportTo: 'Export to'
|
||||
empty: 'No result.'
|
||||
|
||||
form:
|
||||
file:
|
||||
select: 'Select a fin'
|
||||
change: 'Modify selection'
|
||||
|
||||
buttons:
|
||||
back: 'Back'
|
||||
edit_same: 'Save'
|
||||
save_new: 'Save and add'
|
||||
remove: 'Remove'
|
||||
urlpicker:
|
||||
title: "Select a link of the CMS"
|
||||
|
||||
|
||||
pager:
|
||||
next: 'Next'
|
||||
previous: 'Previous'
|
||||
askPage: 'On what page would you like to visit? (1 to %max%)'
|
||||
result:
|
||||
plural: 'results'
|
||||
singular: 'result'
|
||||
|
||||
panel:
|
||||
filters: 'Search filters'
|
||||
filtergo: 'Filter'
|
||||
clear: 'Empty filters'
|
||||
history:
|
||||
title: 'Last updates'
|
||||
|
||||
flash:
|
||||
notselected: 'No item selected.'
|
||||
token: 'The security token is not valid.'
|
||||
removed: 'Item removed.'
|
||||
updated:
|
||||
plural: 'Items updated.'
|
||||
singular: 'Item updated.'
|
||||
fail:
|
||||
update: 'Update Failed.'
|
||||
new: 'Creation failed'
|
||||
remove: 'There was a problem while deleting.'
|
||||
unknown: 'Item not found.'
|
||||
|
||||
user:
|
||||
new_password: "New password generated. An email has been sent to the user."
|
||||
|
||||
picker:
|
||||
closeText: '"Close"'
|
||||
prevText: '"<"'
|
||||
nextText: '">"'
|
||||
currentText: '"Now"'
|
||||
monthNames: "['January', 'February', 'Mars', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December']"
|
||||
monthNamesShort: "['Jan.', 'Feb.', 'Mar.', 'Avp.', 'May', 'June', 'July', 'Aug.', 'Sept.', 'Oct.', 'Nov.', 'Dec.']"
|
||||
dayNames: "['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday']"
|
||||
dayNamesShort: "['Sun', 'Mon', 'Tues', 'Wed', 'Thu', 'Fri', 'Sat']"
|
||||
dayNamesMin: "['S', 'M', 'T', 'W', 'T', 'F', 'S']"
|
||||
weekHeader: '"Week"'
|
||||
|
||||
footer:
|
||||
logo: '<a href="http://www.webetdesign.com/"><img src="/bundles/trinityadminmenu/img/logo_trinity.png" class="pull-right muted footer-fixed-logo" /></a>'
|
||||
logo_login: '<img style="margin-bottom:20px;" src="/bundles/trinityadminmenu/img/logo_signin.png" />'
|
|
@ -0,0 +1,136 @@
|
|||
cms:
|
||||
title: 'Content mananger system'
|
||||
|
||||
loading: 'Loading…'
|
||||
|
||||
menu:
|
||||
empty_menu: 'Empty menu.'
|
||||
|
||||
js:
|
||||
request:
|
||||
error: "An error occured."
|
||||
|
||||
panel:
|
||||
history:
|
||||
title: 'Last updated'
|
||||
navs: 'Navigations'
|
||||
filters: 'Filter'
|
||||
|
||||
page:
|
||||
back: 'Back'
|
||||
|
||||
form:
|
||||
tab:
|
||||
metas: 'SEO'
|
||||
blocks: 'Content'
|
||||
permissions: 'Advanced settings'
|
||||
sitemap: 'Sitemap'
|
||||
preview: 'Preview'
|
||||
help: 'Help'
|
||||
open: 'Open'
|
||||
varnish: "Empty The Varnish's cash"
|
||||
metas:
|
||||
edit:
|
||||
cancel: 'Cancel'
|
||||
save: "Save SEO's settings"
|
||||
blocks:
|
||||
edit:
|
||||
cancel: 'Cancel'
|
||||
save: 'Save the content'
|
||||
permissions:
|
||||
edit:
|
||||
cancel: 'Cancel'
|
||||
save: 'Save the advanced settings'
|
||||
sitemap:
|
||||
edit:
|
||||
cancel: 'Cancel'
|
||||
save: "Save sitemap's settings"
|
||||
|
||||
noblock: 'No editable content.'
|
||||
invalid: "The form is not valid."
|
||||
saved: 'Datas saved.'
|
||||
|
||||
node:
|
||||
error:
|
||||
unselected: 'Select a navigation to continue.'
|
||||
|
||||
type:
|
||||
badge:
|
||||
alias: 'alias'
|
||||
external: 'ext.'
|
||||
internal: 'int.'
|
||||
|
||||
action:
|
||||
move: 'Move this item'
|
||||
add: 'Add an item'
|
||||
edit: 'Edit this élément'
|
||||
edit_page: 'Edit the page'
|
||||
remove: 'Remove this item'
|
||||
can_not_remove: 'You can not remove this item because of alias.'
|
||||
can_not_edit: 'No associated page'
|
||||
|
||||
move_context_menu: 'Move'
|
||||
add_context_menu: 'Add'
|
||||
edit_context_menu: 'Edit'
|
||||
edit_page_context_menu: 'Edit the page'
|
||||
remove_context_menu: 'Remove'
|
||||
|
||||
panel:
|
||||
menus: 'Tree'
|
||||
history: 'History'
|
||||
|
||||
form:
|
||||
updated: 'Item updated.'
|
||||
errors: 'There are errors.'
|
||||
|
||||
remove:
|
||||
confirmation: 'You are going to remove an item. Do you confirm?'
|
||||
title: 'Removal request'
|
||||
cancel: 'Cancel'
|
||||
save: 'Remove'
|
||||
|
||||
edit:
|
||||
cancel: 'Exit'
|
||||
save: 'Save'
|
||||
title: "Edit this element"
|
||||
status: 'Visibility settings'
|
||||
visible: 'Visible in the menu'
|
||||
accessible: 'Accessible content'
|
||||
permissions: "Access restrictions"
|
||||
|
||||
tab:
|
||||
configuration: 'Settings'
|
||||
advanded_settings: 'Advanced settings'
|
||||
permissions: 'Status and permissions'
|
||||
page: 'Associate with an orphan page'
|
||||
newpage: 'Generate a new page'
|
||||
keeppage: 'Keep the current page'
|
||||
nopage: 'No page'
|
||||
alias: 'Create an alias'
|
||||
url: 'Internet link'
|
||||
|
||||
|
||||
move:
|
||||
cancel: 'Exit'
|
||||
save: 'Save'
|
||||
title: "Move: "
|
||||
position:
|
||||
above: 'Move below'
|
||||
after: 'Move after'
|
||||
before: 'Move before'
|
||||
|
||||
add:
|
||||
cancel: 'Cancel'
|
||||
save: 'Save'
|
||||
title: 'New item'
|
||||
position:
|
||||
above: 'Add below'
|
||||
after: 'Add after'
|
||||
before: 'Add before'
|
||||
tab:
|
||||
page: 'Associate with an orphan page'
|
||||
newpage: 'Generate a new page'
|
||||
keeppage: 'Keep the current page'
|
||||
nopage: 'No page'
|
||||
alias: 'Create an alias'
|
||||
url: 'Internet link'
|
|
@ -0,0 +1,4 @@
|
|||
dashboard:
|
||||
profile:
|
||||
edit: Profil
|
||||
logout: Logout
|
|
@ -0,0 +1,3 @@
|
|||
tinymce:
|
||||
add:
|
||||
icons: Add an icon
|
|
@ -0,0 +1,3 @@
|
|||
tinymce:
|
||||
add:
|
||||
media: Add a media
|
29
vendor/trinity/src/Trinity/Bundle/SlideshowBundle/Resources/translations/TrinitySlideshowBundle.en.yml
vendored
Executable file
29
vendor/trinity/src/Trinity/Bundle/SlideshowBundle/Resources/translations/TrinitySlideshowBundle.en.yml
vendored
Executable file
|
@ -0,0 +1,29 @@
|
|||
form:
|
||||
page:
|
||||
template:
|
||||
help: '<strong>Symfony path</strong> of the template (eg: TrinityContentManagerBundle::default.html.twig)'
|
||||
dataModel:
|
||||
help: ''
|
||||
|
||||
field:
|
||||
file:
|
||||
delete: 'Remove'
|
||||
open: 'Open'
|
||||
Preview: 'Preview'
|
||||
slideshow_items_container:
|
||||
items: 'List of slides'
|
||||
no_blocks: 'No slideshow.'
|
||||
no_associated_blocks: 'No associated slideshow.'
|
||||
no_slideshow_item: 'No slide'
|
||||
add: 'Add a slideshow'
|
||||
|
||||
cms:
|
||||
node:
|
||||
action:
|
||||
edit: 'Edit'
|
||||
remove: 'Remove'
|
||||
|
||||
slider:
|
||||
add:
|
||||
preview: 'Preview'
|
||||
remove: 'Remove'
|
Binary file not shown.
17
vendor/trinity/src/Trinity/Bundle/UserBundle/Resources/translations/TrinityUserBundle.en.yml
vendored
Normal file
17
vendor/trinity/src/Trinity/Bundle/UserBundle/Resources/translations/TrinityUserBundle.en.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
admin:
|
||||
login:
|
||||
form:
|
||||
title: 'Login'
|
||||
connect: 'Connection'
|
||||
message: |
|
||||
Veuillez saisir un identifiant et <br/>
|
||||
mot de passe valide pour <br/>
|
||||
accéder à la console <br/>
|
||||
d'administration
|
||||
xhr:
|
||||
message: 'You are logged out. To perform new actions, please log on.'
|
||||
|
||||
profile:
|
||||
form:
|
||||
firstname: 'Firstname'
|
||||
lastname: 'Lastname'
|
|
@ -0,0 +1,3 @@
|
|||
error:
|
||||
configuration: 'File not configured.'
|
||||
notFound: 'File not found.'
|
17
vendor/trinity/src/Trinity/Bundle/WidgetBundle/Resources/translations/TrinityWidgetBundle.en.yml
vendored
Normal file
17
vendor/trinity/src/Trinity/Bundle/WidgetBundle/Resources/translations/TrinityWidgetBundle.en.yml
vendored
Normal file
|
@ -0,0 +1,17 @@
|
|||
form:
|
||||
page:
|
||||
template:
|
||||
help: '<strong>Symfony path</strong> of the template (eg: TrinityContentManagerBundle::default.html.twig)'
|
||||
dataModel:
|
||||
help: ''
|
||||
|
||||
field:
|
||||
file:
|
||||
delete: 'Remove'
|
||||
open: 'Open'
|
||||
editorial_blocks_container:
|
||||
items: 'List of editorials blocks'
|
||||
no_blocks: 'No block found.'
|
||||
no_associated_blocks: 'No associated block.'
|
||||
add: 'Add'
|
||||
use_parent: 'use parent block.'
|
|
@ -10,7 +10,8 @@ DirectoryIndex app.php
|
|||
|
||||
RewriteCond %{HTTPS} !on
|
||||
RewriteCond %{SERVER_NAME} =www.deblan.io
|
||||
RewriteRule .*admin.* https://www.deblan.io%{REQUEST_URI} [R,L]
|
||||
RewriteRule .* https://www.deblan.io%{REQUEST_URI} [R,L]
|
||||
|
||||
# Determine the RewriteBase automatically and set it as environment variable.
|
||||
# If you are using Apache aliases to do mass virtual hosting or installed the
|
||||
# project in a subdirectory, the base path will be prepended to allow proper
|
||||
|
|
Loading…
Reference in a new issue