affichage des emails envoyés par societe

This commit is contained in:
2019-09-23 14:36:58 +02:00
parent 375f676edc
commit ebf3efef9a
4 changed files with 51 additions and 23 deletions

View File

@@ -1,23 +1,42 @@
<metal:block use-macro="main_template">
<div metal:fill-slot="content">
<p>
<div class="row">
<form id="emails_sent_form" class="form-horizontal" method="post"
data-fv-framework="bootstrap"
data-fv-icon-valid="glyphicon glyphicon-ok"
data-fv-icon-invalid="glyphicon glyphicon-remove"
data-fv-icon-validating="glyphicon glyphicon-refresh">
<div class="form-group">
<label class="control-label col-xs-4" for="societe">Société</label>
<div class="col-xs-8">
<select class="form-control" id="societe" name="societe" onChange="$('#emails_sent_form').submit()" >
<div tal:repeat="item societes">
<option value="${item}" tal:attributes="selected societe==item and 'selected' or None">${item}</option>
</div>
</select>
</div>
</div>
<a href="${request.application_url}/" class="btn btn-default" role="button">
<span class="glyphicon glyphicon-chevron-left"></span> Retour</a>
</p>
<table id="emails_sent" class="table table-striped table-bordered">
<thead>
<tr>
<th>Date</th>
<th>Dossier</th>
<th>Client</th>
<th>Objet</th>
<th>No</th>
<th>Par</th>
</tr>
</thead>
</table>
</form>
</div>
<div class="row">
<table id="emails_sent" class="table table-striped table-bordered">
<thead>
<tr>
<th>Date</th>
<th>Dossier</th>
<th>Client</th>
<th>Objet</th>
<th>No</th>
<th>Par</th>
</tr>
</thead>
</table>
</div>
<br />
<br />