diff --git a/bumper/web/templates/home.jinja2 b/bumper/web/templates/home.jinja2 index 5e74303..88f9426 100644 --- a/bumper/web/templates/home.jinja2 +++ b/bumper/web/templates/home.jinja2 @@ -1,196 +1,248 @@ - + Bumper - + -

Bumper

- +

Server Status

-
+
- -
-
-

MQTT Server

-
Action:
-
-
- Status: {% if mqtt_server[0].state == "started" %} {{ mqtt_server[0].state }} {% else %} {{ mqtt_server[0].state }} {% endif %} - Sessions: {{ mqtt_server[1].sessions[0].count }} - - - - - - {% for sess in mqtt_server[1].sessions[1].clients %} - - - - - - {% endfor %} -
usernameclientidstate
{{ sess[0].username }}{{ sess[0].client_id }} {{ sess[0].state }}
- -
-
-
+
+
+

MQTT Server

+
Action: + +
+
+
+ Status: {% if mqtt_server[0].state == "started" %} + {{ mqtt_server[0].state }} {% else %} + {{ mqtt_server[0].state }} {% endif %} + Sessions: {{ mqtt_server[1].sessions[0].count }} -
-
-

XMPP Server

-
Action:
-
-
- Status: {% if xmpp_server.server._serving == True %} running {% else %} not running {% endif %} - Clients: {{ xmpp_server.clients | length }} - - - - - - {% for client in xmpp_server.clients %} - - - - - - {% endfor %} -
uidjidstate
{{ client.uid }}{{ client.bumper_jid }}{% if client.state == 4 %} connected {% else %} not connected {% endif %}
+ + + + + + + + + {% for sess in mqtt_server[1].sessions[1].clients %} + + + + + + {% endfor %} +
usernameclientidstate
{{ sess[0].username }}{{ sess[0].client_id }} {{ sess[0].state }}
-
-
+
+
-
+
-
-
-

Helperbot

-
Action:
- -
- -
- Status: {% if helperbot[0].state == "connected" %} {{ helperbot[0].state }} {% else %} {{ helperbot[0].state }} {% endif %} +
+
+

XMPP Server

+
Action: + +
+
+
+ Status: {% if xmpp_server.server._serving == True %} + running {% else %} + not running {% endif %} + Clients: {{ xmpp_server.clients | length }} + + + + + + + + + + {% for client in xmpp_server.clients %} + + + + + + {% endfor %} +
uidjidstate
{{ client.uid }}{{ client.bumper_jid }} + {% if client.state == 4 %} connected {% else %} not connected {% endif %}
+ +
+
+ +
+ +
+
+

Helperbot

+
Action: + +
+ +
+ +
+ Status: {% if helperbot[0].state == "connected" %} + {{ helperbot[0].state }} {% else %} + {{ helperbot[0].state }} {% endif %} + +
+
-
-
-
-
+

Bots

-
+
- - - - - {% for bot in bots %} - - - - - - - - - - - - - {% endfor %} -
SNNicknameClassDIDResourceCompanyMQTT ConnectedXMPP ConnectedAction
{{ bot.name }}{{ bot.nick }}{{ bot.class }}{{ bot.did }}{{ bot.resource }} {{ bot.company}} {{ bot.mqtt_connection }} {{ bot.xmpp_connection }}
+ + + + + + + + + + + + + + + {% for bot in bots %} + + + + + + + + + + + + + {% endfor %} +
SNNicknameClassDIDResourceCompanyMQTT ConnectedXMPP ConnectedAction
{{ bot.name }}{{ bot.nick }}{{ bot.class }}{{ bot.did }}{{ bot.resource }} {{ bot.company }} {{ bot.mqtt_connection }} {{ bot.xmpp_connection }} + +
-
+

Clients

-
+
- - - - - {% for client in clients %} - - - - - - - - - {% endfor %} -
User IDRealmResourceMQTT ConnectedXMPP ConnectedAction
{{ client.userid }}{{ client.realm }}{{ client.resource }} {{ client.mqtt_connection }} {{ client.xmpp_connection }}
-
+ + + + + + + + + + + + {% for client in clients %} + + + + + + + + + {% endfor %} +
User IDRealmResourceMQTT ConnectedXMPP ConnectedAction
{{ client.userid }}{{ client.realm }}{{ client.resource }} {{ client.mqtt_connection }} {{ client.xmpp_connection }} + +
+ - - + + \ No newline at end of file