Sunil Mohan Adapa 6e557dd1e9
system: Organize items into sections
Closes: #2161.

- Sections are ordered by importance on which administrator must act after
setting up the system.

- Consistent order across all the languages.

- Update the styling for the section hearers.

  - For system section, make them compact.

  - Make them look like a header text (with underline) rather than a
    divider (like in a menu).

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
2024-03-16 09:17:35 +02:00

36 lines
874 B
HTML

{% extends 'cards.html' %}
{% comment %}
# SPDX-License-Identifier: AGPL-3.0-or-later
{% endcomment %}
{% load static %}
{% load i18n %}
{% block body_class %}system-page{% endblock %}
{% block container %}
<div class="container">
<div class="row">
<div class="col-lg-8 offset-lg-2">
{% include 'messages.html' %}
</div>
</div>
</div>
<div class="container card-container">
{% for section_item in submenu.sorted_items %}
<div class="system-section-title">{{ section_item.name }}</div>
<div class="row">
<div class="card-list card-list-primary">
{% for item in section_item.sorted_items %}
{% if advanced_mode or not item.advanced %}
{% include "card.html" %}
{% endif %}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endblock %}