diff options
author | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-22 00:26:52 +0200 |
---|---|---|
committer | Kristian Lyngstol <kristian@bohemians.org> | 2016-05-22 00:26:52 +0200 |
commit | e67f54f2f8ea63ff71c15e7d5622fe3c3cff4b88 (patch) | |
tree | 68d608f054e39855a71ae5d025a9690addfd1106 /web/index.html | |
parent | b1dc0791834333e2560ff211c88b092665386333 (diff) |
Search box/oplog: Add string-literal search
You can now use "foo" to find a switch called foo, but not also the ones
called foobar foobar1, etc
Diffstat (limited to 'web/index.html')
-rw-r--r-- | web/index.html | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/web/index.html b/web/index.html index dc6c7d4..f469c1f 100644 --- a/web/index.html +++ b/web/index.html @@ -158,6 +158,7 @@ <div class="input-group input-group-sm"> <input id="searchbox" type="text" class="form-control" placeholder="Filter" oninput="nmsInfoBox._search()" /> <span class="input-group-btn"> + <button id="searchbox-x" class="btn btn-default" type="button" onclick="var lol = document.getElementById('searchbox'); lol.value = ''; lol.oninput();">X</button> <button id="searchbox-help" class="btn btn-default" type="button" onclick="nmsInfoBox.showWindow('searchHelp');">?</button> <button id="searchbox-submit" class="btn btn-default" type="button" onclick="nmsInfoBox.showWindow('switchInfo',document.getElementById('searchbox').value);">Go!</button> </span> |