From 09df822500d65b82e5263ac2bb0b32e79da92dc5 Mon Sep 17 00:00:00 2001 From: Leandro Roberto Date: Wed, 16 Jan 2019 20:50:56 -0200 Subject: [PATCH] ajuste de layout no menu protocolo --- sapl/templates/crud/detail.html | 6 ++-- .../protocoloadm/anular_protocoloadm.html | 13 ++------ .../protocoloadm/protocolar_documento.html | 14 -------- .../protocoloadm/protocolar_materia.html | 7 ---- .../protocoloadm/protocolo_filter.html | 12 ++----- .../protocoloadm/protocolo_mostrar.html | 9 ----- .../protocoloadm/protocoloadm_detail.html | 33 ++++++++++++++----- 7 files changed, 33 insertions(+), 61 deletions(-) diff --git a/sapl/templates/crud/detail.html b/sapl/templates/crud/detail.html index 5b0710503..0058fc917 100644 --- a/sapl/templates/crud/detail.html +++ b/sapl/templates/crud/detail.html @@ -24,9 +24,9 @@ {% if view.extras_url %}
{% for href, css_class, text in view.extras_url %} - - {{text}} - + + {{text}} + {% endfor %}
{% endif %} diff --git a/sapl/templates/protocoloadm/anular_protocoloadm.html b/sapl/templates/protocoloadm/anular_protocoloadm.html index f5d529e67..332c34923 100644 --- a/sapl/templates/protocoloadm/anular_protocoloadm.html +++ b/sapl/templates/protocoloadm/anular_protocoloadm.html @@ -1,17 +1,8 @@ {% extends "protocoloadm/protocoloadm_detail.html" %} {% load i18n %} -{% load crispy_forms_tags %} - - -{% block actions %} - - {{ block.super }} -
- {% trans 'Fazer nova pesquisa' %} -
-{% endblock %} +{% load crispy_forms_tags %} {% block detail_content %} -
{{ message }}
+
{{ message }}
{% crispy form %} {% endblock detail_content %} diff --git a/sapl/templates/protocoloadm/protocolar_documento.html b/sapl/templates/protocoloadm/protocolar_documento.html index 7a07ec873..fd2dffb4d 100644 --- a/sapl/templates/protocoloadm/protocolar_documento.html +++ b/sapl/templates/protocoloadm/protocolar_documento.html @@ -1,19 +1,5 @@ {% extends "protocoloadm/protocoloadm_detail.html" %} {% load i18n %} -{% load crispy_forms_tags %} - - -{% block actions %} - - {{ block.super }} -
- {% trans 'Fazer nova pesquisa' %} -
-{% endblock %} - -{% block detail_content %} - {% crispy form %} -{% endblock detail_content %} {% block extra_js %}