Commit graph

28 commits

Author SHA1 Message Date
6d11f7e887
add user texts and text detail pages
new /texts page lets a user manage their own texts (list +
create form linking to /texts/{id}); /texts/{id} reuses
text.js for the node tree, with a back link to /texts. home
gains a 'My texts' link in the header. the admin texts page
now sources its cross-user list from /api/texts/all.
2026-05-02 21:46:41 +03:00
9979178fd5
style forbidden page with auth-card layout
reuse the centered auth-card shell for the 403 page so the error
state matches the visual language of the rest of the app, with a
primary back-to-home action.
2026-05-01 11:33:49 +03:00
8d38a092d8
style register page with auth-card layout
apply the shared auth-shell + auth-card layout to the register
template, mirroring the login page. ids and the #register-error
element are preserved for the existing cypress auth tests.
2026-05-01 11:33:37 +03:00
a20d12177e
style login page with auth-card layout
introduce .auth-shell and .auth-card classes for the centered,
narrow-card layout shared by login and register, then apply them
to the login template. form ids and the #login-error element are
preserved so the existing cypress auth flows still target them.
2026-05-01 11:33:24 +03:00
e51378b8c7
style admin landing page with shell and card nav
wrap the admin page in the shared header (with the logout button)
and present the texts entry-point as a card-link in a list-cards
list. the #texts and #logout id hooks used by cypress are
preserved.
2026-05-01 11:33:05 +03:00
59ec2e19e8
style admin text detail page with node tree
apply the page shell to the text detail page and add a scoped
.node-tree style block to app.css. the tree dom rendered by text.js
must keep ul/li with buttons and inputs as direct children of each
li (cypress relies on > selectors), so styling is applied entirely
via descendant selectors without wrapping the rendered nodes.
2026-05-01 11:32:49 +03:00
5be645f4e5
style admin texts page with card list and form
apply the page shell to the admin texts page and present each
existing text as a card-link plus the new-text form as a card with
a primary submit button. ids (#texts-list, #newTextName, #submit,
#back) and the name attribute on the input are preserved so the
existing cypress flows continue to work.
2026-05-01 11:32:21 +03:00
2349e69c4f
style today page with shell and card list
wrap the today page in the shared header + container/stack shell,
render scheduled nodes as cards via list-cards, and add a muted
empty-state message that toggles when no nodes are scheduled.
existing #scheduled-nodes-list and li selectors used by cypress
tests are preserved (the empty message lives in its own element).
2026-05-01 11:31:55 +03:00
807458ebe8
style home page with shell and card list
apply the new design system to the home page: wrap content in a
container/stack shell with a site-header for the logout and today
links, render the texts list as a vertical stack of cards via the
list-cards primitive, and dress the create plan modal with the new
modal/btn classes. js renders each text as an li.card with the
create-plan button preserved so existing cypress hooks (li,
.create-plan, .plan-name, .save-plan, .cancel-plan, ids) keep
matching.
2026-05-01 11:25:45 +03:00
d4a8adc4a4
link app.css and add viewport meta in templates
add a stylesheet link and the standard responsive viewport meta tag
to every page template. purely additive - no markup or selector
changes - so existing cypress assertions and page js id hooks remain
intact. with this commit every page picks up the base styling from
app.css.
2026-05-01 11:24:30 +03:00
6314f1c38c
add link to today page on home 2026-04-26 21:24:55 +03:00
bfacb5b62c
add today view route and template 2026-04-26 21:24:35 +03:00
4e039fb583
add logout button to admin 2026-04-24 13:30:14 +03:00
e4494a0577
add logout button to home 2026-04-24 13:30:04 +03:00
ce029fafa2
add register template 2026-04-24 13:29:25 +03:00
6e0cda7f3e
add login template 2026-04-24 13:29:16 +03:00
a7b7a4a96b
add forbidden template 2026-04-24 13:26:01 +03:00
b50413f7c9
add modal form fields and buttons 2026-04-24 10:22:45 +03:00
3d88a1d816
add create plan modal markup 2026-04-24 10:21:29 +03:00
95ea38acfa
add home template 2026-04-23 10:01:45 +03:00
68da48aedd
add view for single text 2026-04-17 09:23:38 +03:00
5c5f3f7118
Update texts template to load list and submit via AJAX 2026-04-15 20:47:14 +03:00
d5bc01f6bd
add form for creating texts 2026-04-12 22:40:46 +03:00
e4001b564a
add texts page for admin 2026-04-12 21:53:11 +03:00
3165bff891
put link to admin/texts in admin page 2026-04-12 21:51:30 +03:00
6b4ea8a1f4
remove all twig related code 2026-04-11 22:41:30 +03:00
6d75d3770a
use regular php files instead of twig 2026-04-11 22:36:30 +03:00
59a8fc5164
add admin file template 2026-03-22 10:28:46 +02:00