Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Pages off a tab: the title sits the same distance from the back button
Boris 'B' Kurktchievec195213e13b
diff --git a/frontend/src/views/Admin.jsx b/frontend/src/views/Admin.jsxindex 50f9fc572..caf66c80a 100644--- a/frontend/src/views/Admin.jsx+++ b/frontend/src/views/Admin.jsx@@ -343,7 +343,7 @@ export default function Admin() {return <div className="narrow"><div className="hdr"><button className="iconbtn" data-back="/settings/account" onClick={() => nav('/settings/account')} aria-label="Back"><Icon name="chevronLeft" /></button>- <div style={{ flex: 1, marginInlineStart: 8 }}><h1 style={{ margin: 0 }}>Admin</h1>+ <div style={{ flex: 1, marginInlineStart: 12 }}><h1 style={{ margin: 0 }}>Admin</h1><div className="sub">{users ? users.length + ' users · ' + activeCount + ' active this week' : usersErr ? 'Could not load' : 'Loading…'}</div></div><button className="iconbtn" onClick={() => { loadUsers(); loadInvites(); setTick(n => n + 1) }} aria-label="refresh">↻</button></div>diff --git a/frontend/src/views/CheckIn.jsx b/frontend/src/views/CheckIn.jsxindex a932cf355..0db1f5cd3 100644--- a/frontend/src/views/CheckIn.jsx+++ b/frontend/src/views/CheckIn.jsx@@ -71,8 +71,8 @@ export default function CheckIn() {return <div className="narrow"><div className="hdr"><button className="iconbtn" data-back="/home" onClick={() => nav('/home')} aria-label={t('Home')}><Icon name="chevronLeft" /></button>- <div style={{ flex: 1 }}>- <h1 style={{ fontSize: 28 }}>{t('Check in')}</h1>+ <div style={{ flex: 1, marginInlineStart: 12 }}>+ <h1>{t('Check in')}</h1><div className="sub">{cards.length ? t('Show this at the gym') : t('Add your gym card')}</div></div></div>diff --git a/frontend/src/views/CoachSetup.jsx b/frontend/src/views/CoachSetup.jsxindex d5f8e2b84..875fefebb 100644--- a/frontend/src/views/CoachSetup.jsx+++ b/frontend/src/views/CoachSetup.jsx@@ -151,7 +151,7 @@ export default function CoachSetup() {return <div className="narrow"><div className="hdr"><button className="iconbtn" data-back="/settings" onClick={() => nav('/settings')} aria-label={t('Back')}><Icon name="chevronLeft" /></button>- <div style={{ flex: 1, marginInlineStart: 10 }}><h1>{t('AI Coach')}</h1></div>+ <div style={{ flex: 1, marginInlineStart: 12 }}><h1>{t('AI Coach')}</h1></div></div><Section title={t('How should the Coach run?')} footer={current}>diff --git a/frontend/src/views/Measurements.jsx b/frontend/src/views/Measurements.jsxindex fea960bfb..d648981cb 100644--- a/frontend/src/views/Measurements.jsx+++ b/frontend/src/views/Measurements.jsx@@ -188,7 +188,7 @@ export default function Measurements() {return <div className="narrow"><div className="hdr"><button className="iconbtn" data-back="/stats" onClick={() => nav('/stats')} aria-label={t('Stats')}><Icon name="chevronLeft" /></button>- <div style={{ flex: 1, marginLeft: 10 }}><h1>{t('Body measurements')}</h1><div className="sub">{t('Circumference & composition')}</div></div>+ <div style={{ flex: 1, marginInlineStart: 12 }}><h1>{t('Body measurements')}</h1><div className="sub">{t('Circumference & composition')}</div></div><button className="iconbtn" onClick={manageMeasurementsSheet} aria-label={t('Choose measurements')}><Icon name="gear" /></button></div>