+
+ {% if not is_popup %}
{% block container-top %}{% endblock %}
- {% if not is_popup %}
-
-
-
\ No newline at end of file
+
diff --git a/templates/admin/base_site.html b/templates/admin/base_site.html
index 0b931df..046637a 100644
--- a/templates/admin/base_site.html
+++ b/templates/admin/base_site.html
@@ -1,4 +1,5 @@
{% extends "admin/base.html" %}
+{% load i18n %}{% load admin_static bootstrapped_goodies_tags %}
{% load tree_menu_tags %}
{% load static from staticfiles %}
@@ -32,22 +33,9 @@
{% endblock %}
{% block branding %}
-
+
Sistema de Informações Gerenciais do Interlegis
{% endblock %}
-{% block userlinks %}
-
Encerrar sessão
-{% endblock %}
-
-{% block nav-global %}
-
- {% show_menu "Barra de navegação" "unordered-list" %}
-
-{% endblock %}
-
-
{% block footer %}
{% if not is_popup %}
diff --git a/templates/admin/change_list.html b/templates/admin/change_list.html
new file mode 100644
index 0000000..3cd975d
--- /dev/null
+++ b/templates/admin/change_list.html
@@ -0,0 +1,122 @@
+{% extends "admin/base_site.html" %}
+{% load i18n admin_urls admin_static admin_list bootstrapped_goodies_tags %}
+
+{% block extrastyle %}
+ {{ block.super }}
+
+ {% if cl.formset %}
+
+ {% endif %}
+ {% if cl.formset or action_form %}
+ {% url 'admin:jsi18n' as jsi18nurl %}
+
+ {% endif %}
+ {{ media.css }}
+{% endblock %}
+
+{% block extrahead %}
+{{ block.super }}
+{{ media.js }}
+{% if action_form %}{% if actions_on_top or actions_on_bottom %}
+
+{% endif %}{% endif %}
+{% endblock %}
+
+{% block bodyclass %}_change-list{% endblock %}
+
+{% block coltype %}flex{% endblock %}
+
+{% block object-tools %}
+
+
+
+ {% if cl.has_filters %}
+
+ {% endif %}
+ {% block search %}{% search_form cl %}{% endblock %}
+{% endblock %}
+
+{% block content %}
+
+{% endblock %}
+
+
diff --git a/templates/treemenus/menu.html b/templates/treemenus/menu.html
index ced095d..572cce7 100644
--- a/templates/treemenus/menu.html
+++ b/templates/treemenus/menu.html
@@ -1,7 +1,7 @@
{% load tree_menu_tags %}
{% ifequal menu_type "unordered-list" %}
-
+
{% for menu_item in menu.root_item.children %}
{% show_menu_item menu_item %}
{% endfor %}
diff --git a/templates/treemenus/menu_item.html b/templates/treemenus/menu_item.html
index 6a1e39c..c175910 100644
--- a/templates/treemenus/menu_item.html
+++ b/templates/treemenus/menu_item.html
@@ -2,16 +2,16 @@
{% ifequal menu_type "unordered-list" %}
{% if menu_item.has_children %}
- -
+
-
{% if menu_item.url %}
- {{ menu_item.caption }}
+ {{ menu_item.caption }}
{% else %}
- {{ menu_item.caption }}
+ {{ menu_item.caption }}
{% endif %}
-
- {% for child in menu_item.children %}
- {% show_menu_item child %}
- {% endfor %}
+
{% else %}