Skip to content

Commit

Permalink
fix: jans-cli progress icon color
Browse files Browse the repository at this point in the history
  • Loading branch information
devrimyatar committed Nov 4, 2022
1 parent 1f75a39 commit a8a2c7d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions jans-cli-tui/cli_style.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"textarea-readonly": "bg:#ffffff fg:#4D4D4D",
"required-field": "#8b000a",
"textarea":"bg:#ffffff fg:#0000ff",
"status": "reverse",
"status": "bg:ansigray fg:black",
"progress": "bg:ansigray fg:ansired",
"select-box cursor-line": "nounderline bg:ansired fg:ansiwhite",
"checkbox":"nounderline bg:#ffffff fg:#d1c0c0 #ff0000",
### Jans_cli_tui
Expand All @@ -27,13 +28,13 @@
"jans-main-usercredintial.titletext":"",
"jans-main-datadisplay":"",
"jans-main-datadisplay.text":"",

### Styling for Scripts plugin
### main
"script_maincontainer":"bg:#908F90",
"script_maincontainer":"bg:#908F90",
"script-sidenav":"red",
"script-mainarea":"yellow",
"script-navbar-bgcolor":"#2600ff",
"script-navbar-bgcolor":"#2600ff",
"script-checkbox":"green",
"script-titledtext":"green",
"script-label":"blue",
Expand All @@ -51,13 +52,13 @@
"outh-verticalnav-headcolor":'green',
"outh-verticalnav-entriescolor":'white',

"outh-waitclientdata":'' ,
"outh-waitclientdata.label":'' ,
"outh-waitclientdata":'',
"outh-waitclientdata.label":'',
"outh-waitscopedata":'' ,
"outh-waitscopedata.label":'' ,
"outh-waitscopedata.label":'',

"outh-titledtext":"green",
"outh-label":"blue",
"outh-label":"blue",
## edit_client_dialog
"outh-client-navbar":"#2600ff",
"outh-client-navbar-headcolor":"green",
Expand Down
2 changes: 1 addition & 1 deletion jans-cli-tui/jans-cli-tui.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def __init__(self):

self.yes_button = Button(text=_("Yes"), handler=accept_yes)
self.no_button = Button(text=_("No"), handler=accept_no)
self.pbar_window = Window(char=lambda: self.progress_char, style='class:status', width=1)
self.pbar_window = Window(char=lambda: self.progress_char, style='class:progress', width=1)
self.status_bar = VSplit([
Window(FormattedTextControl(self.update_status_bar), style='class:status', height=1),
self.pbar_window,
Expand Down

0 comments on commit a8a2c7d

Please sign in to comment.