mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added headers for devices / groups
This commit is contained in:
@ -147,6 +147,7 @@ $('#target').typeahead({
|
||||
displayKey: 'name',
|
||||
valueKey: name,
|
||||
templates: {
|
||||
header: '<h5><strong> Devices</strong></h5>',
|
||||
suggestion: Handlebars.compile('<p> {{name}}</p>')
|
||||
}
|
||||
},
|
||||
@ -156,6 +157,7 @@ $('#target').typeahead({
|
||||
displayKey: 'name',
|
||||
valueKey: name,
|
||||
templates: {
|
||||
header: '<h5><strong> Groups</strong></h5>',
|
||||
suggestion: Handlebars.compile('<p> {{name}}</p>')
|
||||
}
|
||||
});
|
||||
|
@ -286,6 +286,7 @@ $('#map-stub').typeahead({
|
||||
displayKey: 'name',
|
||||
valueKey: name,
|
||||
templates: {
|
||||
header: '<h5><strong> Devices</strong></h5>',
|
||||
suggestion: Handlebars.compile('<p> {{name}}</p>')
|
||||
}
|
||||
},
|
||||
@ -295,6 +296,7 @@ $('#map-stub').typeahead({
|
||||
displayKey: 'name',
|
||||
valueKey: name,
|
||||
templates: {
|
||||
header: '<h5><strong> Groups</strong></h5>',
|
||||
suggestion: Handlebars.compile('<p> {{name}}</p>')
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user