2015-05-30 06:22:06 +00:00
|
|
|
{% extends "::base.html.twig" %}
|
|
|
|
|
2015-05-31 00:01:48 +00:00
|
|
|
{% block content %}
|
|
|
|
<div class="well well-lg">
|
2015-05-31 07:02:00 +00:00
|
|
|
{# @todo rewrite to Symfony forms #}
|
2015-06-02 03:41:50 +00:00
|
|
|
<form class="form-inline" method="post" action="{{ path('user_search') }}">
|
2015-05-31 00:01:48 +00:00
|
|
|
<div class="form-group">
|
2015-06-02 03:21:23 +00:00
|
|
|
<label class="sr-only" for="index-input-username">{{ 'Username'|trans }}</label>
|
2015-05-31 00:01:48 +00:00
|
|
|
<div class="input-group">
|
|
|
|
<div class="input-group-addon">@</div>
|
2015-05-31 07:02:00 +00:00
|
|
|
<input name="login" type="text" class="form-control" id="index-input-username" placeholder="username">
|
2015-05-31 00:01:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-06-02 03:21:23 +00:00
|
|
|
<button type="submit" class="btn btn-primary">{{ 'Search'|trans }}</button>
|
2015-05-31 00:01:48 +00:00
|
|
|
</form>
|
|
|
|
</div>
|
2015-05-30 06:22:06 +00:00
|
|
|
|
2015-05-31 00:01:48 +00:00
|
|
|
<div class="container service-stats">
|
|
|
|
<div class="row">
|
2015-06-02 04:33:21 +00:00
|
|
|
<div class="col-xs-8 col-sm-3"><span class="glyphicon glyphicon-user"></span> {{ 'All users'|trans }}</div>
|
|
|
|
<div class="col-xs-4 col-sm-2">{{ users_count }}</div>
|
2015-05-31 00:01:48 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2015-06-02 04:33:21 +00:00
|
|
|
<div class="col-xs-8 col-sm-3"><span class="glyphicon glyphicon-user"></span> {{ 'Subscribed users'|trans }}</div>
|
|
|
|
<div class="col-xs-4 col-sm-2"><a href="{{ url('user_show', {'login': service_login}) }}">{{ subscribers_count }}</a></div>
|
2015-05-31 00:01:48 +00:00
|
|
|
</div>
|
|
|
|
<div class="row">
|
2015-06-02 04:33:21 +00:00
|
|
|
<div class="col-xs-8 col-sm-3"><span class="glyphicon glyphicon-list"></span> {{ '24 hours events'|trans }}</div>
|
|
|
|
<div class="col-xs-4 col-sm-2">{{ events_count }}</div>
|
2015-05-31 00:01:48 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-30 06:22:06 +00:00
|
|
|
{% endblock %}
|