{% extends "_template_page.html" %} {% block page_title %}Modis Lock{% endblock %} {% block page_css %} {% assets 'tables_css' %} {% endassets %} {% endblock %} {% block page_heading %}

Dashboard

{% endblock %} {% block page_name %} Dashboard {% endblock %} {% block page_content %}
Number of validations and denies in the last 24hours

Validations

Approved/Denied
  • {{ valid_count }}

    Total validations
  • {{ denied_count }}

    Total denials
Updated on Analysis of validations: {% if attacks == True %}Potential attack detected{% else %}No attacks detected{% endif %}
System Running
System
System 

{{ system['host_temp'] }}°C

CPU 

{{ system['cpu_temp'] }}°C

D.Free 

{{ '%0.1f'| format(100-storage|float) }}%

M.Free 

{{ '%0.1f' | format((memory_free/memory_total) * 100|float) }}%

DOOR 1 
Uptime  {% set days = system['uptime'] // 60 // 60 // 24 %} {% set hours = (system['uptime'] // 60 // 60) % 24 %} {% set minutes = (system['uptime'] // 60) % 60 %}

{{ days }}d:{{ hours }}h:{{ minutes }}m

Warnings 

{{ errors }}

DOOR 2 
Readers
{% if reader_count > 0 %}Connected{% else %}!Connected{% endif %}

{{ reader_count }}

{# Recent Events #}
Recent Activity
Name Event Type Event Time Event Location Event Direction
{% endblock %} {% block page_js %} {{ super() }} {% assets 'tables_js' %} {% endassets %} {% assets 'index_js' %} {% endassets %} {% endblock %}