26 lines
1.1 KiB
Twig
26 lines
1.1 KiB
Twig
{% extends 'manage/general/master.twig' %}
|
|
{% from 'macros.twig' import container_title %}
|
|
|
|
{% block manage_content %}
|
|
<div class="container container--lazy">
|
|
{{ container_title('Overview') }}
|
|
|
|
<div class="container__content">
|
|
<p>Welcome to Manage, here you can manage things.</p>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="container container--lazy">
|
|
{{ container_title('Statistics') }}
|
|
|
|
<div class="manage__statistics">
|
|
{% for counter in counter_infos %}
|
|
<div class="manage__statistic">
|
|
<div class="manage__statistic__name">{{ counter_names[counter.name]|default(counter.name) }}</div>
|
|
<div class="manage__statistic__value">{{ counter.value|number_format }}</div>
|
|
<div class="manage__statistic__updated">as of <time datetime="{{ counter.updatedTime|date('c') }}" title="{{ counter.updatedTime|date('r') }}">{{ counter.updatedTime|time_format }}</time></div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|