admin: autofocus search fields

This commit is contained in:
nemunaire 2018-01-08 00:41:23 +01:00
parent beba0a615f
commit 1b852f255e
8 changed files with 19 additions and 7 deletions

View file

@ -4,7 +4,7 @@
<button ng-click="sync()" ng-class="{'disabled': inSync}" class="float-right btn btn-sm btn-secondary" style="margin-right: 10px;"><span class="glyphicon glyphicon-refresh" aria-hidden="true"></span> Synchroniser</button>
</h2>
<p><input type="search" class="form-control" placeholder="Search" ng-model="query"></p>
<p><input type="search" class="form-control" placeholder="Search" ng-model="query" autofocus></p>
<table class="table table-hover table-bordered table-striped">
<thead class="thead-dark">
<tr>