mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-22 09:24:21 +01:00
adding navbar to templates
This commit is contained in:
parent
1acd48c332
commit
c8ee1768d5
28
resources/templates/navbar.tmpl
Normal file
28
resources/templates/navbar.tmpl
Normal file
@ -0,0 +1,28 @@
|
||||
#<%inherit file="base.tmpl"/>
|
||||
<%block name="navbar">
|
||||
<div class="row clearfix">
|
||||
<div class="col-md-12 column">
|
||||
<nav class="navbar navbar-inverse" role="navigation">
|
||||
<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>
|
||||
<a class="navbar-brand" href="/self">Self Modify</a>
|
||||
<a class="navbar-brand" href="/adduser">Add User</a>
|
||||
<a class="navbar-brand" href="/search">Delete/Modify User</a>
|
||||
</div>
|
||||
<form class="navbar-form navbar-left" role="search">
|
||||
<div class="form-group">
|
||||
<input type="text" class="form-control" placeholder="Search">
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">Submit</button>
|
||||
</form>
|
||||
%if logout_button:
|
||||
<a class="navbar-brand navbar-right" href='/logout'><span class="glyphicon glyphicon-off"> Logout</a>
|
||||
%endif
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
</%block>
|
Loading…
Reference in New Issue
Block a user