This commit is contained in:
Michael RICOIS 2016-09-07 14:42:56 +02:00
parent 64a096d0b3
commit 9beb98a970

View File

@ -10,7 +10,7 @@
<a href="#" class="dropdown-toggle sd-edit" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Mode Edition <span class="caret"></span></a>
<?php if (count($this->MenuInput) > 0) {?>
<ul class="dropdown-menu">
<ul class="dropdown-menu">
<?php foreach ($this->MenuInput as $item) {?>
<li><a <?php if (array_key_exists('class', $item)) {?>class="<?=$item['class']?>"<?php }?>
<?php if (array_key_exists('title', $item)) {?>title="<?=$item['title']?>"<?php }?>
@ -26,17 +26,17 @@
<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">
<?php if ($this->PrintHtml) {?>
<li><a title="Impression" href="<?=$this->url(array('module'=>'print', 'controller'=>'screen', 'action'=>'index',
<li><a title="Impression" href="<?=$this->url(array('module'=>'print', 'controller'=>'screen', 'action'=>'index',
'fichier'=> '.html'), 'default', true)?>" target="_blank">
<span class="glyphicon glyphicon-print" aria-hidden="true"></span> Papier</a></li>
<?php }?>
<?php if ($this->PrintPdf) {?>
<li><a title="Impression PDF" href="<?=$this->url(array('module'=>'print', 'controller'=>'file', 'action'=>'pdf',
<li><a title="Impression PDF" href="<?=$this->url(array('module'=>'print', 'controller'=>'file', 'action'=>'pdf',
'fichier'=> '.pdf'), 'default', true)?>" target="_blank">
<span class="fa fa-file-pdf-o" aria-hidden="true"></span> PDF</a></li>
<?php }?>
<?php if ($this->PrintXml) {?>
<li><a title="Export XML" href="<?=$this->url(array('module'=>'print', 'controller'=>'file', 'action'=>'xml',
<li><a title="Export XML" href="<?=$this->url(array('module'=>'print', 'controller'=>'file', 'action'=>'xml',
'fichier'=> '.pdf'), 'default', true)?>" target="_blank"><span class="fa fa-file-code-o" aria-hidden="true">
</span> XML</a></li>
<?php }?>
@ -46,7 +46,10 @@
<?php if ($this->MenuSuivi !== null) {?>
<li class="dropdown">
<a href="#" class="dropdown-toggle sd-bgblue" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">
Suivi <span class="badge"><?=count($this->Suivi)?></span> <span class="caret"></span></a>
Suivi
<?php if (count($this->Suivi) > 0) {?> <span class="badge"><?=count($this->Suivi)?></span>
<?php } else {?> <span class="badge">-</span><?php }?>
<span class="caret"></span></a>
<ul class="dropdown-menu">
<?php if ($this->SuiviMsg) {?>
<li><a href="#"><?=$this->SuiviMsg?></a></li>
@ -76,7 +79,7 @@
'siret'=>$item->CompanyId), 'default', true)?>" target="_blank">
<div><strong><?=$item->CompanyName?></strong></div>
<div>
<small><?=$item->CompanyId?></small> -
<small><?=$item->CompanyId?></small> -
<span class="text-muted"><small><em><?=$item->Date?></em></small></span>
</div>
</a>
@ -104,9 +107,9 @@
<li role="separator" class="divider"></li>
<li><a href="<?=$this->url(array('module'=>'user', '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'=>'user', 'controller'=>'portfolio', 'action'=>'index'),
'default', true)?>">Surveillances</a></li>
<li><a href="<?=$this->url(array('module'=>'default', 'controller'=>'surveillance', 'action'=>'portefeuille'),
<li><a href="<?=$this->url(array('module'=>'user', 'controller'=>'portfolio', 'action'=>'score'),
'default', true)?>">Portefeuille</a></li>
</ul>
</li>