{% extends 'base.html' %} {% load i18n %} {% load static %} {% block content %}
Users
{% trans 'Total users' %}

{{ users_count }}

All users
Hosts
{% trans 'Total hosts' %}

{{ assets_count }}

All hosts
Online
{% trans 'Online users' %}
Connected
{% trans 'Online sessions' %}

{{ online_asset_count }}

Online sessions

{% trans ' Top 5 Active user' %}

{% trans 'In the past week, a total of ' %}{{ user_visit_count_weekly }}{% trans ' users have logged in ' %}{{ asset_visit_count_weekly }}{% trans ' times asset.' %}
    {% for data in user_visit_count_top_five %}
  • {{ data.total }}{% trans ' times/week' %} {{ forloop.counter }} {{ data.user }}
  • {% endfor %}

{% trans 'Active user asset ratio' %}

{% trans 'The following graphs describe the percentage of active users per month and assets per user host per month, respectively.' %}

{% trans 'User' %}
{% trans 'Host' %}

{% trans 'Top 10 assets in a week' %}

{% trans 'Top 10 assets in a week'%}

{% trans 'Login frequency and last login record.' %}
{% if week_asset_hot_ten %} {% for data in week_asset_hot_ten %}
{{ data.asset }}
{{ data.total }}{% trans ' times' %}

{% trans 'The last time a user logged in' %}

{{ data.last.user }}

{% trans 'At ' %}{{ data.last.date_start |date:"Y-m-d H:i:s" }}

{% endfor %} {% else %}

{% trans '(No)' %}

{% endif %}
{% trans 'Last 10 login' %}
10 Messages

{% trans 'Login record' %}

{% trans 'Last 10 login records.' %}
{% if last_login_ten %} {% for login in last_login_ten %}
image
{% ifequal login.is_finished 0 %} {{ login.date_start|timesince }} {% trans 'Before' %} {% else %} {{ login.date_start|timesince }} {% trans 'Before' %} {% endifequal %} {{ login.user }} {% trans 'Login in ' %}{{ login.asset }}
{{ login.date_start }}
{% endfor %} {% else %}

{% trans '(No)' %}

{% endif %}
{% trans 'Top 10 users in a week' %}

{% trans 'Top 10 users in a week' %}

{% trans 'User login frequency and last login record.' %}
{% if week_user_hot_ten %} {% for data in week_user_hot_ten %}
{{ data.user }}
{{ data.total }}{% trans ' times' %}

{% trans 'The last time logged on to the host' %}

{{ data.last.asset }}

{% trans 'At ' %}{{ data.last.date_start |date:"Y-m-d H:i:s" }}

{% endfor %} {% else %}

{% trans '(No)' %}

{% endif %}
{% endblock %} {% block custom_foot_js %} {% endblock %}