mirror of https://github.com/interlegis/sigi.git
Sesostris Vieira
3 years ago
3 changed files with 26 additions and 60 deletions
@ -1,23 +0,0 @@ |
|||
{% extends "admin/change_list.html" %} |
|||
{% load admin_list i18n admin_urls %} |
|||
|
|||
{% block extrahead %} |
|||
{{ block.super }} |
|||
<script type="text/javascript"> |
|||
function dismissRelatedLookupPopup(win, chosenId) { |
|||
win.close(); |
|||
url = "{% url 'admin:servicos_casaatendida_changelist' %}" + chosenId; |
|||
// alert(url); |
|||
document.location.href = url; |
|||
} |
|||
</script> |
|||
{% endblock %} |
|||
|
|||
{% block object-tools-items %} |
|||
<li><a id="lookup_id_casa_legislativa" onclick="return showRelatedObjectLookupPopup(this);" |
|||
href="{% url 'admin:casas_orgao_changelist' %}?codigo_interlegis__exact=" class="addlink"> |
|||
<span class="glyphicon glyphicon-plus"></span> |
|||
{% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %} |
|||
</a></li> |
|||
{{ block.super }} |
|||
{% endblock %} |
@ -1,33 +0,0 @@ |
|||
{% extends "change_list_with_cart.html" %} |
|||
{% load i18n %} |
|||
|
|||
|
|||
{% block extra_search %} |
|||
<nav class="navbar navbar-default"> |
|||
<div class="container-fluid"> |
|||
<div class="navbar-header"> |
|||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"> |
|||
<span class="sr-only">Toggle navigation</span> |
|||
<span class="icon-bar"></span> |
|||
<span class="icon-bar"></span> |
|||
<span class="icon-bar"></span> |
|||
</button> |
|||
<a class="navbar-brand" href="#">Filtro de datas</a> |
|||
<p class="navbar-text">Use AAAA, AAAA-MM ou AAAA-MM-DD</p> |
|||
</div> |
|||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> |
|||
<form class="navbar-form navbar-left" role="extra-search" id="changelist-extrasearch" action="" method="get"> |
|||
<div class="form-group"> |
|||
<label for="data_ativacao__gte">{% trans 'Ativados a partir de' %}:</label> |
|||
<input type="text" class="form-control search-query" size="10" name="data_ativacao__gte" value="" id="data_ativacao__gte"> |
|||
<label for="data_ativacao__lte">{% trans 'até' %}:</label> |
|||
<input type="text" class="form-control search-query" size="10" name="data_ativacao__lte" value="" id="data_ativacao__lte"> |
|||
</div> |
|||
<button type="submit" class="btn btn-default navbar-btn "> |
|||
<span class="glyphicon glyphicon-search"></span> |
|||
</button> |
|||
</form> |
|||
</div><!-- /.navbar-collapse --> |
|||
</div><!-- /.container-fluid --> |
|||
</nav> |
|||
{% endblock %} |
Loading…
Reference in new issue