From bd1462a00c02d558952270351b4c274166abaf5c Mon Sep 17 00:00:00 2001 From: jude Date: Sat, 23 Sep 2023 23:38:16 +0100 Subject: [PATCH] Reposition "options" Fix import/export --- Cargo.lock | 2 +- Cargo.toml | 2 +- web/src/routes/dashboard/export.rs | 2 +- web/static/css/style.css | 8 +++----- web/templates/dashboard.html.tera | 4 ---- 5 files changed, 6 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 57f6a12..b7b990b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2173,7 +2173,7 @@ checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "reminder-rs" -version = "1.6.40" +version = "1.6.41" dependencies = [ "base64 0.21.4", "chrono", diff --git a/Cargo.toml b/Cargo.toml index 8d0e1b6..ff57726 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "reminder-rs" -version = "1.6.40" +version = "1.6.41" authors = ["Jude Southworth "] edition = "2021" license = "AGPL-3.0 only" diff --git a/web/src/routes/dashboard/export.rs b/web/src/routes/dashboard/export.rs index cb5c065..0b5905f 100644 --- a/web/src/routes/dashboard/export.rs +++ b/web/src/routes/dashboard/export.rs @@ -70,7 +70,7 @@ pub async fn export_reminders( reminders.utc_time FROM reminders LEFT JOIN channels ON channels.id = reminders.channel_id - WHERE FIND_IN_SET(channels.channel, ?)", + WHERE FIND_IN_SET(channels.channel, ?) AND status = 'pending'", channels ) .fetch_all(pool.inner()) diff --git a/web/static/css/style.css b/web/static/css/style.css index 7420bdc..7330e6f 100644 --- a/web/static/css/style.css +++ b/web/static/css/style.css @@ -304,11 +304,6 @@ div.dashboard-sidebar { padding-right: 0; } -div.dashboard-sidebar:not(.mobile-sidebar) { - display: flex; - flex-direction: column; -} - ul.guildList { flex-grow: 1; flex-shrink: 1; @@ -318,6 +313,9 @@ ul.guildList { div.dashboard-sidebar:not(.mobile-sidebar) .aside-footer { flex-shrink: 0; flex-grow: 0; + position: fixed; + bottom: 0; + width: 226px; } div.dashboard-sidebar svg { diff --git a/web/templates/dashboard.html.tera b/web/templates/dashboard.html.tera index 7069bb4..eaae9af 100644 --- a/web/templates/dashboard.html.tera +++ b/web/templates/dashboard.html.tera @@ -257,11 +257,9 @@