diff --git a/V2/app/public/create-workout.html b/V2/app/public/create-workout.html
index cf5bc84..201992b 100644
--- a/V2/app/public/create-workout.html
+++ b/V2/app/public/create-workout.html
@@ -91,14 +91,13 @@
}
el.innerHTML = _slots.map((s, i) => `
`).join('');
}
@@ -172,7 +171,7 @@
document.getElementById('add-slot-btn').addEventListener('click', () => {
if (_slots.length >= MAX_SLOTS) return;
- _slots.push({ video: null, reps: null });
+ _slots.push({ video: null, reps: _slots.length + 1 });
renderSlots();
});
diff --git a/V2/app/public/js/display.js b/V2/app/public/js/display.js
index b436853..70512ef 100644
--- a/V2/app/public/js/display.js
+++ b/V2/app/public/js/display.js
@@ -5,15 +5,7 @@ const Display = (() => {
let _keepAliveEl = null;
function renderWorkout(workout) {
- const nameEl = document.getElementById('display-workout-name');
- const dateEl = document.getElementById('display-workout-date');
const gridEl = document.getElementById('display-video-grid');
-
- if (nameEl) nameEl.textContent = workout.name || '';
- if (dateEl && workout.workoutDate) {
- dateEl.textContent = new Date(workout.workoutDate).toLocaleDateString('en-US', { month: 'long', day: 'numeric' });
- }
-
if (!gridEl) return;
const slots = (workout.videos || []).filter(s => s.video);
@@ -39,9 +31,6 @@ const Display = (() => {
? ``
: `Missing Video
`}
${slot.reps ? `${slot.reps}
` : ''}
-
- ${slot.video.description || 'Exercise'}
-
`;
}).join('');
}
diff --git a/V2/app/public/styles/display.css b/V2/app/public/styles/display.css
index ad7532e..95d0fdb 100644
--- a/V2/app/public/styles/display.css
+++ b/V2/app/public/styles/display.css
@@ -147,8 +147,8 @@ html, body {
}
.display-pane-corner {
position: absolute;
- top: var(--space-4);
- left: var(--space-5);
+ bottom: var(--space-4);
+ right: var(--space-5);
font-size: var(--display-font-primary);
font-weight: var(--weight-black);
color: #fff;
@@ -156,23 +156,6 @@ html, body {
line-height: 1;
font-variant-numeric: tabular-nums;
}
-.display-pane-overlay {
- position: absolute;
- bottom: 0;
- left: 0;
- right: 0;
- padding: var(--space-4) var(--space-6);
- background: linear-gradient(transparent, rgba(0,0,0,0.72));
-}
-.display-pane-name {
- font-size: var(--display-font-label);
- font-weight: var(--weight-bold);
- color: #fff;
- text-shadow: 0 1px 4px rgba(0,0,0,0.8);
- text-transform: uppercase;
- letter-spacing: 0.05em;
- line-height: 1.1;
-}
.display-no-videos {
width: 100%;
height: 100%;
diff --git a/V2/app/public/workout-display.html b/V2/app/public/workout-display.html
index 95f33a2..4035e54 100644
--- a/V2/app/public/workout-display.html
+++ b/V2/app/public/workout-display.html
@@ -9,10 +9,6 @@
@@ -24,7 +20,7 @@
document.addEventListener('DOMContentLoaded', async () => {
const params = new URLSearchParams(window.location.search);
const id = params.get('id');
- if (!id) { document.getElementById('display-workout-name').textContent = 'No workout selected.'; return; }
+ if (!id) { document.getElementById('display-video-grid').innerHTML = 'No workout selected.
'; return; }
Display.startKeepAlive();
diff --git a/V2/app/vitfit.sqlite-shm b/V2/app/vitfit.sqlite-shm
index 11662a9..024809d 100644
Binary files a/V2/app/vitfit.sqlite-shm and b/V2/app/vitfit.sqlite-shm differ
diff --git a/V2/app/vitfit.sqlite-wal b/V2/app/vitfit.sqlite-wal
index 68fee31..75209a6 100644
Binary files a/V2/app/vitfit.sqlite-wal and b/V2/app/vitfit.sqlite-wal differ