rename last_emailing to rappels_rdv
This commit is contained in:
@@ -85,7 +85,7 @@
|
||||
},
|
||||
},
|
||||
],
|
||||
"createdRow": function( row, data, dataIndex ){
|
||||
createdRow: function( row, data, dataIndex ){
|
||||
if ( data[6] == "Humidité" ) {
|
||||
$('td', row).eq(6).css('background-color', 'Crimson').css('color', 'white');
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
<th>Tél. 2</th>
|
||||
<th>Portable</th>
|
||||
<th>Ville</th>
|
||||
<th></th>
|
||||
<th>Modif le</th>
|
||||
</tr>
|
||||
</thead>
|
||||
@@ -46,6 +47,11 @@
|
||||
},
|
||||
},
|
||||
],
|
||||
createdRow: function( row, data, dataIndex ){
|
||||
if ( data[6] == "0" ) {
|
||||
$('td', row).eq(0).css('background-color', 'OrangeRed').css('color', 'white');
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
<div class="row">
|
||||
<h2>Derniers traitements différés</h2>
|
||||
<p><a href="/last_emailing">[ Consulter les derniers envois de mail ]</a></p>
|
||||
<p><a href="/rappels_rdv">[ Consulter les derniers envois de mail ]</a></p>
|
||||
<table class="table table-condensed">
|
||||
<tr tal:repeat="item log_nuit">
|
||||
<td>${item.date.strftime('%d %b, %H:%M')}</td>
|
||||
|
||||
@@ -1,8 +1,16 @@
|
||||
<metal:block use-macro="main_template">
|
||||
<div metal:fill-slot="content">
|
||||
<div metal:fill-slot="content">
|
||||
<br />
|
||||
<form id="login-form" role="form" action="${url}" method="post" >
|
||||
<div class="form-group">
|
||||
<button class="btn btn-success" type="submit" name="form.generate">
|
||||
<span class="glyphicon glyphicon-flash"></span> Générer les rappels</button>
|
||||
<button class="btn btn-primary" type="submit" name="form.emailing">
|
||||
<span class="glyphicon glyphicon-send"></span> Envoyer les rappels</button>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
<table id="last_emailing" class="table table-condensed table-striped table-bordered">
|
||||
<table id="rappels_rdv" class="table table-condensed table-striped table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date RDV</th>
|
||||
@@ -24,7 +32,7 @@
|
||||
|
||||
$(document).ready(function() {
|
||||
$.fn.dataTable.moment('DD-MM-YYYY HH:mm');
|
||||
$('#last_emailing').DataTable({
|
||||
$('#rappels_rdv').DataTable({
|
||||
data: dataSet,
|
||||
pageLength: 100,
|
||||
bLengthChange: false,
|
||||
Reference in New Issue
Block a user