20 lines
516 B
Python
20 lines
516 B
Python
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()
|