summaryrefslogtreecommitdiff
path: root/public/stylesheets/admin.css
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-11 23:43:02 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-11 23:43:02 +0200
commit92c394b43a0603743b914c6298aab986805ca990 (patch)
tree39308770fbae5558d98a7def3d25802ed8083d81 /public/stylesheets/admin.css
parent47beb3fe6ed6fdb75c2dd3a55362ad1aba3bbc3b (diff)
Add drafts/recent/mine/chapters admin node views
Four NodesController actions -- drafts, recent, mine, chapters -- each building its own base scope, sharing one private method (index_matching) for search narrowing and pagination. Wizard rewrite to link into these instead of rendering its own tables is a separate, later step. Node.editor_search backs the shared "q" narrowing: an ILIKE substring match against title/abstract on whichever of head or draft is present, splitting the term on whitespace and requiring every word to match somewhere independently, not as one phrase, since real words can end up separated by markup in the underlying HTML. Deliberately separate from Node.search, the public content search, which stays tsvector-based and head-only. chapters generalizes into /admin/nodes/tags/:tags for an arbitrary tag list (OR'd, not AND'd), sharing the controller action but rendering its own template rather than branching inside one view.
Diffstat (limited to 'public/stylesheets/admin.css')
-rw-r--r--public/stylesheets/admin.css15
1 files changed, 15 insertions, 0 deletions
diff --git a/public/stylesheets/admin.css b/public/stylesheets/admin.css
index 28b8494..aa8b288 100644
--- a/public/stylesheets/admin.css
+++ b/public/stylesheets/admin.css
@@ -748,6 +748,21 @@ form.button_to button[type="submit"] {
748 margin-bottom: 0; 748 margin-bottom: 0;
749} 749}
750 750
751.node_search_form {
752 display: flex;
753 align-items: center;
754 gap: 0.5rem;
755 margin-bottom: 0.75rem;
756}
757
758.node_search_form input[type=text] {
759 padding: 4px 12px;
760 box-sizing: border-box;
761 height: 2.25rem;
762 width: 22rem;
763 border-radius: 2px;
764}
765
751/* Layout only -- the at-rest visibility (wavy underline) for these 766/* Layout only -- the at-rest visibility (wavy underline) for these
752 links comes from the scoped rule in Base elements above. */ 767 links comes from the scoped rule in Base elements above. */
753.add_child_links { 768.add_child_links {