Skip to content

Commit

Permalink
fix(jans-cli-tui): source ldap server dialog (#5614)
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar authored Jul 24, 2023
1 parent f9f8ce7 commit 897d45f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions jans-cli-tui/cli_tui/cli_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@
# black background widget
"black-bg-widget": "bg:black fg:white",

# white background widget
"white-bg-widget": "bg:white fg:black",


### table
"table-white-header": "nounderline bold fg:ansiblack bg:White",
"table-white-data": "nounderline fg:ansiblack bg:LightGray",
Expand Down
2 changes: 1 addition & 1 deletion jans-cli-tui/cli_tui/plugins/090_jans_link/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ async def coroutine():
asyncio.ensure_future(coroutine())


def get_ldap_config_entries(self, data, widget_style=None):
def get_ldap_config_entries(self, data, widget_style=cli_style.white_bg_widget):

ldap_config_entires = [

Expand Down
1 change: 1 addition & 0 deletions jans-cli-tui/cli_tui/utils/static.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ class cli_style:
navbar_entriescolor = 'class:plugin-navbar-entriescolor'
tab_selected = 'class:tab-selected'
black_bg_widget = 'class:black-bg-widget'
white_bg_widget = 'class:white-bg-widget'
black_bg = 'class:plugin-black-bg'
textarea = 'class:textarea'
drop_down = 'class:plugin-dropdown'
Expand Down

0 comments on commit 897d45f

Please sign in to comment.