- gitlist.git
- twig
- layout_page.twig
This file ( 2kB ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
{% 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 %}