point-tools/templates/Web/base.html.twig

63 lines
3 KiB
Twig
Raw Permalink Normal View History

{% extends 'Web/layout.html.twig' %}
2015-05-31 00:01:19 +00:00
2015-05-31 02:48:12 +00:00
{% block header_title %}Point Tools{% endblock %}
2015-05-31 00:01:19 +00:00
{% block css %}
{{ parent() }}
<link href="{{ asset('css/main.css') }}" rel="stylesheet">
2015-05-31 00:01:19 +00:00
{% 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>
2015-05-31 02:48:12 +00:00
<a class="navbar-brand" href="{{ path('index') }}">Point Tools</a>
2015-05-31 00:01:19 +00:00
</div>
<div id="navbar" class="collapse navbar-collapse">
{% block header_navbar_menus %}
<ul class="nav navbar-nav">
2015-05-31 02:48:12 +00:00
<li><a href="{{ path('index') }}"><span class="glyphicon glyphicon-home"></span> {{ 'Main'|trans }}</a></li>
2017-01-10 01:24:22 +00:00
<li><a href="{{ path('statistics') }}"><span class="glyphicon glyphicon-stats"></span> {{ 'Statistics'|trans }}</a></li>
2015-06-23 11:20:21 +00:00
<li><a href="{{ path('events_last') }}"><span class="glyphicon glyphicon-th-list"></span> {{ 'Last'|trans }}</a></li>
2015-05-31 00:01:19 +00:00
</ul>
2015-06-02 03:45:51 +00:00
<ul class="nav navbar-nav navbar-right">
2017-01-05 11:35:04 +00:00
<li><a href="https://t.me/PointToolsBot" target="_blank"><span class="glyphicon glyphicon-send"></span> {{ 'Telegram Bot'|trans }}</a></li>
<li><a href="https://git.skobk.in/skobkin/point-tools/issues" target="_blank"><span class="glyphicon glyphicon-envelope"></span> {{ 'Report a bug'|trans }}</a></li>
2015-06-02 03:45:51 +00:00
</ul>
2015-05-31 00:01:19 +00:00
{% endblock %}
</div>
{%- endblock -%}
</div>
</nav>
{% endblock %}
{% block container %}
<div class="row content">
{% block content %}{% endblock %}
</div>
{% endblock %}
{% block footer %}
<div class="row">
2015-06-02 04:33:21 +00:00
<div class="copyright col-xs-8">
2015-05-31 00:01:19 +00:00
<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://lor.sh/@skobkin" target="_blank">@skobkin</a>
2015-05-31 00:01:19 +00:00
</p>
</div>
2015-06-02 04:33:21 +00:00
<div class="powered-by col-xs-4">
2015-06-02 04:15:41 +00:00
<p class="pull-right">
<a href="https://github.com/skobkin/point-tools" target="_blank"><span class="glyphicon glyphicon-download-alt"></span> {{ 'Source code'|trans }}</a>
2015-06-02 04:15:41 +00:00
</p>
</div>
2015-05-31 00:01:19 +00:00
</div>
{% include 'Web/counters.html.twig' %}
2015-05-31 00:01:19 +00:00
{% endblock %}