INNER CODE UNIT · Python

compose

antoniorodr/cronboard · src/cronboard/app.py:93

    def compose(self) -> ComposeResult:
        """Builds the UI: title, footer, tabs, and content container."""

        version: str = self.get_version()
        self.config_path: Path = Path.home() / ".config/cronboard/config.toml"
        yield Label(
            f"""▄▖      ▄        ▌
▌ ▛▘▛▌▛▌▙▘▛▌▀▌▛▘▛▌
▙▖▌ ▙▌▌▌▙▘▙▌█▌▌ ▙▌ v{version}""",
            id="title",
        )
        yield Footer()
        self.tabs = CronTabs(
            Tab("Local", id="local"),
            Tab("Servers", id="servers"),
            Tab("Settings", id="settings"),
        )
        yield self.tabs

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…