Files
CHAMP/ui/pages/usermodules.slint
brotoskyj 313af54dca Modules Progress
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
2025-03-11 03:09:17 +00:00

267 lines
6.3 KiB
Plaintext

import { AboutSlint, VerticalBox, GridBox, Button, LineEdit, HorizontalBox, TextEdit, SpinBox, StandardListView } from "std-widgets.slint";
export global UserModuleCallbacks {
pure callback searchUser();
}
export component UserModules inherits Window {
VerticalLayout {
spacing: 5px;
padding: 15px;
HorizontalLayout {
spacing: 5px;
VerticalLayout {
padding: 5px;
spacing: 5px;
height: 75px;
Text {
text: "Search User";
}
StandardListView {
height: 80px;
model: [{ text: "Username" }, { text: "Last Name" }];
current-item: 0;
}
LineEdit {
height: 35px;
}
VerticalLayout {
padding: 10px;
Button {
text: "Search";
primary: true;
clicked => {
UserModuleCallbacks.searchUser();
}
}
}
VerticalLayout {
padding-top: 30px;
Button {
text: "Clear Search";
primary: false;
}
}
}
HorizontalLayout {
spacing: 5px;
VerticalLayout {
y: 10px;
Text {
text: "Account Creation Date:";
}
Text {
text: "Account Enabled:";
}
Text {
text: "MyIdentity Claimed:";
}
Text {
text: "Display Name:";
}
Text {
text: "Email:";
}
Text {
text: "Enterprise ID:";
}
Text {
text: "Job Title:";
}
Text {
text: "Last Bad Password:";
}
Text {
text: "Last Logon Time:";
}
Text {
text: "Organizational Unit:";
}
Text {
text: "Mobile Email:";
}
Text {
text: "Outlook Client:";
}
Text {
text: "Passord Last Set:";
}
Text {
text: "Password Expired:";
}
Text {
text: "VPN User:";
}
}
VerticalLayout {
spacing: 5px;
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
LineEdit {
read-only: true;
}
}
}
VerticalLayout {
padding: 5px;
height: 350px;
width: 400px;
Text {
text: "Group Memberships";
height: 30px;
}
TextEdit {
height: 500px;
wrap: word-wrap;
read-only: true;
}
}
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";
}
}
}
}
}