You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
989 B
30 lines
989 B
9 years ago
|
<div class="container">
|
||
|
<hr>
|
||
|
<div class="row">
|
||
|
<div class="col-md-4 col-md-offset-4">
|
||
|
<table class="table table-hover" id="maintable">
|
||
|
<thead>
|
||
|
<tr>
|
||
|
<th>Naam</th>
|
||
|
<th>Aanpassen</th>
|
||
|
<th>Actief</th>
|
||
|
</thead>
|
||
|
|
||
|
<tbody>
|
||
|
<?php foreach ($lijsten as $lijst) {?>
|
||
|
<tr>
|
||
|
<td><?php echo $lijst['naam']; ?></td>
|
||
|
<td class="text-center"><a href="<?php echo base_url('edit/lijst/'.$lijst['id'])?>"><span class="glyphicon glyphicon-pencil"></span></a></td>
|
||
|
<?php if ($lijst['actief'] == 1) { ?>
|
||
|
<td class="text-center"><a href="<?php echo base_url('edit/disable/'.$lijst['id'])?>"><span class="glyphicon glyphicon-ok text-success"></span></a></td>
|
||
|
<?php } else { ?>
|
||
|
<td class="text-center"><a href="<?php echo base_url('edit/enable/'.$lijst['id'])?>"><span class="glyphicon glyphicon-remove text-danger"></span></a></td>
|
||
|
<?php } ?>
|
||
|
</tr>
|
||
|
<?php } ?>
|
||
|
</tbody>
|
||
|
|
||
|
</table>
|
||
|
</div>
|
||
|
</div
|
||
|
</div>
|