summaryrefslogtreecommitdiffstats
path: root/index.py
diff options
context:
space:
mode:
authorLukas Metzger2020-05-24 17:17:05 +0200
committerLukas Metzger2020-05-24 17:17:05 +0200
commite86a9d4cca9a57d59c3a92f7a121322db24c06e6 (patch)
tree79025bd6d3ddca7023e25c13776e92d8c4dad220 /index.py
parentAdded loading indication and minor ui fixes (diff)
downloadbwlp-statistics-e86a9d4cca9a57d59c3a92f7a121322db24c06e6.tar.gz
bwlp-statistics-e86a9d4cca9a57d59c3a92f7a121322db24c06e6.tar.xz
bwlp-statistics-e86a9d4cca9a57d59c3a92f7a121322db24c06e6.zip
Added location page
Diffstat (limited to 'index.py')
-rw-r--r--index.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.py b/index.py
index 53b7fb3..a3babb2 100644
--- a/index.py
+++ b/index.py
@@ -9,12 +9,13 @@ import plotly.graph_objects as go
import plotly.express as px
from app import app
-from pages import satellites, total, machines
+from pages import satellites, total, machines, locations
pages = [
{'name': 'Satellites', 'link': '/', 'id': 'satellites', 'layout': satellites.layout},
{'name': 'Total', 'link': '/total', 'id': 'total', 'layout': total.layout},
{'name': 'Machines', 'link': '/machines', 'id': 'machines', 'layout': machines.layout},
+ {'name': 'Locations', 'link': '/locations', 'id': 'locations', 'layout': locations.layout},
]
pio.templates['custom'] = dict(