Gumby -> Scratch CSS

This commit is contained in:
Marc Ducobu 2014-11-10 12:25:55 +01:00
parent 8af6aee31e
commit 8b0c08154e
2 changed files with 45 additions and 57 deletions

View File

@ -1,18 +1,14 @@
{% extends "ChillMainBundle::layout.html.twig" %}
{% block css %}
{% stylesheets output="css/all.css" filter="cssrewrite"
"bundles/clchillperson/css/person.css"
"bundles/chillperson/css/person.css"
%}
<link rel="stylesheet" href="{{ asset_url }}"/>
{% endstylesheets %}
{% endblock %}
{% block content %}
<div id="person_wrapper">
<div id="general">
<h1>
@ -40,10 +36,9 @@
<p class="nationality detail without_nationality">{% trans %}views.layout.without_nationality{% endtrans %}</p>
{% endif %}
</div>
<div id="person_details">
<section class="tabs vertical">
<section class="container">
{# Note: activeRouteKey should be defined in Controller or child layout #}
{{ chill_menu('person', {
'layout': 'ChillPersonBundle::menu.html.twig',
@ -51,15 +46,10 @@
'activeRouteKey': activeRouteKey
}) }}
<div class="tab-content active columns height">
<div class="grid-8">
{% block personcontent %}<!-- block personcontent empty -->{%endblock%}
</div>
</section>
</div>
</div>
{% endblock %}

View File

@ -1,4 +1,4 @@
<div class="columns four">
<div class="grid-12">
<ul class="tab-nav follow-href-path">
{% for route in routes %}
<li class="{% spaceless %}
@ -8,8 +8,6 @@
{% endspaceless %} ">
<a href="{{ path(route.key, args ) }}" >{{ route.label|trans }}</a>
</li>
{% endfor %}
</ul>
</div>