point-tools/app/Resources/views/base.html.twig

64 lines
3.2 KiB
Twig
Raw Normal View History

2015-05-31 00:01:19 +00:00
{% extends '::layout.html.twig' %}
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-11-04 21:30:32 +00:00
<li><a href="{{ path('feed_public') }}"><span class="glyphicon glyphicon-bullhorn"></span> {{ 'Public feed'|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>
2015-06-02 03:45:51 +00:00
<li><a href="https://bitbucket.org/skobkin/point-tools/issues?status=new&status=open" target="_blank"><span class="glyphicon glyphicon-envelope"></span> {{ 'Report a bug'|trans }}</a></li>
</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 %}
2015-05-31 02:48:12 +00:00
<a href="https://skobk.in/" target="_blank">Alexey Skobkin</a> aka <a href="https://skobkin-ru.point.im/" target="_blank">@skobkin-ru</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://bitbucket.org/skobkin/point-tools" target="_blank"><span class="glyphicon glyphicon-download-alt"></span> {{ 'Source code'|trans }}</a>
</p>
</div>
2015-05-31 00:01:19 +00:00
</div>
2015-10-05 00:49:01 +00:00
{% include 'counters.html.twig' %}
2015-05-31 00:01:19 +00:00
{% endblock %}