Browse Source

Fixes #1603

pull/1607/head
Edward Ribeiro 7 years ago
parent
commit
eadc004277
  1. 37
      sapl/templates/sessao/mesa.html

37
sapl/templates/sessao/mesa.html

@ -4,21 +4,7 @@
{% block detail_content %}
<!-- Success and errors messages div -->
<div class="alert alert-danger alert-dismissible fade in" id="div-error" role="alert" style="display: none">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
<b><span id="error-message"></span></b>
</div>
<div class="alert alert-success alert-dismissible fade in" id="div-success" style="display: none" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
<b><span id="success-message"></span></b>
</div>
<!-- Success and errors messages div end -->
{% if user.is_authenticated or composicao_mesa %}
<fieldset class="form-group">
{% if perms.sessao.add_integrantemesa %}
<legend>Escolha da Composição da Mesa Diretora da Sessão Plenária</legend>
@ -35,6 +21,7 @@
</select>
</div>
<div class="col-md-4" align="center">
<br /><br />
{% if perms.sessao.add_integrantemesa %}
@ -46,7 +33,7 @@
<input type="submit" style="display: none" name="Excluir" id="id_excluir" Value="Excluir" class="btn btn-danger" />
{% endif %}
</div>
{% if user.is_authenticated and cargos_vagos %}
<div class="col-md-4">
<label id='parlamentar-cargo-title' style="display: none">Parlamentar | Cargo</label>
<select class="form-control" name="parlamentar" id="id_parlamentar" style="display: none">
@ -61,9 +48,25 @@
{% endfor %}
</select>
</div>
{% endif %}
</div>
</fieldset>
{% endif %}
<div class="alert alert-danger alert-dismissible fade in" id="div-error" role="alert" style="display: none">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
<b><span id="error-message"></span></b>
</div>
<!-- Success and errors messages div end -->
<div class="alert alert-success alert-dismissible fade in" id="div-success" style="display: none" role="alert">
<button type="button" class="close" data-dismiss="alert" aria-label="Close">
<span class="glyphicon glyphicon-remove" aria-hidden="true"></span>
</button>
<b><span id="success-message"></span></b>
</div>
{% endblock detail_content %}

Loading…
Cancel
Save