clean up old references to smol-k8s-lab
This commit is contained in:
parent
8cb781f2bf
commit
4433ffc36d
4 changed files with 8 additions and 6 deletions
|
|
@ -1,11 +1,13 @@
|
|||
from smol_k8s_lab.tui.bitwarden.bitwarden_credentials_modal_screen import (
|
||||
BitwardenCredentialsScreen)
|
||||
# internal libraries
|
||||
from .bitwarden_credentials_modal_screen import BitwardenCredentialsScreen
|
||||
|
||||
# external libraries
|
||||
from textual.app import App, ComposeResult
|
||||
from textual.widgets import Label
|
||||
|
||||
|
||||
class BitwardenCredentialsApp(App[None]):
|
||||
"""
|
||||
"""
|
||||
small app to launch a modal screen for a bitwarden credentials prompt
|
||||
"""
|
||||
CSS = """
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ from textual.widgets import Label, Input, Button
|
|||
|
||||
HELP_TXT = ("Requires [u][link=https://bitwarden.com/help/personal-api-key/]"
|
||||
"personal API credentials[/][/]. To avoid this prompt, export the "
|
||||
"following env vars before running smol-k8s-lab: "
|
||||
"following env vars before running this app: "
|
||||
"BW_PASSWORD, BW_CLIENTID, BW_CLIENTSECRET")
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ class AskUserForDuplicateStrategy(App[None]):
|
|||
# disable the edit button till a user has selected an item
|
||||
edit_button = self.get_widget_by_id("edit-button")
|
||||
edit_button.disabled = True
|
||||
edit_button.tooltip = ("Select an item above to have smol-k8s-lab "
|
||||
edit_button.tooltip = ("Select an item above to have this app "
|
||||
"edit the existing item in your Vault.")
|
||||
|
||||
self.query_one(RadioSet).border_title = (
|
||||
|
|
|
|||
Loading…
Reference in a new issue