Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
IoTSmartMeter
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
kristian.tan
IoTSmartMeter
Commits
4c93649c
Commit
4c93649c
authored
Nov 14, 2019
by
Kristian Tan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Show last turned on time
parent
97b76a65
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
main.html
templates/main.html
+2
-7
No files found.
templates/main.html
View file @
4c93649c
...
...
@@ -26,14 +26,9 @@
</p>
{% endif %}
<ul
class=
"device_details"
>
{% if pins[pin].on_
date != None or pins[pin].on_
time %}
{% if pins[pin].on_time %}
<li>
{% if pins[pin].on_date != None %}
Last turned on at: {{ pins[pin].on_date }}
{% endif %}
{% if pins[pin].on_time != None %}
, {{ pins[pin].on_time }}
{% endif %}
Last turned on at: {{ pins[pin].on_time }}
</li>
{% endif %}
<li>
Device Wattage: {{ pins[pin].wattage }}
</li>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment