Current File : /home/karenpetzb/application/modules/backoffice/views/scripts/footer/list.phtml |
<div class="table-box">
<div class="col-md-12 header-single-line">
<div class="col-md-5 header-single no-space-top"><?php echo $this->titlePage; ?></div>
<div class="col-md-7 no-space-top"><?php echo $this->render("alert.phtml"); ?></div>
</div>
<table class="display table" id="supplierTable" width="100%">
<thead>
<tr>
<th>Titre</th>
<th></th>
</tr>
</thead>
<tbody>
<?php foreach($this->listfooter as $row) { ?>
<tr>
<td><?php echo $this->escape($row['TITRE']);?></td>
<td class="text-center">
<div class="btn-group">
<a class="btn btn-success" href="<?php echo $this->baseUrl; ?>/backoffice/footer/edit/id/<?php echo $row['ID']; ?>"><span class="glyphicon glyphicon-edit"></span> Modifier</a>
<button class="btn btn-danger btn-modal" data-toggle="ajaxModalDelete" data-linkok="<?php echo $this->baseUrl; ?>/backoffice/footer/del/id/<?php echo $row['ID']; ?>" ><span class="glyphicon glyphicon-trash"></span> Supprimer</button>
</div>
</td>
</tr>
<?php } ?>
</tbody>
</table>
<script>
$(document).ready(function() {
initDataTable('supplierTable', [[ 0, "asc" ]], [
{ "orderable": false, "targets": -1, "width": "300px" }
]);
});
</script>
</div>