313af54dca
1. Completed Geolocate API Module 2. Started User Search Modules 3. Laid ground work for Computer Modules Added error handling in Geolocate API Added place holder for update check function Support for C$ File Explorer 1. Need to implement threaded file explorer to prevent parent thread blocking https://pm.racooncity.org/project/champ/kanban Support for C$ File Explorer 1. Need to implement multi threaded file explorer to prevent parent thread blocking https://pm.racooncity.org/project/champ/kanban
174 lines
4.2 KiB
Plaintext
174 lines
4.2 KiB
Plaintext
import { AboutSlint, VerticalBox, GridBox, Button, LineEdit, HorizontalBox, TextEdit, SpinBox } from "std-widgets.slint";
|
|
|
|
export global ComputerModuleCallbacks {
|
|
pure callback CFE();
|
|
pure callback CLU();
|
|
pure callback LAPS();
|
|
pure callback RTC();
|
|
pure callback RRTC();
|
|
pure callback SLP();
|
|
in-out property <string> computername;
|
|
}
|
|
|
|
export component ComputerModules inherits Window {
|
|
VerticalLayout {
|
|
spacing: 5px;
|
|
padding: 15px;
|
|
HorizontalLayout {
|
|
VerticalLayout {
|
|
padding: 5px;
|
|
spacing: 5px;
|
|
height: 75px;
|
|
Text {
|
|
text: "Computer Tag / IP:";
|
|
}
|
|
|
|
LineEdit {
|
|
height: 35px;
|
|
edited(text) => {
|
|
ComputerModuleCallbacks.computername = self.text;
|
|
}
|
|
}
|
|
}
|
|
|
|
VerticalLayout {
|
|
height: 200px;
|
|
padding: 5px;
|
|
spacing: 5px;
|
|
Button {
|
|
text: "Computer File Explorer";
|
|
clicked => {
|
|
ComputerModuleCallbacks.CFE();
|
|
}
|
|
}
|
|
|
|
Button {
|
|
text: "Current Logged on User";
|
|
}
|
|
|
|
Button {
|
|
text: "LAPS Password Viewer";
|
|
}
|
|
|
|
Button {
|
|
text: "Remote to Computer";
|
|
}
|
|
|
|
Button {
|
|
text: "Reboot w/ Auto Remote In";
|
|
}
|
|
|
|
Button {
|
|
text: "SCCM Log Parser";
|
|
}
|
|
}
|
|
|
|
VerticalLayout {
|
|
padding: 5px;
|
|
height: 350px;
|
|
width: 400px;
|
|
TextEdit {
|
|
height: 400px;
|
|
wrap: word-wrap;
|
|
read-only: true;
|
|
}
|
|
|
|
HorizontalLayout {
|
|
alignment: start;
|
|
spacing: 5px;
|
|
padding-top: 20px;
|
|
padding: 5px;
|
|
Text {
|
|
text: "Timeout for Computer Modules:";
|
|
}
|
|
}
|
|
|
|
HorizontalLayout {
|
|
spacing: 5px;
|
|
SpinBox {
|
|
minimum: 2;
|
|
maximum: 10;
|
|
step-size: 1;
|
|
horizontal-alignment: center;
|
|
width: 100px;
|
|
}
|
|
|
|
Text {
|
|
vertical-alignment: center;
|
|
text: "Seconds";
|
|
}
|
|
}
|
|
}
|
|
|
|
VerticalLayout {
|
|
spacing: 5px;
|
|
padding: 5px;
|
|
width: 150px;
|
|
Button {
|
|
text: "Bitlocker";
|
|
}
|
|
|
|
Button {
|
|
text: "Director";
|
|
}
|
|
|
|
Button {
|
|
text: "HSC IT";
|
|
}
|
|
|
|
Button {
|
|
text: "Imprivata";
|
|
}
|
|
|
|
Button {
|
|
text: "ISE";
|
|
}
|
|
|
|
Button {
|
|
text: "Kronos";
|
|
}
|
|
|
|
Button {
|
|
text: "Kuiper";
|
|
}
|
|
|
|
Button {
|
|
text: "One Content";
|
|
}
|
|
|
|
Button {
|
|
text: "Printer Logic";
|
|
}
|
|
|
|
Button {
|
|
text: "Site Scan";
|
|
}
|
|
|
|
Button {
|
|
text: "SnapComm";
|
|
}
|
|
|
|
Button {
|
|
text: "TelecommNG";
|
|
}
|
|
|
|
Button {
|
|
text: "UMS";
|
|
}
|
|
|
|
Button {
|
|
text: "Unify";
|
|
}
|
|
|
|
Button {
|
|
text: "Whats Up";
|
|
}
|
|
|
|
Button {
|
|
text: "Workday";
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|