typeahead library is now added via git subtree.
handlebars is a single file download as the github repo doesn't contain a compiled version.
Updated CSS to ensure menus work correctly.
Fixed global search on mobiles so the drop down goes to the right. On normal screens it's to the left as normal.
Fixed all other uses of typeahead so the drop down goes to the left as well.
This provides a lot more flexibility than we have at the moment (and is what has enabled me to fix the drop down menu).
I've tested each of the changed pages and it works ok for me.
Squashed 'lib/typeahead/' content from commit 588440f
Merge commit '0f02c6843711558e22389be70fc0a74783871339' as 'lib/typea…
Squashed 'lib/handlebars/' content from commit 891f48b
Merge commit '1ba21ed194ed33d013c2dd181083e989001fa330' as 'lib/handl…
Added files needed to update typeahead
Added handlebar js library
Updated global search for new typeahead
Updated all typeahead code to use new library
Merge branch 'master' of github.com:laf/librenms into twitter-typeahead
Removed class from dropdown
Select items are now normal icon
Added hover blue
Changed font color
Sorted ports / bgp background
Ok just a tiny thing before we can get this merged :)
The Typeahead suggestbox on Alert-Map (both in the new-rule-modal and the dedicated map page) used to have headlines to indicate which entries are Devices and which are Groups. This feature got lost somehow.
Groups are prefixed with a g: so we can just leave it as it is, if you think the prefix is enough.
Updated now to show heading for groups / devices.
Added headers for devices / groups