- gitlist.git
- twig
- stats.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_page.twig' %}
{% set page = 'stats' %}
{% block title %}P3X GitList{% endblock %}
{% block content %}
{% include 'breadcrumb.twig' with {breadcrumbs: [{dir: 'Statistics', path:''}]} %}
<div class="p3x-gitlist-breadcrumb-divider"></div>
<table class="p3x-gitlist-stats table stats">
<thead>
<tr>
<th width="30%"><span class="fas fa-file"></span> File extensions ({{ stats.extensions|length }})</th>
<th width="40%"><span class="fa fa-users"></span> Authors ({{ authors|length }})</th>
<th width="30%"><span class="fa fa-star"></span> Other</th>
</tr>
</thead>
<tbody>
<tr>
<td>
<ul>
{% for ext, amount in stats.extensions %}
<li><strong>{{ ext }}</strong>: {{ amount }} files</li>
{% endfor %}
</ul>
</td>
<td>
<ul>
{% for author in authors %}
<li><strong><a href="mailto:{{ author.email }}">{{ author.name }}</a></strong>: {{ author.commits }} commits</li>
{% endfor %}
</ul>
</td>
<td>
<p>
<strong>Total files:</strong> {{ stats.files }}
</p>
<p>
<strong>Total bytes:</strong> {{ stats.size }} bytes ({{ stats.size | format_size }})
</p>
</td>
</tr>
</tbody>
</table>
{% endblock %}