{% extends "bootstrap.html" %} {% block title %}{{super()}} :: Statistics{%- if selecthood %} for {{ selecthood }}{%- endif -%}{%- if selectgw %} for GW {{ selectgw }}{%- endif -%}{% endblock %} {% block head %}{{super()}} {% endblock %} {% block content %}
Hoods
{%- for hood, value in hoods|dictsort %} {%- endfor %}
Hood Online Offline Unknown Total Clients Stats
{{ hood }} {{ value["online"] or 0 }} {{ value["offline"] or 0 }}{%- if value["orphaned"] %} ({{ value["orphaned"] or 0 }}){%- endif %} {{ value["unknown"] or 0 }} {{ hoods_sum[hood]["routers"] }} {{ hoods_sum[hood]["clients"] }} Stats
Sum {{ router_status.online or 0 }} {{ router_status.offline or 0 }} {{ router_status.unknown or 0 }} {{ router_status.sum or 0 }} {{ clients }} Global
Routers{%- if selecthood %} @ {{ selecthood }}{%- endif -%}{%- if selectgw %} @ {{ selectgw }} (selected only){%- endif -%}
Clients{%- if selecthood %} @ {{ selecthood }}{%- endif -%}{%- if selectgw %} @ {{ selectgw }} (selected only){%- endif -%}
Newest Routers{%- if selecthood %} @ {{ selecthood }}{%- endif -%}{%- if selectgw %} @ {{ selectgw }}{%- endif -%}
{%- for router in newest_routers|reverse %} {%- endfor %}
Hostname Hood Created
{{ router.hostname }} {{ router.hood }} {{ router.created|utc2local|format_dt }}
Gateways (selected / others){%- if selecthood %} @ {{ selecthood }}{%- endif -%}
{%- for mac, value in gws.items() %} {%- endfor %}
Gateway Online Offline Total Clients Stats

{{ gws_info[mac]["label"] }}

{%- if gws_info[mac]["gw"] %}

{{ mac }} {%- if gws_info[mac]["batmac"] %} / {{ gws_info[mac]["batmac"] }} {%- endif %}

{%- endif %}
{{ value["selected"]["online"] or 0 }} / {{ value["others"]["online"] or 0 }} {{ value["selected"]["offline"] or 0 }} / {{ value["others"]["offline"] or 0 }} {{ gws_sum[mac]["routers"] if gws_sum[mac] else 0 }} / {{ value["others"]|sumdict if value["others"] else 0 }} {{ gws_sum[mac]["clients"] if gws_sum[mac] }} Stats
{%- if selectgw %}
Gateway-Details
{%- if gws_info[selectgw]["stats_page"] %} {%- endif %} {%- for a in gws_admin %} {%- endfor %}
Gateway{{ gws_info[selectgw]["gw"] }}
Interface{{ gws_info[selectgw]["gwif"] }}
MAC address{{ selectgw }}
BatX interface{{ gws_info[selectgw]["batX"] }}
Stats page{{ gws_info[selectgw]["stats_page"] }}
Admin{{ a }}
{%- endif %}
Router Firmwares{%- if selecthood %} @ {{ selecthood }}{%- endif -%}{%- if selectgw %} @ {{ selectgw }}{%- endif -%}
Router Models{%- if selecthood %} @ {{ selecthood }}{%- endif -%}{%- if selectgw %} @ {{ selectgw }}{%- endif -%}
{% endblock %}