Skip to content

Commit

Permalink
change Navigation to Widgetastic PF4 (#915)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrlc authored Aug 2, 2023
1 parent 781dfdc commit 3399ef4
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions airgun/views/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
from widgetastic_patternfly import Button
from widgetastic_patternfly import Tab
from widgetastic_patternfly import TabWithDropdown
from widgetastic_patternfly4.navigation import Navigation
from widgetastic_patternfly4.ouia import Dropdown

from airgun.utils import get_widget_by_name
Expand All @@ -28,17 +29,14 @@
from airgun.widgets import SatFlashMessages
from airgun.widgets import SatSubscriptionsTable
from airgun.widgets import SatTable
from airgun.widgets import SatVerticalNavigation
from airgun.widgets import Search
from airgun.widgets import ValidationErrors


class BaseLoggedInView(View):
"""Base view for Satellite pages"""

menu = SatVerticalNavigation(
'.//div[@id="vertical-nav" or contains(@class, "nav-pf-vertical")]/ul'
)
menu = Navigation("Global")
taxonomies = ContextSelector()
flash = SatFlashMessages()
validations = ValidationErrors()
Expand Down

0 comments on commit 3399ef4

Please sign in to comment.