2015-06-27 22:35:34 +02:00
|
|
|
## -*- coding: utf-8 -*-
|
2015-05-29 22:36:07 +02:00
|
|
|
#<%inherit file="base.tmpl"/>
|
|
|
|
<%block name="navbar">
|
|
|
|
<div class="row clearfix">
|
|
|
|
<div class="col-md-12 column">
|
|
|
|
<nav class="navbar navbar-inverse" role="navigation">
|
2015-05-31 17:42:59 +02:00
|
|
|
<div class="navbar-header">
|
|
|
|
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> <span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button>
|
2016-07-10 08:58:16 +02:00
|
|
|
<a class="navbar-brand" href="/"><img src="/static/img/icon.png" alt="LdapCherry" height="22" width="22"></a>
|
2015-05-31 17:42:59 +02:00
|
|
|
<a class="navbar-brand" href="/selfmodify">Self Modify</a>
|
2015-06-10 21:26:59 +02:00
|
|
|
% if is_admin:
|
2015-05-31 17:42:59 +02:00
|
|
|
<a class="navbar-brand" href="/adduser">Add User</a>
|
2015-06-01 08:06:59 +02:00
|
|
|
<a class="navbar-brand" href="/searchadmin">Delete/Modify User</a>
|
2015-06-10 21:26:59 +02:00
|
|
|
% endif
|
2015-05-31 17:42:59 +02:00
|
|
|
</div>
|
2015-05-30 22:19:34 +02:00
|
|
|
|
2015-05-31 17:42:59 +02:00
|
|
|
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
2015-07-05 17:50:42 +02:00
|
|
|
<a class="navbar-brand navbar-right" href='/logout'><span class="glyphicon glyphicon-off"></span> Logout</a>
|
2016-07-05 20:26:29 +02:00
|
|
|
<form method='GET' action='/searchuser' class="navbar-form navbar-right" role="search" data-toggle="validator">
|
2015-05-29 22:36:07 +02:00
|
|
|
<div class="form-group">
|
2016-07-06 20:47:33 +02:00
|
|
|
<input type="text" class="form-control" data-minlength="3" name="searchstring" placeholder="Search User" data-error="Too short" required>
|
2015-05-31 17:42:59 +02:00
|
|
|
</div>
|
|
|
|
<button type="submit" class="btn btn-default">Submit</button>
|
2015-05-30 22:19:34 +02:00
|
|
|
</form>
|
2015-05-31 17:42:59 +02:00
|
|
|
</div>
|
|
|
|
</nav>
|
2015-05-29 22:36:07 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</%block>
|