diff --git a/src/sass/index.scss b/src/sass/index.scss index 52f6bb7..9e048b6 100644 --- a/src/sass/index.scss +++ b/src/sass/index.scss @@ -95,6 +95,14 @@ legend { margin-bottom: 8px; } +.cookie-note { + border-top: 1px solid var(--border_grey); + border-bottom: 1px solid var(--border_grey); + padding: 6px 0 8px 0; + margin-bottom: 8px; + margin-top: 16px; +} + ul { padding-left: 1.3em; } diff --git a/src/views/preferences.nim b/src/views/preferences.nim index 7a415f6..0ea1fbd 100644 --- a/src/views/preferences.nim +++ b/src/views/preferences.nim @@ -39,6 +39,9 @@ proc renderPreferences*(prefs: Prefs; path: string; themes: seq[string]): VNode renderPrefs() + h4(class="cookie-note"): + text "Preferences are stored client-side using cookies without any personal information." + button(`type`="submit", class="pref-submit"): text "Save preferences"