From 75601fb5e7b1efb147ff3594f5723fae3de864fe Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Wed, 8 Oct 2014 12:59:06 -0300 Subject: [PATCH] Redesign map page for bootstrap --- sigi/apps/metas/templates/metas/mapa.html | 54 +++++++++++++++-------- sigiStatic/css/base_site.css | 4 ++ templates/admin/base.html | 9 ++-- 3 files changed, 46 insertions(+), 21 deletions(-) diff --git a/sigi/apps/metas/templates/metas/mapa.html b/sigi/apps/metas/templates/metas/mapa.html index 1bc45bb..e77b56d 100644 --- a/sigi/apps/metas/templates/metas/mapa.html +++ b/sigi/apps/metas/templates/metas/mapa.html @@ -1,5 +1,6 @@ {% extends "admin/base_site.html" %} {% load static from staticfiles %} +{% load i18n %} {% block title %}SIGI{% endblock %} @@ -23,24 +24,41 @@ {% block content_title %}

Mapa de atuação do Interlegis

-
- -
+{% endblock %} + +{% block object-tools %} + {{ block.super }} + +{% endblock %} + +{% block object-tools-items %} +
  • + + Relatório resumo +
  • +
  • + + Listagem das Casas +
  • +
  • + + Exportar Casas +
  • +
  • + + Fechar todas as janelas de informação +
  • {% endblock %} {% block content %} diff --git a/sigiStatic/css/base_site.css b/sigiStatic/css/base_site.css index eb175ea..8ccc75b 100644 --- a/sigiStatic/css/base_site.css +++ b/sigiStatic/css/base_site.css @@ -209,6 +209,10 @@ h1 { margin-bottom: 20px; } +#navbar-object-tools { + margin-bottom: 10px; +} + .form-group button { /* TODO: consider undoing change done to '.form-group input[type="text"]' diff --git a/templates/admin/base.html b/templates/admin/base.html index 319bc89..c46dd86 100644 --- a/templates/admin/base.html +++ b/templates/admin/base.html @@ -147,9 +147,12 @@ {% block content_title %}{% if title %}

    {{ title }}

    {% endif %}{% endblock %} {% block navbar %} -