mirror of
https://github.com/kakwa/ldapcherry
synced 2024-11-21 17:04:21 +01:00
Merge branch 'master' of https://github.com/kakwa/ldapcherry
This commit is contained in:
commit
07a60823ad
@ -1,6 +1,10 @@
|
||||
Dev
|
||||
***
|
||||
|
||||
* [fix ] fix many encoding errors in AD backend
|
||||
* [impr] add unit tests on AD backend
|
||||
* [impr] display the admin result page if searching as admin in navbar form
|
||||
|
||||
Version 0.3.5
|
||||
*************
|
||||
|
||||
|
@ -13,12 +13,19 @@
|
||||
<a class="navbar-brand" href="/searchadmin">Delete/Modify User</a>
|
||||
% endif
|
||||
</div>
|
||||
|
||||
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
|
||||
<a class="navbar-brand navbar-right" href='/logout'><span class="glyphicon glyphicon-off"></span> Logout</a>
|
||||
% if is_admin:
|
||||
<form method='GET' action='/searchadmin' class="navbar-form navbar-right" role="search" data-toggle="validator">
|
||||
% else:
|
||||
<form method='GET' action='/searchuser' class="navbar-form navbar-right" role="search" data-toggle="validator">
|
||||
% endif
|
||||
<div class="form-group">
|
||||
% if is_admin:
|
||||
<input type="text" class="form-control" name="searchstring" placeholder="Search User">
|
||||
% else:
|
||||
<input type="text" class="form-control" data-minlength="3" name="searchstring" placeholder="Search User" data-error="Too short" required>
|
||||
% endif
|
||||
</div>
|
||||
<button type="submit" class="btn btn-default">Submit</button>
|
||||
</form>
|
||||
|
Loading…
Reference in New Issue
Block a user