mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Device Types Widget (#13670)
* show all Device Types in Location Overview * . * . * . * get device types from config_definition * reduce column to present device types * . * fixes * . * show/hide columns, even device types which are not present * only show top n used device groups * . * . * . * Device Type Widget * . * . * linter fix * Update DeviceTypeController.php Co-authored-by: Tony Murray <murraytony@gmail.com>
This commit is contained in:
@@ -110,6 +110,11 @@ class DefaultWidgetSeeder extends Seeder
|
||||
'widget' => 'top-errors',
|
||||
'base_dimensions' => '6,3',
|
||||
],
|
||||
[
|
||||
'widget_title' => 'Device Types',
|
||||
'widget' => 'device-types',
|
||||
'base_dimensions' => '6,3',
|
||||
],
|
||||
];
|
||||
|
||||
$existing = DB::table('widgets')->pluck('widget');
|
||||
|
Reference in New Issue
Block a user