basic email tui working
This commit is contained in:
18
tui.py
Normal file
18
tui.py
Normal file
@@ -0,0 +1,18 @@
|
||||
from textual.app import App, ComposeResult
|
||||
from textual.widgets import Header, Footer, Static, Label
|
||||
|
||||
class MSALApp(App):
|
||||
"""A Textual app for MSAL authentication."""
|
||||
|
||||
CSS_PATH = "msal_app.tcss" # Optional: For styling
|
||||
|
||||
def compose(self) -> ComposeResult:
|
||||
"""Create child widgets for the app."""
|
||||
yield Header(show_clock=True)
|
||||
yield Footer()
|
||||
yield Static(Label("MSAL Authentication App"), id="main_content")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app = MSALApp()
|
||||
app.run()
|
||||
Reference in New Issue
Block a user