initial upload
This commit is contained in:
41
aem_gestion/templates/parametres/justifs_list.pt
Normal file
41
aem_gestion/templates/parametres/justifs_list.pt
Normal file
@@ -0,0 +1,41 @@
|
||||
<metal:block use-macro="main_template">
|
||||
<div metal:fill-slot="content">
|
||||
|
||||
<form method="POST" id="frm" class="form-horizontal">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-sm-1">Type : </label>
|
||||
<div class="col-sm-5">
|
||||
<select class="form-control" id="type" name="type" onChange="$('#frm').submit()">
|
||||
<tal:block tal:repeat="item types">
|
||||
<option value="${item}" tal:attributes="selected type==item and 'selected' or None">${item}</option>
|
||||
</tal:block>
|
||||
</select>
|
||||
</div>
|
||||
<div class="col-sm-5">
|
||||
<a href="justif_edit/0" class="btn btn-success" role="button">
|
||||
<span class="glyphicon glyphicon-plus"></span> Nouveau document</a>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<table class="table table-condensed table-striped table-bordered">
|
||||
<tr>
|
||||
<th>Code</th>
|
||||
<th>Intitulé</th>
|
||||
<th>Conditions</th>
|
||||
</tr>
|
||||
|
||||
<tr tal:repeat="ligne justifs">
|
||||
<td><a href="justif_edit/${ligne.CODE}">${ligne.CODE}</a></td>
|
||||
<td>${ligne.LIBELLE}</td>
|
||||
<td>${ligne.conditions}</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<br />
|
||||
<br />
|
||||
</div>
|
||||
|
||||
</metal:block>
|
||||
|
||||
Reference in New Issue
Block a user