add new information technic and anchive
This commit is contained in:
parent
4f0fc666ec
commit
a9040ec080
2 changed files with 182 additions and 21 deletions
|
@ -2,21 +2,126 @@
|
|||
|
||||
{% block content %}
|
||||
<h2>Моя статистика</h2>
|
||||
{% for x in account_statistics.statistics %}
|
||||
<h3>{{ x }}</h3>
|
||||
{% if account_statistics.statistics[x] is mapping %}
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics[x] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td><td>{{ account_statistics.statistics[x][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
<div class="mui-row">
|
||||
<div class="mui-col-md-3">
|
||||
<ul class="mui-tabs">
|
||||
<li class="mui--is-active"><a data-mui-toggle="tab" data-mui-controls="pane-default-1">Суммарная статистика</a></li>
|
||||
<li><a data-mui-toggle="tab" data-mui-controls="pane-default-2">Бои в составе клана</a></li>
|
||||
<li><a data-mui-toggle="tab" data-mui-controls="pane-default-3">Бои в составе роты</a></li>
|
||||
<li><a data-mui-toggle="tab" data-mui-controls="pane-default-4">Командные бои</a></li>
|
||||
<li><a data-mui-toggle="tab" data-mui-controls="pane-default-5">Оборона Укрепрайона</a></li>
|
||||
<li><a data-mui-toggle="tab" data-mui-controls="pane-default-6">Вылазки Укрепрайона</a></li>
|
||||
<li><a data-mui-toggle="tab" data-mui-controls="pane-default-7">Разное</a></li>
|
||||
</ul>
|
||||
{% else %}
|
||||
<ul>
|
||||
<li>{{ x }}: {{ account_statistics.statistics[x] }}</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% endfor %}
|
||||
</div>
|
||||
<div class="mui-col-md-9">
|
||||
|
||||
<div class="mui-tabs__pane mui--is-active" id="pane-default-1">
|
||||
<h2>Суммарная статистика</h2>
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics['all'] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td>
|
||||
<td>{{ account_statistics.statistics['all'][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
<div class="mui-tabs__pane" id="pane-default-2">
|
||||
<h2>Бои в составе клана</h2>
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics['clan'] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td>
|
||||
<td>{{ account_statistics.statistics['clan'][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
<div class="mui-tabs__pane" id="pane-default-3">
|
||||
<h2>Бои в составе роты</h2>
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics['company'] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td>
|
||||
<td>{{ account_statistics.statistics['company'][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="mui-tabs__pane" id="pane-default-4">
|
||||
<h2>Командные бои</h2>
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics['historical'] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td>
|
||||
<td>{{ account_statistics.statistics['historical'][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="mui-tabs__pane" id="pane-default-5">
|
||||
<h2>Оборона Укрепрайона</h2>
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics['stronghold_defense'] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td>
|
||||
<td>{{ account_statistics.statistics['stronghold_defense'][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="mui-tabs__pane" id="pane-default-6">
|
||||
<h2>Вылазки Укрепрайона</h2>
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics['stronghold_skirmish'] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td>
|
||||
<td>{{ account_statistics.statistics['stronghold_skirmish'][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="mui-tabs__pane" id="pane-default-7">
|
||||
<h2>Разное</h2>
|
||||
<table class="mui-table mui-table--bordered">
|
||||
<p>Поваленые деревья: {{account_statistics.statistics['trees_cut']}}
|
||||
{% for c in account_statistics.statistics['flags'] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td>
|
||||
<td>{{ account_statistics.statistics['flags'][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{#
|
||||
<div class="mui-tabs__pane" id="pane-default-3">
|
||||
{% for x in account_statistics.statistics %}
|
||||
<h3>{{ x }}</h3>
|
||||
{% if account_statistics.statistics[x] is mapping %}
|
||||
<table class="mui-table mui-table--bordered">
|
||||
{% for c in account_statistics.statistics[x] %}
|
||||
<tr>
|
||||
<td>{{ c }}</td><td>{{ account_statistics.statistics[x][c] }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% else %}
|
||||
<ul>
|
||||
<li>{{ x }}: {{ account_statistics.statistics[x] }}</li>
|
||||
</ul>
|
||||
{% endif %}
|
||||
</table>
|
||||
{% endfor %}
|
||||
</div>#}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
|
File diff suppressed because one or more lines are too long
Reference in a new issue