RSS Git Download  Clone
Raw Blame History
{% extends 'layout.twig' %}
{% block title %}P3X GitList{% endblock %}

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

<div class="container" id="p3x-gitlist-index">
    <div class="search form-group">
        <div class="input-group">
            <input class="search form-control" name="query-repo" placeholder="Search repositories" autofocus value=""/>
            <span class="input-group-btn">
                <button class="btn btn-default" type="button" id="p3x-gitlist-index-list-clear">
                    <i class="fas fa-times"></i>
                </button>
            </span>
        </div>
    </div>

    <div class="list">
        {% for repository in repositories %}
        <table class="table table-bordered table-striped">
            <thead>
            <tr>
               <th>
                   <i class="fas fa-cube"></i>&nbsp;
                   <a href="{{ path('repository', {repo: repository.name}) }}">
                       <span class="name">{{ repository.name | remove_extension }}</span>
                   </a>
                   <a href="{{ path('rss', {repo: repository.name, branch: 'master'}) }}"><i class="fa fa-rss pull-right"></i></a>
               </th>
            </tr>
            </thead>
            <tbody>
                <tr>
                    <td>
                        <span class="description">
                        {% if repository.description %}
                            {{ repository.description }}
                        {% else %}
                            There is no repository description file. Please, create one to remove this message.
                        {% endif %}
                        </span>
                    </td>
                </tr>
            </tbody>
        </table>
        {% endfor %}
    </div>


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