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 @@
- +| username | clientid | state | - - {% for sess in mqtt_server[1].sessions[1].clients %} -
|---|---|---|
| {{ sess[0].username }} | -{{ sess[0].client_id }} | -{{ sess[0].state }} | -
| uid | jid | state | - - {% for client in xmpp_server.clients %} -
|---|---|---|
| {{ client.uid }} | -{{ client.bumper_jid }} | -{% if client.state == 4 %} connected {% else %} not connected {% endif %} | -
| username | +clientid | +state | +
|---|---|---|
| {{ sess[0].username }} | +{{ sess[0].client_id }} | +{{ sess[0].state }} | +
| uid | +jid | +state | +
|---|---|---|
| {{ client.uid }} | +{{ client.bumper_jid }} | ++ {% if client.state == 4 %} connected {% else %} not connected {% endif %} | +
| SN | Nickname | Class | DID | Resource | Company | MQTT Connected | XMPP Connected | Action | - - {% for bot in bots %} -
|---|---|---|---|---|---|---|---|---|
| {{ bot.name }} | -{{ bot.nick }} | -{{ bot.class }} | -{{ bot.did }} | -{{ bot.resource }} | -{{ bot.company}} | - -{{ bot.mqtt_connection }} | -{{ bot.xmpp_connection }} | -- |
| SN | +Nickname | +Class | +DID | +Resource | +Company | +MQTT Connected | +XMPP Connected | +Action | +
|---|---|---|---|---|---|---|---|---|
| {{ bot.name }} | +{{ bot.nick }} | +{{ bot.class }} | +{{ bot.did }} | +{{ bot.resource }} | +{{ bot.company }} | + +{{ bot.mqtt_connection }} | +{{ bot.xmpp_connection }} | ++ + | +
| User ID | Realm | Resource | MQTT Connected | XMPP Connected | Action | - - {% for client in clients %} -
|---|---|---|---|---|---|
| {{ client.userid }} | -{{ client.realm }} | -{{ client.resource }} | -{{ client.mqtt_connection }} | -{{ client.xmpp_connection }} | -- |
| User ID | +Realm | +Resource | +MQTT Connected | +XMPP Connected | +Action | +
|---|---|---|---|---|---|
| {{ client.userid }} | +{{ client.realm }} | +{{ client.resource }} | +{{ client.mqtt_connection }} | +{{ client.xmpp_connection }} | ++ + | +