-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3.12.0 - Initial functional UI features
- Loading branch information
Showing
19 changed files
with
386 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
--- | ||
major: 3 | ||
minor: 11 | ||
patch: 3 | ||
minor: 12 | ||
patch: 0 | ||
entry: runtimepy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,7 @@ | |
.collapse:not(.show) { | ||
display: none !important; | ||
} | ||
|
||
select.form-select { | ||
width: min-content; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
A module implementing a channel-environment tab HTML interface. | ||
""" | ||
|
||
# internal | ||
from runtimepy.net.server.app.env.tab.html import ChannelEnvironmentTabHtml | ||
from runtimepy.net.server.app.env.tab.message import ( | ||
ChannelEnvironmentTabMessaging, | ||
) | ||
|
||
|
||
class ChannelEnvironmentTab( | ||
ChannelEnvironmentTabMessaging, ChannelEnvironmentTabHtml | ||
): | ||
"""A class aggregating all channel-environment tab interfaces.""" | ||
|
||
all_tabs: dict[str, "ChannelEnvironmentTab"] = {} | ||
|
||
def init(self) -> None: | ||
"""Initialize this instance.""" | ||
|
||
super().init() | ||
|
||
# Update global mapping. | ||
type(self).all_tabs[self.name] = self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
""" | ||
A module implementing a channel-environment tab HTML interface. | ||
""" | ||
|
||
# internal | ||
from runtimepy.channel.environment.command.processor import ( | ||
ChannelCommandProcessor, | ||
) | ||
from runtimepy.net.arbiter.info import AppInfo | ||
from runtimepy.net.server.app.bootstrap.tabs import TabbedContent | ||
from runtimepy.net.server.app.tab import Tab | ||
|
||
|
||
class ChannelEnvironmentTabBase(Tab): | ||
"""A channel-environment tab interface.""" | ||
|
||
def __init__( | ||
self, | ||
name: str, | ||
command: ChannelCommandProcessor, | ||
app: AppInfo, | ||
tabs: TabbedContent, | ||
icon: str = "alarm", | ||
) -> None: | ||
"""Initialize this instance.""" | ||
|
||
self.command = command | ||
super().__init__(name, app, tabs, source="env", icon=icon) |
Oops, something went wrong.