point-tools/app/Resources/views/base.html.twig
2015-05-31 05:48:12 +03:00

52 lines
2.1 KiB
Twig

{% extends '::layout.html.twig' %}
{% block header_title %}Point Tools{% endblock %}
{% block css %}
{{ parent() }}
<link href="{{ asset('bundles/skobkinpointtools/css/main.css') }}" rel="stylesheet">
{% endblock %}
{% block header_navbar %}
<nav class="navbar navbar-inverse navbar-fixed-top">
<div class="container">
{%- block header_navbar_container -%}
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar"
aria-expanded="false" aria-controls="navbar">
<span class="sr-only">{{ 'Toggle navigation'|trans }}</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ path('index') }}">Point Tools</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
{% block header_navbar_menus %}
<ul class="nav navbar-nav">
<li><a href="{{ path('index') }}"><span class="glyphicon glyphicon-home"></span> {{ 'Main'|trans }}</a></li>
<li><a href="{{ path('users_top') }}"><span class="glyphicon glyphicon-stats"></span> TOP</a></li>
</ul>
{% endblock %}
</div>
{%- endblock -%}
</div>
</nav>
{% endblock %}
{% block container %}
<div class="row content">
{% block content %}{% endblock %}
</div>
{% endblock %}
{% block footer %}
<div class="row">
<div class="copyright col-sm-6 col-xs-12">
<p>
&copy; 2015{% if 2015 != 'now'|date('Y') %}-{{ 'now'|date('Y') }}{% endif %}
<a href="https://skobk.in/" target="_blank">Alexey Skobkin</a> aka <a href="https://skobkin-ru.point.im/" target="_blank">@skobkin-ru</a>
</p>
</div>
</div>
{% endblock %}