diff --git a/templates/system_admin_announcement_form.html b/templates/system_admin_announcement_form.html index fdc9551..5d07121 100644 --- a/templates/system_admin_announcement_form.html +++ b/templates/system_admin_announcement_form.html @@ -1,164 +1,213 @@ {% extends "layout.html" %} {% block content %} -
-
-

{{ "Edit" if announcement else "Create" }} Announcement

-

{{ "Update" if announcement else "Create new" }} system announcement for users

- - Back to Announcements - +
+ + -
-
-
- - + + + +
+
+

+ + Basic Information +

- -
- - - You can use HTML formatting in the content. -
- -
+
- - + +
- + + + You can use HTML formatting in the content.
-
- -
-
+
+
+ + +
-
-

Scheduling

-
-
- - - Leave empty to show immediately -
- -
- - - Leave empty for no expiry +
+ +
+ + + +
+
-
-

Targeting

-
+ +
+
+

+ + Scheduling +

+
+
+
+
+ + + Leave empty to show immediately +
+ +
+ + + Leave empty for no expiry +
+
+
+
+ + +
+
+

+ + Targeting +

+
+
-
-
-
-
-
- -
- {% set selected_roles = [] %} - {% if announcement and announcement.target_roles %} - {% set selected_roles = announcement.target_roles|from_json %} - {% endif %} - {% for role in roles %} - - {% endfor %} +
+
+
+ +
+ {% set selected_roles = [] %} + {% if announcement and announcement.target_roles %} + {% set selected_roles = announcement.target_roles|from_json %} + {% endif %} + {% for role in roles %} + + {% endfor %} +
-
-
- -
- {% set selected_companies = [] %} - {% if announcement and announcement.target_companies %} - {% set selected_companies = announcement.target_companies|from_json %} - {% endif %} - {% for company in companies %} - - {% endfor %} +
+ +
+ {% set selected_companies = [] %} + {% if announcement and announcement.target_companies %} + {% set selected_companies = announcement.target_companies|from_json %} + {% endif %} + {% for company in companies %} + + {% endfor %} +
-
- - Cancel -
- -
+ +
+ + Cancel +
+
{% endblock %} \ No newline at end of file diff --git a/templates/system_admin_announcements.html b/templates/system_admin_announcements.html index 695766d..1158b68 100644 --- a/templates/system_admin_announcements.html +++ b/templates/system_admin_announcements.html @@ -1,19 +1,35 @@ {% extends "layout.html" %} {% block content %} -
-
-

System Announcements

- - โž• New Announcement - +
+ + -
-
+ {% if announcements.items %} -
- +
+
+
@@ -28,62 +44,72 @@ {% for announcement in announcements.items %} - + - +
Title
- {{ announcement.title }} - {% if announcement.is_urgent %} - URGENT - {% endif %} +
+ {{ announcement.title }} + {% if announcement.is_urgent %} + URGENT + {% endif %} +
- + {{ announcement.announcement_type.title() }} {% if announcement.is_active %} {% if announcement.is_visible_now() %} - Active + Active {% else %} - Scheduled + Scheduled {% endif %} {% else %} - Inactive + Inactive {% endif %} {% if announcement.start_date %} - {{ announcement.start_date.strftime('%Y-%m-%d %H:%M') }} + {{ announcement.start_date.strftime('%Y-%m-%d %H:%M') }} {% else %} - Immediate + Immediate {% endif %} {% if announcement.end_date %} - {{ announcement.end_date.strftime('%Y-%m-%d %H:%M') }} + {{ announcement.end_date.strftime('%Y-%m-%d %H:%M') }} {% else %} - No expiry + No expiry {% endif %} {% if announcement.target_all_users %} - All Users + + + All Users + {% else %} - Targeted + + + Targeted + {% endif %} {{ announcement.created_at.strftime('%Y-%m-%d') }} + {{ announcement.created_at.strftime('%Y-%m-%d') }} + @@ -93,15 +119,20 @@
+
- - {% if announcements.pages > 1 %} -
- {% endblock %} \ No newline at end of file diff --git a/templates/system_admin_branding.html b/templates/system_admin_branding.html index 3c3b513..60fec01 100644 --- a/templates/system_admin_branding.html +++ b/templates/system_admin_branding.html @@ -1,54 +1,69 @@ {% extends "layout.html" %} {% block content %} -
-
-

๐ŸŽจ Branding Settings

-
- Back to Dashboard +
+ + - -

Customize the appearance and branding of {{ branding.app_name }}

-
-

๐Ÿ‘๏ธ Current Branding Preview

-
-
-

Live Preview

-
-
-
-
- {% if branding.logo_filename %} - - {% else %} - - {% endif %} -
-
-

Welcome to {{ branding.app_name }}

- - Sample Link -
+
+
+

+ + Current Branding Preview +

+
+
+
+
+ {% if branding.logo_filename %} + + {% else %} + + {% endif %} +
+
+

Welcome to {{ branding.app_name }}

+ + Sample Link
-
-

Branding Configuration

-
+
+
+

+ + Branding Configuration +

+
+
-

๐Ÿ“ Basic Information

+

Basic Information

- + This name will appear in the title, navigation, and throughout the interface.
@@ -67,7 +82,7 @@ value="{{ branding.logo_alt_text }}" class="form-control" placeholder="Company Logo"> - + Text displayed when the logo cannot be loaded (accessibility).
@@ -75,7 +90,7 @@
-

๐Ÿ–ผ๏ธ Visual Assets

+

Visual Assets

@@ -90,7 +105,7 @@ Current logo
{% endif %} - + PNG, JPG, GIF, SVG. Recommended: 200x50px
@@ -108,7 +123,7 @@ Current favicon
{% endif %} - + ICO, PNG. Recommended: 16x16px or 32x32px
@@ -117,7 +132,7 @@
-

๐ŸŽจ Theme Settings

+

Theme Settings

@@ -130,7 +145,7 @@ pattern="^#[0-9A-Fa-f]{6}$" placeholder="#007bff">
- + This color will be used for buttons, links, and other UI elements.
@@ -138,7 +153,7 @@
-

โš–๏ธ Imprint / Legal Page

+

Imprint / Legal Page

- + When enabled, an "Imprint" link will appear in the footer linking to your custom legal page.
@@ -158,7 +173,7 @@ value="{{ branding.imprint_title or 'Imprint' }}" class="form-control" placeholder="Imprint"> - + The title that will be displayed on the imprint page.
@@ -169,7 +184,7 @@ class="form-control content-editor" rows="15" placeholder="Enter your imprint/legal information here...">{{ branding.imprint_content or '' }} - + You can use HTML to format your content. Common tags: <h2>, <h3>, <p>, <strong>, <br>, <a href="">
@@ -178,7 +193,10 @@
- + Cancel
@@ -187,8 +205,99 @@