menu.ctp 1.46 KB
<h3>Menu</h3>
	<!-- Upper left bar menu definition for all users -->
<ul>
	<li><?= $this->Html->link(__('<i class="icon-home"></i> Accueil'), 
			['controller' => 'pages', 'action' => 'display'], 
			['escape' => false]); ?></li>

	<li><?= $this->Html->link(__('<i class="icon-search"></i> Rechercher un matériel'), 
			['controller' => 'materiels', 'action' => 'find'],
			['escape' => false]); ?></li>
	
	<li><?= $this->Html->link(__('<i class="icon-list"></i> Liste des matériels'), 
			['controller' => 'Materiels', 'action' => 'index'], 
			['escape' => false]) ?></li>
	
	<li><?= $this->Html->link(__('<i class="icon-list"></i> Liste des suivis'), 
			['controller' => 'Suivis', 'action' => 'index'], 
			['escape' => false]) ?></li>
	
	<li><?= $this->Html->link(__('<i class="icon-list"></i> Liste des emprunts'), 
			['controller' => 'Emprunts', 'action' => 'index'], 
			['escape' => false]) ?></li>
			
	<li><?= $this->Html->link(__('<i class="icon-wrench"></i> Outils'), 
			['controller' => 'pages', 'action' => 'tools'], 
			['escape' => false]) ?></li>
			
	<li><?= $this->Html->link(__('<i class="icon-list"></i> A PROPOS'), 
			['controller' => 'pages', 'action' => 'about'], 
			['escape' => false]) ?></li>	
</ul>

<h3 style="margin-top: 20px;">Recherche</h3>
<?php
	//Search function
	echo $this->Form->create('Materiel', ['url' => '/materiels/find']);
    echo '<input name="s_all_2" class="search-input" type="text" id="MaterielSAll">';
    echo $this->Form->end();
?>