Move main project to new repository

This commit is contained in:
Michael Mikovsky
2025-08-24 11:04:33 -06:00
parent 7bf1ef9419
commit 2bb86fb67c
48 changed files with 0 additions and 3497 deletions
+9
View File
@@ -0,0 +1,9 @@
import { Page } from "../page.slint";
export component ClientsPage inherits Page {
Text {
text: "Clients";
font-size: 18px;
font-weight: 700;
}
}
+3
View File
@@ -0,0 +1,3 @@
import { Page } from "../page.slint";
export component DashboardPage inherits Page { }
+54
View File
@@ -0,0 +1,54 @@
import { Page } from "../page.slint";
import { UITcpListener } from "../structs.slint";
import { ScrollView, GridBox, Button } from "std-widgets.slint";
import { BorderedRectangle, BoolText, TitleText } from "../components.slint";
component ListenerCard inherits BorderedRectangle {
in property <UITcpListener> listener;
VerticalLayout {
padding: 10px;
Text {
text: listener.name;
font-weight: 700;
font-size: 18px;
}
TitleText {
text: "Enabled: ";
BoolText {
state: listener.enabled;
font-weight: 500;
font-size: 14px;
}
}
TitleText {
text: "Remote Host: ";
Text {
text: listener.remote-host;
font-weight: 500;
font-size: 14px;
}
}
}
}
export component ListenersPage inherits Page {
in-out property <[UITcpListener]> listeners;
ScrollView {
width: 100%;
height: 100%;
VerticalLayout {
for listener[i] in listeners: ListenerCard {
listener: listener;
}
Rectangle { }
}
}
}
+3
View File
@@ -0,0 +1,3 @@
import { Page } from "../page.slint";
export component ToolsPage inherits Page { }