RSS Git Download  Clone
Raw Blame History
{% extends 'layout.twig' %}

{% block body %}
    {% include 'navigation.twig' %}

    <div class="container">
        <div class="header row">
            <div class="col-sm-12">
                {% if page in ['commits', 'searchcommits'] %}
                <form class="pull-right" action="{{ app.clone_subdir }}/{{repo}}/commits/{{branch}}/search" method="POST">
                    <input type="search" name="query" class="form-control input-sm" placeholder="Search commits...">
                </form>
                {% else %}
                <form class="pull-right" action="{{ app.clone_subdir }}/{{repo}}/tree/{{branch}}/search" method="POST">
                    <input type="search" name="query" class="form-control input-sm" placeholder="Search tree...">
                </form>
                {% endif %}

                {% if branches is defined %}
                    {% include 'branch_menu.twig' %}
                {% endif %}

                {% include 'menu.twig' %}
            </div>
        </div>

        {% block content %}{% endblock %}

        {% include 'footer.twig' %}
    </div>
{% endblock %}