diff --git a/app/templates/cotton/components/sidebar_menu_collapsible_header.html b/app/templates/cotton/components/sidebar_menu_collapsible_header.html new file mode 100644 index 0000000..8f54eeb --- /dev/null +++ b/app/templates/cotton/components/sidebar_menu_collapsible_header.html @@ -0,0 +1,12 @@ +
  • + +
  • +
    + {{ slot }} +
    diff --git a/app/templates/cotton/components/sidebar_menu_header.html b/app/templates/cotton/components/sidebar_menu_header.html index 1a6c9c7..678e7d6 100644 --- a/app/templates/cotton/components/sidebar_menu_header.html +++ b/app/templates/cotton/components/sidebar_menu_header.html @@ -1,7 +1,6 @@ -
  • - -
  • +
  • +
    + {{ title }} +
    +
    +
  • diff --git a/app/templates/cotton/components/sidebar_menu_item.html b/app/templates/cotton/components/sidebar_menu_item.html index aa3b009..f360815 100644 --- a/app/templates/cotton/components/sidebar_menu_item.html +++ b/app/templates/cotton/components/sidebar_menu_item.html @@ -1,8 +1,14 @@ {% load active_link %}
  • + class="tw:text-wrap tw:lg:text-nowrap tw:lg:text-sm d-flex align-items-center text-decoration-none p-2 rounded-3 sidebar-item {% active_link views=active css_class="sidebar-active" %}" + {% if tooltip %} + data-bs-placement="right" + data-bs-toggle="tooltip" + data-bs-title="{{ tooltip }}" + {% endif %}> - {{ title }} + {{ title }}
  • diff --git a/app/templates/cotton/components/sidebar_menu_url_item.html b/app/templates/cotton/components/sidebar_menu_url_item.html new file mode 100644 index 0000000..30870d1 --- /dev/null +++ b/app/templates/cotton/components/sidebar_menu_url_item.html @@ -0,0 +1,16 @@ +{% load active_link %} +
  • + + + + {{ title }} + +
  • diff --git a/app/templates/includes/mobile_navbar.html b/app/templates/includes/mobile_navbar.html new file mode 100644 index 0000000..f20370b --- /dev/null +++ b/app/templates/includes/mobile_navbar.html @@ -0,0 +1,16 @@ +{% load cache_access %} +{% load settings %} +{% load static %} +{% load i18n %} +{% load active_link %} + diff --git a/app/templates/includes/navbar/user_menu.html b/app/templates/includes/navbar/user_menu.html index 224c09e..4f86fde 100644 --- a/app/templates/includes/navbar/user_menu.html +++ b/app/templates/includes/navbar/user_menu.html @@ -1,13 +1,10 @@ {% load settings %} {% load i18n %}