mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-12 16:06:25 +02: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