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 #}
|
|
|
|
<form class="form-inline" method="post" action="{{ url('user_search') }}">
|
2015-05-31 00:01:48 +00:00
|
|
|
<div class="form-group">
|
|
|
|
<label class="sr-only" for="index-input-username">Username</label>
|
|
|
|
<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>
|
|
|
|
<button type="submit" class="btn btn-primary">Search</button>
|
|
|
|
</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">
|
|
|
|
<div class="col-xs-2"><span class="glyphicon glyphicon-user"></span> {{ 'All users'|trans }}</div>
|
|
|
|
<div class="col-xs-2">{{ users_count }}</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-2"><span class="glyphicon glyphicon-user"></span> {{ 'Subscribed users'|trans }}</div>
|
|
|
|
<div class="col-xs-2"><a href="{{ url('user_show', {'login': service_login}) }}">{{ subscribers_count }}</a></div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-xs-2"><span class="glyphicon glyphicon-list"></span> {{ 'Last events'|trans }}</div>
|
|
|
|
<div class="col-xs-2">{{ events_count }}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2015-05-30 06:22:06 +00:00
|
|
|
{% endblock %}
|