From 0cc153bb699f0153ed42f619c4bca9820b49a49a Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Sat, 9 May 2026 01:27:40 -0700 Subject: Move star rating to form heading, remove from field grid Co-Authored-By: Claude Sonnet 4.6 --- static/styles.css | 13 ++++++++++++- templates/form.html | 42 ++++++++++++++++++++---------------------- 2 files changed, 32 insertions(+), 23 deletions(-) diff --git a/static/styles.css b/static/styles.css index 24340e7..480ace0 100644 --- a/static/styles.css +++ b/static/styles.css @@ -148,11 +148,22 @@ button:hover { color: var(--text); } -.page-heading, +.page-heading { + padding: 48px 0 26px; +} + .form-heading { + display: flex; + align-items: flex-end; + justify-content: space-between; padding: 48px 0 26px; } +.form-heading .star-button { + font-size: 1.6rem; + width: 1.4em; +} + .page-heading-row, .stats-panel-header { display: flex; diff --git a/templates/form.html b/templates/form.html index 23e6d2d..da76f66 100644 --- a/templates/form.html +++ b/templates/form.html @@ -4,11 +4,6 @@ {% block content %}
-
-

Diary Entry

-

{{ page_title }}

-
- {% if error %}
{{ error }}
{% endif %} @@ -25,6 +20,26 @@
+
+
+

Diary Entry

+

{{ page_title }}

+
+ {% set current_stars = film.stars if film and film.stars else 0 %} + +
+ {% for value in range(1, 4) %} + + {% endfor %} +
+
+
@@ -82,23 +97,6 @@
-
- - {% set current_stars = film.stars if film and film.stars else 0 %} - -
- {% for value in range(1, 4) %} - - {% endfor %} -
-
-