diff --git a/.gitignore b/.gitignore
index 83e6fff..0b33d80 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,5 +5,3 @@ __pycache__/
build/
dist/
logs/
-.venv/
-scripts/strava_token.txt
diff --git a/README.md b/README.md
index 2c5897d..2eb62d9 100644
--- a/README.md
+++ b/README.md
@@ -77,7 +77,6 @@ zoffline can be installed on the same machine as Zwift or another local machine.
- TZ=Europe/London
volumes:
- ./storage/:/usr/src/app/zwift-offline/storage
- - ${ZWIFT_WORKOUTS_DIR:-~/Documents/Zwift/Workouts}:/root/Documents/Zwift/Workouts
ports:
- 80:80
- 443:443
@@ -86,7 +85,6 @@ zoffline can be installed on the same machine as Zwift or another local machine.
restart: unless-stopped
```
* In the ``volumes`` tag replace ``./storage/`` before the ``:`` with the directory path you want to use as your local zoffline data store.
- * Set ``ZWIFT_WORKOUTS_DIR`` if your local Zwift workouts folder is not ``~/Documents/Zwift/Workouts``.
* If you are not running zoffline on the same PC that Zwift is running: create a ``server-ip.txt`` file in the ``storage`` directory containing the IP address of the PC running zoffline.
* Start zoffline with: ``docker-compose up -d``
@@ -439,3 +437,4 @@ this project and does not endorse this project.
All product and company names are trademarks of their respective holders. Use of
them does not imply any affiliation with or endorsement by them.
+
diff --git a/cdn/static/web/launcher/intervals.html b/cdn/static/web/launcher/intervals.html
index 14414b1..9f1ee13 100644
--- a/cdn/static/web/launcher/intervals.html
+++ b/cdn/static/web/launcher/intervals.html
@@ -32,36 +32,6 @@
- {% if sync_status %}
-
- -
-
Active provider: {{ active_provider or 'not selected' }}
-
- -
- {% if sync_status.metadata %}
-
Synced workout: {{ sync_status.metadata.name or sync_status.metadata.filename }}
- {{ sync_status.metadata.filename }}
- {% if sync_status.metadata.start_date_local %}
- {{ sync_status.metadata.start_date_local }}
- {% endif %}
- {% else %}
- No synced Intervals workout is cached right now.
- Use "Sync today's workout" before launching Zwift.
- {% endif %}
-
- -
- {% if sync_status.local_status %}
-
Local Zwift catalog: {{ 'ready for launch' if sync_status.local_status.healthy else 'needs refresh' }}
- File: {{ 'present' if sync_status.local_status.file_exists else 'missing' }} | Manifest: {{ 'present' if sync_status.local_status.manifest_entry_exists else 'missing' }}
- {% if sync_status.local_status.manifest_entry %}
- Guid {{ sync_status.local_status.manifest_entry.guid }}, checksum {{ sync_status.local_status.manifest_entry.checksum }}
- {% endif %}
- {% else %}
- Local Zwift catalog: waiting for next sync
- {% endif %}
-
-
- {% endif %}
{% with messages = get_flashed_messages() %}
{% if messages %}
@@ -74,5 +44,19 @@
{% endif %}
{% endwith %}
+ {% if sync_status and aid and akey %}
+
+
+ -
+ {% if sync_status.metadata %}
+
Synced workout: {{ sync_status.metadata.name or sync_status.metadata.filename }}
+ {% else %}
+ No synced Intervals workout.
+ Use "Sync today's workout" before launching Zwift.
+ {% endif %}
+
+
+
+ {% endif %}
{% endblock %}
diff --git a/cdn/static/web/launcher/trainingpeaks.html b/cdn/static/web/launcher/trainingpeaks.html
index 91d933e..8068655 100644
--- a/cdn/static/web/launcher/trainingpeaks.html
+++ b/cdn/static/web/launcher/trainingpeaks.html
@@ -11,15 +11,7 @@
-
-
-
-
-
Manual bridge mode: export TrainingPeaks workouts as .zwo files into a local folder, save that folder path here, then click "Import workouts".
-
-
+
- {% if workout_sync_status %}
-
- -
-
Workout provider: {{ active_workout_provider or 'not selected' }}
- {% if workout_sync_status.metadata %}
- {{ workout_sync_status.metadata.name or workout_sync_status.metadata.filename }}
- {% else %}
- No synced workout cached yet.
- {% endif %}
-
- -
- {% if workout_sync_status.local_status %}
-
Local workout catalog: {{ 'ready for launch' if workout_sync_status.local_status.healthy else 'needs refresh' }}
- {% else %}
- Local workout catalog: waiting for next sync
- {% endif %}
-
-
- {% endif %}