Checking WIP Agent Movement Workflow
This commit is contained in:
+12
-1
@@ -6,7 +6,16 @@ from textual.css.query import NoMatches
|
||||
from textual.message import Message
|
||||
from textual.reactive import reactive
|
||||
from textual.widget import Widget
|
||||
from textual.widgets import Button, Input, RadioButton, RadioSet, Static, TextArea
|
||||
from textual.widgets import (
|
||||
Button,
|
||||
Footer,
|
||||
Header,
|
||||
Input,
|
||||
RadioButton,
|
||||
RadioSet,
|
||||
Static,
|
||||
TextArea,
|
||||
)
|
||||
|
||||
from models.agent import Agent
|
||||
|
||||
@@ -70,6 +79,7 @@ class OTPGenerator(Widget):
|
||||
pass
|
||||
|
||||
def compose(self):
|
||||
yield Header(show_clock=True, icon="⚙")
|
||||
title_text = Static(
|
||||
f"🎫 Generate One Time Passes for {len(self.devices)} device(s)",
|
||||
id="otpgen_title",
|
||||
@@ -165,6 +175,7 @@ class OTPGenerator(Widget):
|
||||
copy_button.styles.margin = (1, 0, 0, 0)
|
||||
copy_button.styles.display = "none"
|
||||
yield copy_button
|
||||
yield Footer()
|
||||
|
||||
def on_mount(self) -> None:
|
||||
"""Set initial button state."""
|
||||
|
||||
Reference in New Issue
Block a user