issue #0001368 : New link, new design
This commit is contained in:
parent
474399108d
commit
1d1046b635
@ -1,8 +1,9 @@
|
||||
<style type="text/css">
|
||||
#utilisateur { border-collapse:collapse; width:100%;}
|
||||
#utilisateur tr.titre td { background-color: #D9EEF1; font-weight:bold; }
|
||||
#utilisateur tr.border td {
|
||||
border:1px dashed #939393; padding:5px; margin:0; vertical-align:top; }
|
||||
#utilisateur tr.border td { border:1px dashed #939393; padding:5px; margin:0; vertical-align:top; }
|
||||
#utilisateur tr.bordertop td { border:1px dashed #939393; border-top:1px solid; padding:5px; margin:0; vertical-align:top; }
|
||||
#utilisateur tr.borderbottom td { border:1px dashed #939393; border-bottom:1px solid; padding:5px; margin:0; vertical-align:top; }
|
||||
#utilisateur tr.actif { background-color:#D9EEF1; }
|
||||
#utilisateur tr.noactif { background-color:#F0F0F6; }
|
||||
.cadreinfo {display:none;}
|
||||
@ -14,7 +15,6 @@
|
||||
<table id="utilisateur" >
|
||||
<tr class="border titre">
|
||||
<td class="StyleInfoLib">Nom</td>
|
||||
<td class="StyleInfoLib">Informations</td>
|
||||
<td class="StyleInfoLib">Actions</td>
|
||||
</tr>
|
||||
<?php
|
||||
@ -26,70 +26,9 @@ if (count($this->ListeClients) > 0) {
|
||||
$class = 'noactif';
|
||||
}
|
||||
?>
|
||||
<tr class="border <?=$class?>">
|
||||
<tr class="bordertop <?=$class?>">
|
||||
<td><?=$cl->nom?></td>
|
||||
<td>
|
||||
|
||||
<div class="lien">
|
||||
<a title="Informations" href="#">Informations</a>
|
||||
<span class="cadreinfo">
|
||||
idClient : <?=$cl->idClient?><br/>
|
||||
Nom : <?=$cl->nom?><br/>
|
||||
SIREN : <?=$cl->siren?><br/>
|
||||
dateInsert : <?=$cl->dateInsert?><br/>
|
||||
dateUpdate : <?=$cl->dateUpdate?><br/>
|
||||
Actif : <?=$cl->actif?><br/>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="lien">
|
||||
<a title="Paramètres" href="#">Paramètres</a>
|
||||
<span class="cadreinfo">Filtre Ip :<br/>
|
||||
<?php
|
||||
$ips = explode(';', $cl->filtres_ip);
|
||||
foreach ($ips as $ip){
|
||||
echo $ip.'<br/>';
|
||||
}
|
||||
?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class="lien">
|
||||
<a title="Droits" href="">Droits</a>
|
||||
<span class="cadreinfo">
|
||||
<?php
|
||||
$listedroits = explode(' ', $cl->droits);
|
||||
foreach($listedroits as $droit) {
|
||||
foreach($this->wsdroits as $item){
|
||||
if (strtolower($item->code)==$droit){
|
||||
echo $item->desc.'<br/>';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<a title="Liste des prestations" href="<?=$this->url(array(
|
||||
'controller' => 'dashboard',
|
||||
'action' => 'prestations',
|
||||
'idClient' => $cl->idClient
|
||||
))?>">Liste des prestations fichier</a>
|
||||
<div>
|
||||
|
||||
<a title="Liste des utiliateurs" href="<?=$this->url(array(
|
||||
'controller' => 'dashboard',
|
||||
'action' => 'users',
|
||||
'idClient' => $cl->idClient
|
||||
))?>">Liste des utilisateurs
|
||||
</a>
|
||||
<div>
|
||||
|
||||
</div>
|
||||
|
||||
</td>
|
||||
<td>
|
||||
<td rowspan="2">
|
||||
<?php
|
||||
if ($cl->actif == 'Oui') {
|
||||
?>
|
||||
@ -106,6 +45,58 @@ if (count($this->ListeClients) > 0) {
|
||||
?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="borderbottom <?=$class?>">
|
||||
<td>
|
||||
<a title="Informations" id="informations" class="lien" href="#">Informations</a> |
|
||||
<a title="Paramètres" id="parametres" class="lien" href="#">Paramètres</a> |
|
||||
<a title="Droits" id="droits" class="lien" href="#">Droits</a> |
|
||||
<a title="Liste des prestations" href="<?=$this->url(array(
|
||||
'controller' => 'dashboard',
|
||||
'action' => 'prestations',
|
||||
'idClient' => $cl->idClient
|
||||
))?>">Liste des prestations fichier</a> |
|
||||
<a title="Liste des utiliateurs" href="<?=$this->url(array(
|
||||
'controller' => 'dashboard',
|
||||
'action' => 'users',
|
||||
'idClient' => $cl->idClient
|
||||
))?>">Liste des utilisateurs
|
||||
</a>
|
||||
|
||||
<div id="informations" class="cadreinfo">
|
||||
idClient : <?=$cl->idClient?><br/>
|
||||
Nom : <?=$cl->nom?><br/>
|
||||
SIREN : <?=$cl->siren?><br/>
|
||||
dateInsert : <?=$cl->dateInsert?><br/>
|
||||
dateUpdate : <?=$cl->dateUpdate?><br/>
|
||||
Actif : <?=$cl->actif?><br/>
|
||||
</div>
|
||||
|
||||
<div id="parametres" class="cadreinfo">
|
||||
Filtre Ip :<br/>
|
||||
<?php
|
||||
$ips = explode(';', $cl->filtres_ip);
|
||||
foreach ($ips as $ip){
|
||||
echo $ip.'<br/>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
<div id="droits" class="cadreinfo">
|
||||
<?php
|
||||
$listedroits = explode(' ', $cl->droits);
|
||||
foreach($listedroits as $droit) {
|
||||
foreach($this->wsdroits as $item){
|
||||
if (strtolower($item->code)==$droit){
|
||||
echo $item->desc.'<br/>';
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,10 @@
|
||||
$(document).ready(function(){
|
||||
|
||||
$('div.lien').click(function(e){
|
||||
$('a.lien').click(function(e){
|
||||
e.preventDefault();
|
||||
var text = $(this).children('span').html();
|
||||
var title = $(this).children('a').attr('title');
|
||||
var id = $(this).attr('id');
|
||||
var text = $('div#'+id).html();
|
||||
var title = $(this).attr('title');
|
||||
var dialogOpts = {
|
||||
bgiframe: true,
|
||||
title: title,
|
||||
|
Loading…
Reference in New Issue
Block a user