copypaste2/templates/layout.html.twig
2019-01-20 07:11:30 +03:00

48 lines
1.9 KiB
Twig

<!DOCTYPE html>
<html>
<head>
{%- block head -%}
<title>{% block title %}CopyPaste{% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="/images/favicon.ico">
{%- block css -%}
<link href="https://yastatic.net/bootstrap/3.3.6/css/bootstrap.min.css" rel="stylesheet" media="screen">
{%- endblock -%}
{# HTML5 Shim and Respond.js add IE8 support of HTML5 elements and media queries #}
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv-printshiv.min.js"></script>
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
<![endif]-->
{%- endblock -%}
</head>
<body>
{% block body %}
<div class="container-fluid">
{% block containter %}
<div class="row">
{% block header %}{% endblock %}
</div>
<div class="row">
<div class="col-lg-2 col-md-2 col-xs-0">
{% block sidebar %}{% endblock %}
</div>
<div class="col-lg-10 col-md-10 col-xs-12">
{% block content %}{% endblock %}
</div>
</div>
<div class="row">
{% block footer %}{% endblock %}
</div>
{% endblock %}
</div>
{% block javascript %}
<script src="https://yastatic.net/jquery/2.2.3/jquery.min.js"></script>
{# Include all JavaScripts, compiled by Assetic #}
<script src="https://yastatic.net/bootstrap/3.3.6/js/bootstrap.min.js"></script>
{% endblock %}
{% endblock %}
</body>
</html>