Nav: Remove global search since it's not working

refs #4583
This commit is contained in:
Eric Lippmann 2013-08-20 11:55:04 +02:00 committed by Marius Hein
parent 207c47ae64
commit 41f5499bba
1 changed files with 25 additions and 24 deletions

View File

@ -3,25 +3,26 @@
<ul class="nav pull-left"> <ul class="nav pull-left">
<li style="float:left"><a href="<?= $this->baseUrl('/') ?>" class="brand" style="margin-left:0px;">Icinga</a></li> <li style="float:left"><a href="<?= $this->baseUrl('/') ?>" class="brand" style="margin-left:0px;">Icinga</a></li>
</ul> </ul>
<?php if ($this->auth()->isAuthenticated()): ?> <?php if ($this->auth()->isAuthenticated()): ?>
<ul class="nav pull-right" > <ul class="nav pull-right" >
<li> <!-- Remove component as of #4583 since it's not working-->
<form class="navbar-search" style="padding-top:0.2em"> <!-- <li>-->
<input type="text" class="search-query" placeholder="Search" style="padding-top:0.3em"> <!-- <form class="navbar-search" style="padding-top:0.2em">-->
</form> <!-- <input type="text" class="search-query" placeholder="Search" style="padding-top:0.3em">-->
</li> <!-- </form>-->
<!-- </li>-->
<li class="dropdown"> <li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><?= <a href="#" class="dropdown-toggle" data-toggle="dropdown">
$this->escape($this->auth()->getUser()->getUsername()) <?= $this->escape($this->auth()->getUser()->getUsername()); ?>
?> <i class="icon-user icon-white" style="margin-top:0.2em"></i> <i class="icon-user icon-white" style="margin-top:0.2em"></i>
<b class="caret"></b> <b class="caret"></b>
</a> </a>
<ul class="dropdown-menu"> <ul class="dropdown-menu">
<li><?= $this->qlink($this->translate('Preferences'), 'preference') ?></li> <li><?= $this->qlink($this->translate('Preferences'), 'preference'); ?></li>
<li><?= $this->qlink($this->translate('Logout'), 'authentication/logout') ?></li> <li><?= $this->qlink($this->translate('Logout'), 'authentication/logout'); ?></li>
</ul> </ul>
</li> </li>
</ul> </ul>
<?php endif ?> <?php endif ?>
</div> </div>
</div> </div>