typeahead in device search now works for interface aliases
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
* When linking to devices, use the DNS name in preference to the IP
|
* When linking to devices, use the DNS name in preference to the IP
|
||||||
(makes for more attractive navigation search bar, but need to watch for aliases)
|
(makes for more attractive navigation search bar, but need to watch for aliases)
|
||||||
* In general, device names do not have domain_suffix trimmed, but nodes do
|
* In general, device names do not have domain_suffix trimmed, but nodes do
|
||||||
|
* Search on device interface alias now works for typeahead and device redirect
|
||||||
|
|
||||||
[BUG FIXES]
|
[BUG FIXES]
|
||||||
|
|
||||||
|
|||||||
@@ -142,6 +142,7 @@ $(document).ready(function() {
|
|||||||
return process(data);
|
return process(data);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
,matcher: function () { return true; } // trust backend
|
||||||
,minLength: 3
|
,minLength: 3
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -70,7 +70,8 @@
|
|||||||
[% END %]
|
[% END %]
|
||||||
</ul>
|
</ul>
|
||||||
<form class="navbar-search pull-left" method="get" action="[% uri_for('/search') %]">
|
<form class="navbar-search pull-left" method="get" action="[% uri_for('/search') %]">
|
||||||
<input placeholder="Find Anything" class="search-query span3" id="nq" name="q" type="text"/>
|
<input placeholder="Find Anything" class="search-query span3"
|
||||||
|
id="nq" name="q" type="text" autocomplete="off"/>
|
||||||
<span style="font-size: 24px;">
|
<span style="font-size: 24px;">
|
||||||
<i id="navsearchgo" class="icon-search navbar_icon"></i>
|
<i id="navsearchgo" class="icon-search navbar_icon"></i>
|
||||||
</span>
|
</span>
|
||||||
|
|||||||
1
TODO
1
TODO
@@ -12,7 +12,6 @@ FRONTEND
|
|||||||
* logging from web app
|
* logging from web app
|
||||||
* reports page
|
* reports page
|
||||||
* reports plugin(s)
|
* reports plugin(s)
|
||||||
* aliasing instead of DNS for device lookups
|
|
||||||
* URI escape TT substitutions
|
* URI escape TT substitutions
|
||||||
* (jeneric) device module tab
|
* (jeneric) device module tab
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user