Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
B
bmon
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
energy
bmon
Commits
09e2efd8
Commit
09e2efd8
authored
Feb 10, 2020
by
Alan Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added Menu Item and basic Template for BMON Essential Reports.
parent
63ff3f76
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
1 deletion
+30
-1
bmon/settings_example.py
bmon/settings_example.py
+2
-1
bmsapp/templates/bmsapp/energy-reports.html
bmsapp/templates/bmsapp/energy-reports.html
+28
-0
No files found.
bmon/settings_example.py
View file @
09e2efd8
...
...
@@ -37,7 +37,8 @@ BMSAPP_HEADER = 'XYZ Remote Monitoring'
# The third item (optional) is True if this item should be the default index page for
# the application.
BMSAPP_NAV_LINKS
=
((
'Map'
,
'map'
),
(
'Graphs/Reports'
,
'reports'
,
True
),
(
'Graphs'
,
'reports'
,
True
),
(
'Energy Reports'
,
'energy-reports'
),
(
'Custom Reports'
,
'custom-reports'
),
(
'Training'
,
'training-anthc'
),
(
'Sys Admin'
,
'admin-reports'
),
...
...
bmsapp/templates/bmsapp/energy-reports.html
0 → 100644
View file @
09e2efd8
{% extends "bmsapp/base.html" %}
{% block pagetitle %}Energy Reports{% endblock %}
{% block head %}
<style>
</style>
{% endblock %}
{% block this_nav_link %}link_energy-reports{% endblock %}
{% block content %}
<h2>
Energy Reports
</h2>
{% endblock %}
{% block scripts %}
<script>
forceReload
=
function
()
{
location
.
reload
(
true
);
};
$
(
function
()
{
$
(
"
#select_org
"
).
change
(
forceReload
);
});
</script>
{% endblock %}
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