diff --git a/netbox_physical_storage/navigation.py b/netbox_physical_storage/navigation.py new file mode 100644 index 0000000..fae213a --- /dev/null +++ b/netbox_physical_storage/navigation.py @@ -0,0 +1,19 @@ +from extras.plugins import PluginMenuButton, PluginMenuItem +from utilities.choices import ButtonColorChoices + +storagedevice_buttons = [ + PluginMenuButton( + link='plugins:netbox_physical_storage:storagedevice_add', + title='Add', + icon_class='mdi mdi-plus-thick', + color=ButtonColorChoices.GREEN, + ), +] + +menu_items = ( + PluginMenuItem( + link='plugins:netbox_physical_storage:storagedevice_list', + link_text='Storage Devices', + buttons=storagedevice_buttons, + ), +) \ No newline at end of file