Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Commits on master

Apply the account-page layout philosophy to admin.html — same shell, same primitives, same UX: (1) extracted the .tab-content-wrapper / .tab-content / .tab-content.hidden / .tab-scroll / .tab-footer primitives from account.html's inline <style> block to primitives.css so admin (and any future settings-style page) gets the shell layout for free; (2) admin.html now uses components/page-header.html (the compact 56px header with breadcrumb + theme toggle + user dropdown) instead of its bespoke 100px-tall header with text-3xl heading and full-pill user button; (3) the centered-container + floating-card-with-shadow chrome (.container mx-auto px-4 ... py-6 wrapping bg-secondary rounded-xl shadow-lg border) is gone — admin now uses the same body.h-full.flex-col.overflow-hidden + main.flex-1.flex-col.min-h-0.overflow-hidden chain as account, so tabs stay fixed at top and only .tab-scroll scrolls; (4) admin's six tab buttons rebuilt with the .tabs primitive inside a .tabs-scroller wrapper so the strip gets horizontal-scroll chevrons when it overflows; (5) each tab's content is wrapped in <div class='tab-content' :class={hidden: activeTab !== 'X'}> + .tab-scroll inside + .tab-footer at the end so the bottom bar carrying the copyright (via the same --footer-version-text CSS variable) stays sticky at the bottom of every tab; (6) standalone <footer> below </main> removed, replaced by a hidden #footer-text span that the existing version-loading JS still writes into; (7) vanilla JS wired for darkModeToggle / userDropdownButton / userDropdownMenu IDs that the page-header partial expects, including the same applyTheme()-on-toggle fix that prevents the theme-dark-{amber/etc} class from staying stuck when the user switches modes; (8) html.h-full added
Murtaza Nasir committed 5 months ago
dfb0dc0
a814093
Drop accidentally committed account-v* screenshots
Murtaza Nasir committed 5 months ago
b659ef8