<!DOCTYPE html>
<html lang="ru">
<head>
  <meta charset="utf-8">
  <title>{% block title %}{% if admin_view.category %}{{ admin_view.category }} - {% endif %}{{ admin_view.name }} - {{ admin_view.admin.name }}{% endblock %}</title>
  <meta name="description" content="">
  <meta name="author" content="">

  <!-- Le javascript -->
  <script src="{{ url_for('admin.static', filename='js/jquery-1.8.0.min.js') }}"></script>
  <script src="{{ url_for('admin.static', filename='bootstrap/js/bootstrap.min.js') }}"></script>
  {% block include_js %}
  {% endblock %}
  <!-- Le styles -->

  <link href="{{ url_for('admin.static', filename='bootstrap/css/bootstrap.min.css') }}" rel="stylesheet" />
  <link href="{{ url_for('admin.static', filename='bootstrap/css/bootstrap-responsive.css') }}" rel="stylesheet" />
  <link href="{{ url_for('admin.static', filename='css/style.css') }}" rel="stylesheet" />

  {% block edit_state %}
  <link href="{{ url_for('admin.static', filename='wysihtml5/bootstrap-wysihtml5-0.0.2.css') }}" rel="stylesheet">
  <script src="{{ url_for('admin.static', filename='wysihtml5/bootstrap-wysihtml5-0.0.2.min.js') }}"></script>
  <script src="{{ url_for('admin.static', filename='wysihtml5/wysihtml5-0.3.0_rc2.min.js') }}"></script>

  {% endblock %}

  {% block include_css %}
  {% endblock %}

  <!-- Le fav and touch icons -->
  <link rel="shortcut icon" href="{{ url_for('admin.static', filename='favicon.png') }}">


  {% block extramedia %}{% endblock %}
  {% include "admin/counter.html" %}
  {% block head %}
  {% endblock %}

</head>

<body>
{% block page_body %}
{% include "admin/header.html" %}

{% with messages = get_flashed_messages() %}
  {% if messages %}
    {% for message in messages %}
    <div class="alert fade in">
      <a class="close" data-dismiss="alert" href="#">&times;</a>
      {{ message }}
    </div>
    {% endfor %}
  {% endif %}
{% endwith %}

{% block fullcontent %}
  {% block content %}{% endblock %}
{% endblock %}

{% endblock %}


</body>
</html>
