diff --git a/web/templates/settings/home.html b/web/templates/settings/home.html index b0d80d4..480261c 100644 --- a/web/templates/settings/home.html +++ b/web/templates/settings/home.html @@ -1,23 +1,126 @@ {% extends "base.html" %} -{% block body_class %}themed-bg{% endblock %} {% load static %} +{# Leave body_class empty so Classic gradient is controlled by base.html logic #} +{% block body_class %}{% endblock %} + {% block content %}

Settings

- +

Add your settings here when you’re ready.

+
+ + +
+

Privacy · Clear My History

+

+ Remove your Recent Searches and Recently Viewed illustrations from the Search page. +

+ +
+ + +
+

Appearance · Theme

+
+ {% csrf_token %} + + + + Changes apply immediately across the site. +
+
+ + +
+

Reading · Highlight Search Hits

+ +

When on, your last search terms are lightly highlighted on result pages—but only in the fields you searched.

+
+ + {% if user.is_authenticated and user.is_superuser %} +

Tools

+ +
-

Privacy · Clear My History

-

- Remove your Recent Searches and Recently Viewed illustrations from the Search page. -

- +

Release Announcement

+

+ Publish a message to show once to each user on their next search page load. +

+ +
+ {% csrf_token %} + {% if announcement_form %} + {{ announcement_form.as_p }} + {% else %} + + + + + + + + {% endif %} + + +
+ + {% if announcements_recent %} +

Recent

+ + + + + + {% for a in announcements_recent %} + + + + + + + + {% endfor %} + +
IDTitleActive?WindowCreated
#{{ a.id }}{{ a.title|default:"(untitled)" }}{{ a.is_current|yesno:"✅,—" }} + {{ a.start_at|date:"Y-m-d H:i" }} + {% if a.end_at %} → {{ a.end_at|date:"Y-m-d H:i" }}{% endif %} + {{ a.created_at|date:"Y-m-d H:i" }}
+ {% endif %} +
+ + +
+

Security · Login Attempts (7 days)

+

+ View successful and failed login attempts from the last week. +

+ Open Login Attempts +
+ +
+

Security · Audit Log

+

Track adds, edits (with per-field changes), and deletes. Newest first, latest 100 entries.

+ Open Audit Log +
+ {% endif %}
- +
- - -
-
- {% csrf_token %} - - - - Changes apply immediately across the site. -
- - -
- -

When on, your last search terms are lightly highlighted on result pages—but only in the fields you searched.

-
-
-
- - {% if user.is_authenticated and user.is_superuser %} -

Tools

- - - -{% if user.is_superuser %} -
-

Release Announcement

-

- Publish a message to show once to each user on their next search page load. -

- -
- {% csrf_token %} - {% if announcement_form %} - {{ announcement_form.as_p }} - {% else %} - {# If this page isn't rendered via announcement_tools view, render a fresh form #} - - - - - - - - {% endif %} - - -
- - {% if announcements_recent %} -

Recent

- - - - - - {% for a in announcements_recent %} - - - - - - - - {% endfor %} - -
IDTitleActive?WindowCreated
#{{ a.id }}{{ a.title|default:"(untitled)" }}{{ a.is_current|yesno:"✅,—" }} - {{ a.start_at|date:"Y-m-d H:i" }} - {% if a.end_at %} → {{ a.end_at|date:"Y-m-d H:i" }}{% endif %} - {{ a.created_at|date:"Y-m-d H:i" }}
- {% endif %} -
-{% endif %} - -{% if user.is_superuser %} -
-

Security · Login Attempts (7 days)

-

- View successful and failed login attempts from the last week. -

- Open Login Attempts -
- -
-

Security · Audit Log

-

Track adds, edits (with per-field changes), and deletes. Newest first, latest 100 entries.

- Open Audit Log -
-{% endif %} - - - - - - - - - - - - {% endblock %} \ No newline at end of file