37 lines
2.1 KiB
PHTML
37 lines
2.1 KiB
PHTML
<!-- Fixed navbar -->
|
|
<div class="navbar navbar-default navbar-fixed-top">
|
|
<div class="container">
|
|
<div class="navbar-header">
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
<span class="icon-bar"></span>
|
|
</button>
|
|
<a class="navbar-brand" href="#">Web Service API</a>
|
|
</div>
|
|
<div class="collapse navbar-collapse">
|
|
<ul class="nav navbar-nav">
|
|
<li class="active"><a href="<?=$this->url(array('controller'=>'index', 'action'=>'index'),null,true)?>">Accueil</a></li>
|
|
<li class="dropdown">
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Documentation <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="<?=$this->url(array('controller'=>'documentation','action'=>'index'),null,true)?>">Information générale</a></li>
|
|
<li class="divider"></li>
|
|
<li><a href="<?=$this->url(array('controller'=>'documentation','action'=>'services'),null,true)?>">Liste des services</a></li>
|
|
<li class="divider"></li>
|
|
<?php if ( count($this->WsServices)>0 ) {?>
|
|
<?php foreach ( $this->WsServices as $service => $params ) {?>
|
|
<li><a href="<?=$this->url(array('controller'=>'documentation','action'=>'service','name'=>$service,'type'=>$params['type']),null,true)?>"><?=$params['name']?></a></li>
|
|
<?php }?>
|
|
<?php }?>
|
|
</ul>
|
|
</li>
|
|
<li><a href="<?=$this->url(array('controller'=>'demo', 'action'=>'index'), null, true)?>">Démonstration</a></li>
|
|
<li><a href="<?=$this->url(array('controller'=>'index', 'action'=>'contact'), null, true)?>">Contact</a></li>
|
|
<li><a href="<?=$this->url(array('controller'=>'user', 'action'=>'params'), null, true)?>">Paramètres</a></li>
|
|
<li><a href="<?=$this->url(array('controller'=>'index', 'action'=>'about'), null, true)?>">A propos</a></li>
|
|
</ul>
|
|
<p class="navbar-text pull-right"><?=$this->profileLink()?></p>
|
|
</div><!--/.nav-collapse -->
|
|
</div>
|
|
</div>
|