This commit is contained in:
Michael RICOIS 2016-03-22 11:35:18 +00:00
parent f572996df4
commit ab45879b83

View File

@ -18,7 +18,7 @@
<?php if ($this->print) {?>
<li class="dropdown">
<a href="#" class="dropdown-toggle sd-bgblue" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Imprimer <span class="caret"></span></a>
<i class="fa fa-print fa-fw"></i> <span class="hidden-xs hidden-sm">Imprimer</span> <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a title="Impression" href="/editer/ecran/<?=$this->print.'.html'?>"
target="_blank"><span class="glyphicon glyphicon-print" aria-hidden="true"></span> Papier</a></li>
@ -27,7 +27,8 @@
target="_blank"><span class="fa fa-file-pdf-o" aria-hidden="true"></span> PDF</a></li>
<?php }?>
<?php if ($this->xml) {?>
<li><a title="Export XML" href="/editer/xml/<?=$this->xml.'.xml'?>" target="_blank">XML</a></li>
<li><a title="Export XML" href="/editer/xml/<?=$this->xml.'.xml'?>"
target="_blank"><span class="fa fa-file-code-o" aria-hidden="true"></span> XML</a></li>
<?php }?>
</ul>
</li>
@ -52,43 +53,57 @@
</li>
<?php }?>
<li class="dropdown">
<a href="#" class="dropdown-toggle sd-bgblue" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Outils Métier <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="/" target="_blank"><div><strong>Extranet</strong></div><div>Données légales</div></a></li>
<li class="divider"></li>
<li><a href="http://ws.scores-decisions.com" target="_blank" title="Web Service API">
<div><strong>WebService</strong></div><div>Web Service API</div>
</a></li>
<li class="divider"></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'index', 'action'=>'odea'), 'default', true)?>" target="_blank">
<div><strong>ODEA</strong></div><div>Données et prospection</div></a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle sd-bgblue" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Tableau de bord <span class="caret"></span></a>
<ul class="dropdown-menu">
<a href="#" class="dropdown-toggle sd-bgblue" data-toggle="dropdown"
role="button" aria-haspopup="true" aria-expanded="false" title="Tableau de bord">
<i class="fa fa-dashboard fa-fw"></i> <span class="hidden-xs hidden-sm">Tableau de bord</span> <span class="caret"></span></a>
<ul class="dropdown-menu">
<?php if (in_array($this->UserProfil, array('Administrateur', 'SuperAdministrateur'))) {?>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'user', 'action'=>'liste'),
'default', true)?>">Administration</a></li>
<?php }?>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'aide', 'action'=>'newliste'),
'default', true)?>">Nouveautés</a></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'user', 'action'=>'index'),
'default', true)?>">Paramètres</a></li>
<?php if (in_array($this->UserProfil, array('SuperAdministrateur'))) {?>
<?php if (in_array($this->UserProfil, array('SuperAdministrateur'))) {?>
<li role="separator" class="divider"></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'dashboard', 'action'=>'index'),
'default', true)?>">Extranet Dashboard</a></li>
<?php }?>
<li role="separator" class="divider"></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'order', 'action'=>'index'),
<li role="separator" class="divider"></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'order', 'action'=>'index'),
'default', true)?>">Commandes</a></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'surveillance', 'action'=>'liste'),
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'surveillance', 'action'=>'liste'),
'default', true)?>">Surveillances</a></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'surveillance', 'action'=>'portefeuille'),
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'surveillance', 'action'=>'portefeuille'),
'default', true)?>">Portefeuille</a></li>
</ul>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle sd-bgblue" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Outils Métier <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="http://ws.scores-decisions.com" target="_blank">WebService</a></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'index', 'action'=>'odea'))?>"
target="_blank">ODEA : Données et prospection</a></li>
</ul>
</li>
<li><?=$this->profileLink()?></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle sd-bgblue" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
<i class="fa fa-user fa-fw"></i> <?=$this->profileLink()?> <span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'user', 'action'=>'index'),
'default', true)?>"><i class="fa fa-cogs fa-fw"></i> Paramètres</a></li>
<li class="divider"></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'user', 'action'=>'logout'),
'default', true)?>"><span class="glyphicon glyphicon-log-out" aria-hidden="true"></span> Déconnexion</a></li>
</ul>
</li>
</ul>
</div>
</div>