|
@ -21,8 +21,8 @@ |
|
|
{% block action %}deleta_itens_carrinho{% endblock %} |
|
|
{% block action %}deleta_itens_carrinho{% endblock %} |
|
|
|
|
|
|
|
|
{% block tabela %} |
|
|
{% block tabela %} |
|
|
<table> |
|
|
<table class="table table-striped"> |
|
|
<thead> |
|
|
<thead class="thead-dark"> |
|
|
<tr> |
|
|
<tr> |
|
|
{%if not carIsEmpty%} |
|
|
{%if not carIsEmpty%} |
|
|
<th class="sorted ascending"><!-- <input type="checkbox" id="action-toggle" style="display: inline;">--> |
|
|
<th class="sorted ascending"><!-- <input type="checkbox" id="action-toggle" style="display: inline;">--> |
|
@ -38,7 +38,7 @@ |
|
|
</thead> |
|
|
</thead> |
|
|
<tbody> |
|
|
<tbody> |
|
|
{% for convenio in paginas.object_list %} |
|
|
{% for convenio in paginas.object_list %} |
|
|
<tr class="{% cycle 'row1' 'row2' %}"> |
|
|
<tr> |
|
|
{%if not carIsEmpty%} |
|
|
{%if not carIsEmpty%} |
|
|
<th><input type="checkbox" name="_selected_action" |
|
|
<th><input type="checkbox" name="_selected_action" |
|
|
value="{{convenio.id|safe}}" class="action-select" /></th> |
|
|
value="{{convenio.id|safe}}" class="action-select" /></th> |
|
@ -56,107 +56,103 @@ |
|
|
{% endblock %} |
|
|
{% endblock %} |
|
|
|
|
|
|
|
|
{% block botoes %} |
|
|
{% block botoes %} |
|
|
<div id="tabs"> |
|
|
<ul class="nav nav-tabs" role="tablist"> |
|
|
|
|
|
<li class="active" role="presentation"><a href="#tabs-1" aria-controls="tabs-1" role="tab" data-toggle="tab">{% trans 'Relatório' %}</a></li> |
|
|
<ul> |
|
|
<li role="presentation"><a href="#tabs-2" aria-controls="tabs-2" role="tab" data-toggle="tab">{% trans 'Arquivo CSV (Excel, Calc)' %}</a></li> |
|
|
<li><a href="#tabs-1">{% trans 'Relatório' %}</a></li> |
|
|
</ul> |
|
|
<li><a href="#tabs-2">{% trans 'Arquivo CSV (Excel, Calc)' %}</a></li> |
|
|
<div class="tab-content"> |
|
|
</ul> |
|
|
<div role="tabpanel" class="tab-pane active" id="tabs-1"> |
|
|
<div id="tabs-1"> |
|
|
<form action="../reports/{{ query_str }}" method="post">{% csrf_token %} |
|
|
<form action="../reports/{{ query_str }}" method="post">{% csrf_token %} |
|
|
<fieldset> |
|
|
<fieldset> |
|
|
<legend>{% trans 'Relatório por' %}</legend> |
|
|
<legend>{% trans 'Relatório por' %}</legend> |
|
|
<ul class="tabs-conteudo"> |
|
|
<ul class="tabs-conteudo"> |
|
|
<li> |
|
|
<li> |
|
|
<input type="radio" name="filtro_casa" value="tudo" checked="checked"/> |
|
|
<input type="radio" name="filtro_casa" value="tudo" checked="checked"/> |
|
|
<label>{% trans 'Todos' %}</label> |
|
|
<label>{% trans 'Todos' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<input type="radio" name="filtro_casa" value="cm"/> |
|
|
<input type="radio" name="filtro_casa" value="cm"/> |
|
|
<label>{% trans 'Câmara Municipal' %}</label> |
|
|
<label>{% trans 'Câmara Municipal' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<input type="radio" name="filtro_casa" value="al" /> |
|
|
<input type="radio" name="filtro_casa" value="al" /> |
|
|
<label>{% trans 'Assembléia Legislativa' %}</label> |
|
|
<label>{% trans 'Assembléia Legislativa' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
|
|
|
</fieldset> |
|
|
</fieldset> |
|
|
<fieldset> |
|
|
<fieldset> |
|
|
<legend>{% trans 'Com data de aceite? (Equipada)' %}</legend> |
|
|
<legend>{% trans 'Com data de aceite? (Equipada)' %}</legend> |
|
|
<ul class="tabs-conteudo"> |
|
|
<ul class="tabs-conteudo"> |
|
|
<li> |
|
|
<li> |
|
|
<input type="radio" name="data_aceite" value="sim" checked="checked" /> |
|
|
<input type="radio" name="data_aceite" value="sim" checked="checked" /> |
|
|
<label>{% trans 'Sim' %}</label> |
|
|
<label>{% trans 'Sim' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<input type="radio" name="data_aceite" value="nao" /> |
|
|
<input type="radio" name="data_aceite" value="nao" /> |
|
|
<label>{% trans 'Não' %}</label> |
|
|
<label>{% trans 'Não' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
</fieldset> |
|
|
</fieldset> |
|
|
<ul class="botoes"> |
|
|
<input type="submit" value="Gerar Relatório" type="button" class="btn btn-primary"> |
|
|
<li><input type="submit" value="Gerar Relatório"></li> |
|
|
</form> |
|
|
</ul> |
|
|
|
|
|
</form> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
<div id="tabs-2"> |
|
|
<div role="tabpanel" class="tab-pane" id="tabs-2"> |
|
|
<form action="../csv/{{query_str}}" method="post">{% csrf_token %} |
|
|
<form action="../csv/{{query_str}}" method="post">{% csrf_token %} |
|
|
<fieldset><legend>{% trans 'Escolha os atributos para exportar' %}</legend> |
|
|
<fieldset> |
|
|
<ul id="sortable" class="tabs-conteudo"> |
|
|
<legend>{% trans 'Escolha os atributos para exportar' %}</legend> |
|
|
<li> |
|
|
<ul id="sortable" class="tabs-conteudo"> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<li> |
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Processo" |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
|
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Processo" |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Nº Processo' %}</label> |
|
|
<label>{% trans 'Nº Processo' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Convênio" |
|
|
<input type="checkbox" name="itens_csv_selected" value="No. Convênio" |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Nº Convênio' %}</label> |
|
|
<label>{% trans 'Nº Convênio' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<input type="checkbox" name="itens_csv_selected" value="Projeto" |
|
|
<input type="checkbox" name="itens_csv_selected" value="Projeto" |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Projeto' %}</label> |
|
|
<label>{% trans 'Projeto' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<input type="checkbox" name="itens_csv_selected" value="Casa Legislativa" |
|
|
<input type="checkbox" name="itens_csv_selected" value="Casa Legislativa" |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Casa Legislativa' %}</label> |
|
|
<label>{% trans 'Casa Legislativa' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Adesão" |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Adesão" |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Data de Adesão' %}</label> |
|
|
<label>{% trans 'Data de Adesão' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Convênio" |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data de Convênio" |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Data de Convênio' %}</label> |
|
|
<label>{% trans 'Data de Convênio' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data da Publicacao no D.O." |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data da Publicacao no D.O." |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Data da Publicação no Diário Oficial' %}</label> |
|
|
<label>{% trans 'Data da Publicação no Diário Oficial' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
<li> |
|
|
<li> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<span class="ui-icon ui-icon-arrowthick-2-n-s"></span> |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data Equipada" |
|
|
<input type="checkbox" name="itens_csv_selected" value="Data Equipada" |
|
|
class="action-select" checked="checked" /> |
|
|
class="action-select" checked="checked" /> |
|
|
<label>{% trans 'Data Equipada' %}</label> |
|
|
<label>{% trans 'Data Equipada' %}</label> |
|
|
</li> |
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
</fieldset> |
|
|
</fieldset> |
|
|
<ul class="botoes"> |
|
|
<input type="submit" value="Exportar CSV" type="button" class="btn btn-primary"/> |
|
|
<li><input type="submit" value="Exportar CSV" /></li> |
|
|
</form> |
|
|
</ul> |
|
|
</div> |
|
|
</form> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
{% endblock %} |
|
|
{% endblock %} |
|
|