mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-23 09:56:34 +02:00
Ajout de la suppression sur les logs du système (sms reçus, envoyés, events, sms stop)
This commit is contained in:
parent
a7293d7530
commit
3369c34152
13 changed files with 381 additions and 50 deletions
|
@ -42,6 +42,7 @@
|
|||
<th>Type</th>
|
||||
<th>Date</th>
|
||||
<th>Texte</th>
|
||||
<th>Sélectionner</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
@ -54,6 +55,7 @@
|
|||
<td><span class="fa fa-fw <?php echo internalTools::eventTypeToIcon($event['type']); ?>"></span></td>
|
||||
<td><?php secho($event['at']); ?></td>
|
||||
<td><?php secho($event['text']); ?></td>
|
||||
<td><input type="checkbox" value="<?php secho($event['id']); ?>"></td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
|
@ -62,6 +64,15 @@
|
|||
</table>
|
||||
</div>
|
||||
<nav>
|
||||
<div class="text-right col-xs-12 no-padding">
|
||||
<strong>Action groupée :</strong>
|
||||
<div class="btn-group action-dropdown" target="#table-events">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">Action pour la sélection <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu pull-right" role="menu">
|
||||
<li><a href="<?php echo $this->generateUrl('events', 'delete', [$_SESSION['csrf']]); ?>"><span class="fa fa-trash-o"></span> Supprimer</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<ul class="pager">
|
||||
<?php
|
||||
if ($page)
|
||||
|
@ -83,7 +94,6 @@
|
|||
?>
|
||||
</ul>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -91,5 +101,21 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script>
|
||||
jQuery(document).ready(function ()
|
||||
{
|
||||
jQuery('.action-dropdown a').on('click', function (e)
|
||||
{
|
||||
e.preventDefault();
|
||||
var target = jQuery(this).parents('.action-dropdown').attr('target');
|
||||
var url = jQuery(this).attr('href');
|
||||
jQuery(target).find('input:checked').each(function ()
|
||||
{
|
||||
url += '/' + jQuery(this).val();
|
||||
});
|
||||
window.location = url;
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<?php
|
||||
$incs->footer();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue