From 46afc573f63c0f29cd838f63415cd323f10798fb Mon Sep 17 00:00:00 2001 From: Ben Visness Date: Sat, 29 Jun 2024 14:18:26 -0500 Subject: [PATCH] Add project authors, improve user profiles --- public/style.css | 5 +++ src/rawdata/scss/timeline.css | 6 ++++ src/templates/src/admin_approval_queue.html | 2 +- src/templates/src/editor.html | 2 +- src/templates/src/episode.html | 2 +- src/templates/src/episode_list.html | 10 +++--- src/templates/src/feed.html | 2 +- src/templates/src/forum.html | 2 +- src/templates/src/forum_thread.html | 2 +- src/templates/src/include/project_card.html | 23 ++++++++---- src/templates/src/landing.html | 8 ++--- src/templates/src/monthly_update_policy.html | 2 +- src/templates/src/podcast_edit.html | 2 +- src/templates/src/podcast_episode.html | 2 +- src/templates/src/podcast_episode_edit.html | 2 +- src/templates/src/podcast_index.html | 2 +- src/templates/src/project_homepage.html | 23 ++++++++---- .../src/project_submission_guidelines.html | 2 +- src/templates/src/showcase.html | 2 +- src/templates/src/user_profile.html | 35 ++++++++++--------- todo-styles.md | 1 + 21 files changed, 85 insertions(+), 52 deletions(-) diff --git a/public/style.css b/public/style.css index ea0db8d8..3ad6707d 100644 --- a/public/style.css +++ b/public/style.css @@ -8705,6 +8705,11 @@ code .ss, width: var(--avatar-size-small); height: var(--avatar-size-small); } +.timeline { + display: flex; + flex-direction: column; + gap: var(--spacing-2); +} .timeline-item { background-color: var(--c3); --fade-color: var(--c3); diff --git a/src/rawdata/scss/timeline.css b/src/rawdata/scss/timeline.css index 930c5788..b9da7978 100644 --- a/src/rawdata/scss/timeline.css +++ b/src/rawdata/scss/timeline.css @@ -18,6 +18,12 @@ height: var(--avatar-size-small); } +.timeline { + display: flex; + flex-direction: column; + gap: var(--spacing-2); +} + .timeline-item { background-color: var(--c3); --fade-color: var(--c3); diff --git a/src/templates/src/admin_approval_queue.html b/src/templates/src/admin_approval_queue.html index 9c33cbaf..1fa4b122 100644 --- a/src/templates/src/admin_approval_queue.html +++ b/src/templates/src/admin_approval_queue.html @@ -9,7 +9,7 @@ {{ end }} {{ define "content" }} -
+
{{ range .UnapprovedUsers }}
+
{{ if not .CanEditPostTitle }}

{{ .PostTitle }}

{{ end }} diff --git a/src/templates/src/episode.html b/src/templates/src/episode.html index d344947d..d11337f7 100644 --- a/src/templates/src/episode.html +++ b/src/templates/src/episode.html @@ -10,7 +10,7 @@ {{ end }} {{ define "content" }} -
+
{{ .Content }}
{{ end }} diff --git a/src/templates/src/episode_list.html b/src/templates/src/episode_list.html index 55ac024f..636969d6 100644 --- a/src/templates/src/episode_list.html +++ b/src/templates/src/episode_list.html @@ -15,10 +15,10 @@ {{ .Content }}