2017-01-06 18:56:36 +01:00
|
|
|
{% extends "zerver/portico.html" %}
|
|
|
|
|
|
|
|
{% block portico_content %}
|
|
|
|
<div class="authors-page-header">
|
|
|
|
<i class='icon-vector-github'></i> Contributors
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
|
|
|
{% for row in data %}
|
|
|
|
<div class="row">
|
|
|
|
{% for group in (row[0:2], row[2:4]) %}
|
|
|
|
<div class="span6">
|
|
|
|
{#
|
2017-02-28 04:44:31 +01:00
|
|
|
Using tables here is a hack to work around the inflexible bootstrap v2.1.1
|
|
|
|
grid system.
|
2017-01-06 18:56:36 +01:00
|
|
|
#}
|
|
|
|
<table class="authors_row">
|
|
|
|
<tr>
|
|
|
|
{% for person in group %}
|
|
|
|
<td>
|
|
|
|
{% if person %}
|
|
|
|
<a href="https://github.com/{{ person.name }}">
|
|
|
|
<div class="avatar float-left">
|
|
|
|
<img class="avatar_img" src="{{ person.avatar }}" alt="Avatar" />
|
|
|
|
</div>
|
|
|
|
<div class='info float-right'>
|
|
|
|
<b>@{{ person.name }}</b><br />
|
|
|
|
{{ person.commits }} commits
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</td>
|
|
|
|
{% endfor %}
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
<div class="span12">
|
|
|
|
Statistic last Updated: {{ date }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endblock %}
|