Commit 97b76a65 authored by Kristian Tan's avatar Kristian Tan

styling

parent 9c8d4c43
...@@ -25,23 +25,22 @@ ...@@ -25,23 +25,22 @@
(<a href="/remove/{{ pin }}">remove</a>) (<a href="/remove/{{ pin }}">remove</a>)
</p> </p>
{% endif %} {% endif %}
<p>
<ul class="device_details"> <ul class="device_details">
{% if pins[pin].on_date != None or pins[pin].on_time %} {% if pins[pin].on_date != None or pins[pin].on_time %}
<li> <li>
{% if pins[pin].on_date != None %} {% if pins[pin].on_date != None %}
{{ pins[pin].on_date }} Last turned on at: {{ pins[pin].on_date }}
{% endif %} {% endif %}
{% if pins[pin].on_time != None %} {% if pins[pin].on_time != None %}
{{ pins[pin].on_time }} , {{ pins[pin].on_time }}
{% endif %} {% endif %}
</li> </li>
{% endif %} {% endif %}
<li>Device Wattage: {{ pins[pin].wattage }} </li> <li>Device Wattage: {{ pins[pin].wattage }} </li>
</ul> </ul>
</p>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
<br>
<p><a href="/devices/add_device">Add device</a></p> <p><a href="/devices/add_device">Add device</a></p>
{% if display_change_kWh == True %} {% if display_change_kWh == True %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment