Add "Jump:" label to search box when jumping

This commit is contained in:
Lorenz Hübschle-Schneider 2017-03-18 16:23:12 +01:00
parent e5b8f8fffe
commit cdd88baa62
2 changed files with 19 additions and 2 deletions

View file

@ -73,10 +73,24 @@ td.message {
border-bottom: 2px solid #555;
}
.input-group-addon, .input-group-btn {
.input-group-btn {
vertical-align: top;
}
.input-group-addon {
background: none;
border: none;
color: #ccc;
}
.buffer-jump {
display: none;
}
.showjumpkeys .buffer-jump {
display: table-cell;
}
.footer button {
border-radius: 0;
}

View file

@ -265,7 +265,10 @@ npm run build-electron-{windows, darwin, linux}</pre>
<ul class="nav nav-pills nav-stacked" ng-class="{'indented': (predicate === 'serverSortKey'), 'showquickkeys': showQuickKeys, 'showjumpkeys': showJumpKeys}">
<li class="bufferfilter">
<form role="form">
<input class="form-control favorite-font" type="text" id="bufferFilter" ng-model="search" ng-keydown="handleSearchBoxKey($event)" placeholder="Search" autocomplete="off">
<div class="input-group">
<span class="input-group-addon buffer-jump" id="jump-addon">Jump:</span>
<input class="form-control favorite-font" type="text" id="bufferFilter" ng-model="search" ng-keydown="handleSearchBoxKey($event)" placeholder="Search" autocomplete="off" aria-describedby="jump-addon">
</div>
</form>
</li>
<li class="buffer" ng-class="{'active': buffer.active,