-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
102 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,17 @@ | ||
from extras.plugins import PluginConfig | ||
from packaging import version | ||
from django.conf import settings | ||
NETBOX_CURRENT_VERSION = version.parse(settings.VERSION) | ||
|
||
if NETBOX_CURRENT_VERSION >= version.parse("4.0.0"): | ||
from netbox.plugins import PluginConfig | ||
else: | ||
from extras.plugins import PluginConfig | ||
|
||
class NextBoxUIConfig(PluginConfig): | ||
name = 'nextbox_ui_plugin' | ||
verbose_name = 'NextBox UI' | ||
description = 'A topology visualization plugin for Netbox powered by NextUI Toolkit.' | ||
version = '0.14.0' | ||
version = '0.15.0' | ||
author = 'Igor Korotchenkov' | ||
author_email = '[email protected]' | ||
base_url = 'nextbox-ui' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters