{% extends "exams/base.html" %} {% load static %} {% block content %}
{% if messages %} {% for message in messages %}
{{ message }}
{% endfor %} {% endif %}

Site Settings & Management

Configure global site settings, manage gallery, news, and content

Preview Edit Visit
{% csrf_token %} {% if form.non_field_errors %}
{% for error in form.non_field_errors %}{{ error }}{% endfor %}
{% endif %}
Basic Information
{{ form.site_name }} {% if form.site_name.errors %}
{{ form.site_name.errors }}
{% endif %}
{{ form.site_title }}
{{ form.site_tagline }}
{{ form.about }} Information about your institution displayed on the homepage
Logo & Branding
{{ form.logo }} {% if setting.logo %}
Current Logo Current logo
{% endif %}
{{ form.favicon }} {% if setting.favicon %}
Favicon
{% endif %}
{{ form.logo_light }} Used on dark backgrounds
Header Settings
{{ form.header_text }} HTML supported (e.g., announcements, welcome messages)
{{ form.header_image }} {% if setting.header_image %}
Header Image
{% endif %}
{{ form.header_bg_color }}
Footer Settings
{{ form.footer_text }} HTML supported (address, contact info, etc.)
{{ form.footer_copyright }} Use {year} for current year
{{ form.footer_links }} Format: [{"title": "About", "url": "/about"}, {"title": "Contact", "url": "/contact"}] {% if footer_links %}
Current Links:
{% endif %}
Contact Information
{{ form.contact_email }}
{{ form.contact_phone }}
{{ form.contact_po_box }}
{{ form.contact_address }}
Social Media Links
{{ form.facebook_url }}
{{ form.twitter_url }}
{{ form.instagram_url }}
{{ form.youtube_url }}
{{ form.whatsapp_url }}
Custom Code
{{ form.custom_css }} Add custom CSS styles to override defaults
{{ form.custom_js }} Add custom JavaScript code (will be included in the footer)
SEO Settings
{{ form.meta_description }} Description for search engines (max 160 characters)
{{ form.meta_keywords }} Comma-separated keywords for search engines
{{ form.is_active }}
If unchecked, default settings will be used
News Management
{% if news_page_obj %}
{% for n in news_page_obj %} {% endfor %}
Image Title Summary Featured Status Date Actions
{% if n.image %} {% else %} {% endif %} {{ n.title }} {{ n.summary|truncatechars:80 }} {% if n.is_featured %} Featured {% else %} No {% endif %} {% if n.is_active %} Active {% else %} Inactive {% endif %} {{ n.created_at|date:"Y-m-d" }}
{% csrf_token %}
{% csrf_token %}
{% if news_page_obj.has_other_pages %} {% endif %} {% else %}

No news items yet. Click "Add News" to create.

{% endif %}
Cancel
{% endblock %}