{% templatetag openblock %} load static i18n {{ app_name }}_tags {% templatetag closeblock %}

<html>
<head>
    <title>
        {% templatetag openblock %} block title {% templatetag closeblock %}{% templatetag openblock %} endblock {% templatetag closeblock %} Project title
    </title>
    <meta charset="utf-8">
    <link rel="shortcut icon" href="{% templatetag openblock %} static '{{ app_name }}/favicon.ico' {% templatetag closeblock %}">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content=Connection Systems>
    <link rel="stylesheet" type="text/css" href="{% templatetag openblock %} static '{{ app_name }}/bootstrap.css' {% templatetag closeblock %}">
    <link rel="stylesheet" type="text/css" href="{% templatetag openblock %} static '{{ app_name }}/styles.css' {% templatetag closeblock %}">

</head>
<body>
    <div id="content">
        <div class="appContainer">
            <div class="sidebar">
                <div class="logo_wrapper">
                    <div class="logo">
                        <a class="" href="/">{{ items.0.app_name }}</a>
                    </div>
                </div>
                <nav class="menu">
                    <ul>
                        {% templatetag openblock %} for obj in menu {% templatetag closeblock %}
                        <li role="presentation" class="{% templatetag openblock %} is_active obj.url {% templatetag closeblock %}">
                            <a href="{% verbatim %}{{  obj.url }}{% endverbatim %}">
                                <i class="icon fa {% verbatim %}{{ obj.icon }}{% endverbatim %}"></i>
                                <span> {% verbatim %}{{ obj.title }}{% endverbatim %}</span>
                            </a>
                        </li>
                        {% templatetag openblock %} endfor {% templatetag closeblock %}
                    </ul>
                </nav>
            </div>
            <main>
                <div>
                    <div class="topbar">
                        <section class="navigation">
                            {% templatetag openblock %} block back {% templatetag closeblock %}
                                <a class="backlink" href="{% templatetag openblock %} url '{{ app_name }}:index' {% templatetag closeblock %}">
                                    <i class="fa fa-arrow-left"></i><span>{% templatetag openblock %} trans 'Index' {% templatetag closeblock %}</span>
                                </a>
                            {% templatetag openblock %} endblock back {% templatetag closeblock %}
                        </section>
                        <section>
                            <div class="usermenu">
                                <ul class="nav nav-pills">
                                    <li>
                                        {% templatetag openblock %} if user.is_authenticated {% templatetag closeblock %}
                                            {% templatetag openblock %} trans 'Hello' {% templatetag closeblock %} {% templatetag openvariable %} request.user.username {% templatetag closevariable %}
                                            <a href="{% templatetag openblock %} url '{{ app_name }}:logout'{% templatetag closeblock %}">{% templatetag openblock %} trans 'logout' {% templatetag closeblock %}</a>
                                        {% templatetag openblock %} else {% templatetag closeblock %}
                                            <a href="{% templatetag openblock %} url '{{ app_name }}:login' {% templatetag closeblock %}">{% templatetag openblock %}trans 'login' {% templatetag closeblock %}</a>
                                        {% templatetag openblock %} endif {% templatetag closeblock %}
                                    </li>
                                </ul>
                            </div>
                        </section>
                    </div>

                    <div class="container">

                        <div class="row">
                            <div class="col-md-12">
                                <div class="pull-right">
                                    {% templatetag openblock %} block buttons {% templatetag closeblock %}
                                    {% templatetag openblock %} endblock buttons {% templatetag closeblock %}
                                </div>
                                <div class="page-title">
                                    <h1>
                                        {% templatetag openblock %} block header {% templatetag closeblock %}
                                        {% templatetag openblock %} endblock header {% templatetag closeblock %}
                                    </h1>
                                </div>
                            </div>
                        </div>

                        <div>
                            {% templatetag openblock %} block content {% templatetag closeblock %}
                            {% templatetag openblock %} endblock content {% templatetag closeblock %}
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>
</body>
</html>
