RSS Git Download  Clone
Raw View History
Blames found: 45 Mode: twig Binary: false


Hang on, we reloading big blames...
{% extends 'layout_page.twig' %}
{% set page = 'files' %}
{% block title %}GitList{% endblock %}
{% block content %}
{% embed 'breadcrumb.twig' with {breadcrumbs: breadcrumbs} %} {% block extra %}
<div class="pull-right"> <div class="btn-group download-buttons">
{% if app.show_http_remote or app.show_ssh_remote %} <a href="#" class="btn btn-mini" title="Show remotes to clone this repository." id="clone-button-show">Clone</a> {% endif %}
<a href="{{ path('archive', {repo: repo, branch: branch, format: 'zip'}) }}" class="btn btn-mini" title="Download '{{ branch }}' as a ZIP archive">ZIP</a> <a href="{{ path('archive', {repo: repo, branch: branch, format: 'tar'}) }}" class="btn btn-mini" title="Download '{{ branch }}' as a TAR archive">TAR</a> </div> <a href="{{ path('rss', {repo: repo, branch: branch}) }}" class="rss-icon"><i class="rss"></i></a>
</div>
{% if app.show_http_remote or app.show_ssh_remote %} <div id="clone-popup"> <div id="clone-popup-inner-wrapper"> <a class="close" href="#" id="clone-button-hide">&times;</a> <div class="btn-group"> {% if app.show_ssh_remote %} <button class="btn{{ app.show_ssh_remote and app.show_http_remote ? ' active' }}" id="clone-button-ssh">SSH</button> {% endif %} {% if app.show_http_remote %} <button class="btn" id="clone-button-http">HTTPS</button> {% endif %} </div><br /> {% if app.show_ssh_remote %}
<input type="text" class="form-control{{ app.show_ssh_remote ? ' visible' }}" id="clone-input-ssh" value="git clone {{ app.ssh_user }}{{ app.ssh_user ? '@' }}{{ app.ssh_host ? app.ssh_host : app.request.host }}:{{ app.ssh_url_subdir }}{{ repo }}">
{% endif %} {% if app.show_http_remote %}
<input type="text" class="form-control{{ app.show_ssh_remote is empty and app.show_http_remote ? ' visible' }}" id="clone-input-http" value="git clone http{{ app.use_https ? 's' }}://{{ app.http_user }}{{ app.http_user ? '@' }}{{ app.http_host ? app.http_host : app.request.host }}/{{ app.http_url_subdir }}{{ repo }}">
{% endif %} </div> </div> {% endif %}
{% endblock %} {% endembed %}
{% if files is not empty %}
<table class="tree"> <thead> <tr> <th width="80%">name</th> <th width="10%">mode</th> <th width="10%">size</th> </tr> </thead> <tbody>
{% if parent is not null %}
<tr>
<td><i class="icon-spaced"></i> {% if not parent %} <a href="{{ path('branch', {repo: repo, branch: branch}) }}">..</a> {% else %}
<a href="{{ path('tree', {repo: repo, commitishPath: branch ~ '/' ~ parent}) }}">..</a>
{% endif %} </td>
<td></td> <td></td> </tr> {% endif %} {% for file in files %} <tr>
<td><i class="{{ file.type == "folder" or file.type == "symlink" ? "icon-folder-open" : "icon-file" }} icon-spaced"></i> <a href="
{%- if file.type == "folder" or file.type == "symlink" -%}
{{ path('tree', {repo: repo, commitishPath: branch ~ '/' ~ path ~ (file.type == "symlink" ? file.path : file.name)}) }}
{%- else -%}
{{ path('blob', {repo: repo, commitishPath: branch ~ '/' ~ path ~ (file.type == "symlink" ? file.path : file.name)}) }}
{%- endif -%}
">{{ file.name }}</a></td>
<td>{{ file.mode }}</td>
<td>{% if file.size %}{{ file.size | format_size }}{% endif %}</td>
</tr> {% endfor %} </tbody> </table>
{% else %} <p>This repository is empty.</p> {% endif %}
{% if readme is defined and readme is not empty %}
<div class="readme-view">
<div class="md-header">
<div class="meta">{{ readme.filename }}</div> </div>
<div id="md-content">{{ readme.content }}</div>
</div> {% endif %}
<hr />
{% endblock %}