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

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

    <div class="container">

        {% if page in ['commits', 'searchcommits'] %}
            <form class="form-group" action="{{ app.git_clone_subdir }}/{{repo}}/commits/{{branch}}/search" method="POST">
                <div class="input-group">
                    <input type="search form-control" value="{{ search_query }}" name="query" class="form-control input-sm" placeholder="Search commits..." onkeypress="window.gitlist.setInputQuery('query')" autofocus>
                  <span class="input-group-btn">
                    <button class="btn btn-default btn-sm" type="button" onclick="window.gitlist.clearInput('query')">
                        <i class="fas fa-times"></i>
                    </button>
                  </span>
                </div>
            </form>
        {% else %}
            <form class="form-group" action="{{ app.git_clone_subdir }}/{{repo}}/tree/{{branch}}/search" method="POST">
                <div class="input-group">
                    <input type="search form-control"  value="{{ search_query }}" name="query" class="form-control input-sm" placeholder="Search tree..." onkeypress="window.gitlist.setInputQuery('query')" autofocus>
                  <span class="input-group-btn">
                    <button class="btn btn-default btn-sm" type="button" onclick="window.gitlist.clearInput('query')">
                        <i class="fas fa-times"></i>
                    </button>
                  </span>
                </div>
            </form>
        {% endif %}



        {% include 'menu.twig' %}


        {% block content %}{% endblock %}

    </div>

    {% include 'footer.twig' %}
{% endblock %}