database access for rooms and mqtt client + generator
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
{% block content %}
|
||||
<div class="content">
|
||||
<p> {{ user_greeting_before }}{{userinfo.name}}{{user_greeting_after}}</p>
|
||||
<p> {{ user_greeting_before }}{{userinfo.username}}{{user_greeting_after}}</p>
|
||||
<p> {{ landing_information }} </p>
|
||||
<div class="rooms-table">
|
||||
<table>
|
||||
@@ -22,7 +22,7 @@
|
||||
<tbody id="tableRooms">
|
||||
{% for room in roominfo %}
|
||||
<tr>
|
||||
<td><a href="./room/{{ room.shortcode }}">{{ room.name }}</a>
|
||||
<td><a href="/room/{{ room.shortcode }}">{{ room.name }}</a>
|
||||
{%- for sensorinfo in room.roomdata %}
|
||||
{% if sensorinfo.state == 0 %}
|
||||
<td class="data-valid">
|
||||
|
||||
Reference in New Issue
Block a user