Add list group
This commit is contained in:
parent
19d8112e5f
commit
204abd0abe
@ -1,5 +1,4 @@
|
||||
<div class="container">
|
||||
<div id="dashboard">
|
||||
|
||||
<h2>Liste des paramètres clients</h2>
|
||||
<div class="paragraph">
|
||||
@ -7,31 +6,37 @@
|
||||
</div>
|
||||
|
||||
<div class="paragraph">
|
||||
<table>
|
||||
<table class="table table-striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Nom</th>
|
||||
<th>Début du contrat</th>
|
||||
<th>Durée contrat</th>
|
||||
<th>Logins ouvert</th>
|
||||
<th>Action</th>
|
||||
<th>Nom</th>
|
||||
<th>Début du contrat</th>
|
||||
<th>Durée contrat</th>
|
||||
<th>Logins ouvert</th>
|
||||
<th>Action</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php foreach($this->customerlist as $item) {?>
|
||||
<tr>
|
||||
<td><?=$item['nom']?></td>
|
||||
<td><?=$item['dateContrat']?></td>
|
||||
<td><?=$item['periodContrat']?></td>
|
||||
<td>
|
||||
<?php foreach ($item['logins'] as $login) {?>
|
||||
<?=$login?><br/>
|
||||
<?php }?>
|
||||
<ul class="list-group">
|
||||
<?php foreach ($item['logins'] as $login) {?>
|
||||
<li class="list-group-item"><?=$login?></li>
|
||||
<?php }?>
|
||||
</ul>
|
||||
</td>
|
||||
<td>
|
||||
<a href="<?=$this->url(array('controller'=>'gestion', 'action'=>'customerparam',
|
||||
'idClient'=>$item['idClient']))?>">Détail</a>
|
||||
</td>
|
||||
<td><a href="<?=$this->url(array('controller'=>'gestion', 'action'=>'customerparam', 'idClient'=>$item['idClient']))?>">Détail</a></td>
|
||||
</tr>
|
||||
<?php }?>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user