diff options
| author | grm <grm@eyesin.space> | 2026-09-14 22:58:08 +0300 |
|---|---|---|
| committer | grm <grm@eyesin.space> | 2026-09-14 22:58:08 +0300 |
| commit | 5f9fc2a8667a9438b6336d75026f9a455fc9c4ce (patch) | |
| tree | 8fa0009b2487e35219bfdbb34f9802704007076e /internal/web/static/dashboard.css | |
| parent | e14a4250efb828262347f5a4bbc4067cd71d885f (diff) | |
| download | blogspace-5f9fc2a8667a9438b6336d75026f9a455fc9c4ce.tar.gz blogspace-5f9fc2a8667a9438b6336d75026f9a455fc9c4ce.tar.bz2 blogspace-5f9fc2a8667a9438b6336d75026f9a455fc9c4ce.zip | |
Let the blogger set a post's date, when writing it and afterwards
The post date is posts.created_at: it already drives ordering, the
archive, the feed and the displayed dates, so making it editable is a
form field rather than a new column. The datetime-local input degrades
to a text box on old browsers, so the server also accepts the value
typed by hand; blank keeps the current date.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Sd8UPWrvyYCLj97JexNw3A
Diffstat (limited to 'internal/web/static/dashboard.css')
| -rw-r--r-- | internal/web/static/dashboard.css | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/static/dashboard.css b/internal/web/static/dashboard.css index 7a66ba5..5c766e7 100644 --- a/internal/web/static/dashboard.css +++ b/internal/web/static/dashboard.css @@ -59,7 +59,7 @@ p { margin: 0.6em 0; } label { display: block; margin: 0.8em 0; font-family: "IBM Plex Mono", "SF Mono", Menlo, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.8em; text-transform: uppercase; letter-spacing: 0.05em; } label .muted { text-transform: none; letter-spacing: 0; } label code { text-transform: none; letter-spacing: 0; } -input[type=text], input[type=password], input[type=number], input:not([type]), input[type=file], select, textarea { +input[type=text], input[type=password], input[type=number], input[type=datetime-local], input:not([type]), input[type=file], select, textarea { width: 100%; max-width: 100%; padding: 0.5em 0.6em; margin-top: 0.25em; border: 2px solid #1d1a17; font: inherit; font-family: -apple-system, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 16px; text-transform: none; letter-spacing: 0; background: #fffdf8; color: #1d1a17; } input:focus, select:focus, textarea:focus, button:focus, .btn:focus { outline: 2px solid #c8541a; outline-offset: 1px; } input[type=color] { width: 4em; height: 2.3em; padding: 0.1em; margin-top: 0.25em; border: 2px solid #1d1a17; background: #fffdf8; } |
