diff options
| author | Anson Bridges <bridges.anson@gmail.com> | 2023-11-13 13:16:34 -0500 |
|---|---|---|
| committer | Anson Bridges <bridges.anson@gmail.com> | 2023-11-13 13:16:34 -0500 |
| commit | 2cd66acd8ccd81fbdc5e0d8ed71ef28e9c0ad1a7 (patch) | |
| tree | 6b080fb485328736c7bf7da59846875741c621ec /dashboard_website | |
| parent | 9b621eb842d43f9403c063ba1e0fbeee5ff74d74 (diff) | |
fixed misnamed target name property
Diffstat (limited to 'dashboard_website')
| -rw-r--r-- | dashboard_website/__pycache__/datastructs.cpython-311.pyc | bin | 7348 -> 7348 bytes | |||
| -rw-r--r-- | dashboard_website/__pycache__/db.cpython-311.pyc | bin | 8538 -> 11189 bytes | |||
| -rw-r--r-- | dashboard_website/__pycache__/router.cpython-311.pyc | bin | 18525 -> 18525 bytes | |||
| -rw-r--r-- | dashboard_website/dashboard.py | 3 | ||||
| -rw-r--r-- | dashboard_website/db.py | 2 | ||||
| -rw-r--r-- | dashboard_website/static/js/dashboard.js | 2 |
6 files changed, 2 insertions, 5 deletions
diff --git a/dashboard_website/__pycache__/datastructs.cpython-311.pyc b/dashboard_website/__pycache__/datastructs.cpython-311.pyc Binary files differindex 6eb883a..43fc8d9 100644 --- a/dashboard_website/__pycache__/datastructs.cpython-311.pyc +++ b/dashboard_website/__pycache__/datastructs.cpython-311.pyc diff --git a/dashboard_website/__pycache__/db.cpython-311.pyc b/dashboard_website/__pycache__/db.cpython-311.pyc Binary files differindex e463978..48ee159 100644 --- a/dashboard_website/__pycache__/db.cpython-311.pyc +++ b/dashboard_website/__pycache__/db.cpython-311.pyc diff --git a/dashboard_website/__pycache__/router.cpython-311.pyc b/dashboard_website/__pycache__/router.cpython-311.pyc Binary files differindex 7cbbd01..1e21e0e 100644 --- a/dashboard_website/__pycache__/router.cpython-311.pyc +++ b/dashboard_website/__pycache__/router.cpython-311.pyc diff --git a/dashboard_website/dashboard.py b/dashboard_website/dashboard.py index 78fb355..06af267 100644 --- a/dashboard_website/dashboard.py +++ b/dashboard_website/dashboard.py @@ -229,7 +229,4 @@ if __name__ == "__main__": app.config['SESSION_TYPE'] = 'filesystem' app.secret_key = 'hf8f3sd0zmqpmhss7dr3' - # local test app.run(host="127.0.0.1", port=5001, debug=True) - # production - #app.run(host="96.126.106.128", port=5001, debug=True) diff --git a/dashboard_website/db.py b/dashboard_website/db.py index 5f09f47..d4b0186 100644 --- a/dashboard_website/db.py +++ b/dashboard_website/db.py @@ -83,7 +83,7 @@ def getBikeCluePair(team_name): if bike.name == team_name: b = bike for clue in clues: - if clue.name == b.target: + if clue.name == b.target_name: c = clue break break diff --git a/dashboard_website/static/js/dashboard.js b/dashboard_website/static/js/dashboard.js index 647c241..fba7196 100644 --- a/dashboard_website/static/js/dashboard.js +++ b/dashboard_website/static/js/dashboard.js @@ -201,7 +201,7 @@ function requestLatestInfo(){ updateClueStats(); } - document.getElementById("routeinfo").innerText = json['calculating_routes'] ? "ROUTE INFO | (Calculating...)" : "ROUTE INFO"; + document.getElementById("routeinfo").innerHTML = json['calculating_routes'] ? "ROUTE INFO | <span style='color:orange'>(Calculating...)</span>" : "ROUTE INFO"; } fetch(host+'/getLatestInfo', { method: "POST", |
