fix table with handling, icons implemented

This commit is contained in:
root
2026-08-09 08:50:13 +02:00
parent 5e32be7d0c
commit 3ff0794cfc
43 changed files with 1027 additions and 95 deletions
+4 -3
View File
@@ -30,11 +30,12 @@ ASSET_FIELDS = {
"mesh_group": "MeshCentral-Gruppe",
"mesh_node_id": "MeshCentral Node-ID",
"mesh_online": "Online",
"mesh_mtype": "MeshCentral device type (mtype)",
"mesh_mtype": "MeshCentral group type (mtype)",
"mesh_icon": "MeshCentral device icon",
}
DEFAULT_FIELDS = ["asset_tag", "name", "manufacturer", "model", "serial_number", "status", "assigned_to", "assigned_on", "location", "room_number", "notes"]
COMPUTER_FIELDS = DEFAULT_FIELDS + ["hostname", "operating_system", "os_patch_level", "mac_address", "ip_address", "cpu", "memory_gb", "memory_details", "storage_gb", "storage_details", "gpu_name", "tpm_version", "antivirus", "mesh_group", "mesh_node_id", "mesh_online", "mesh_mtype"]
COMPUTER_FIELDS = DEFAULT_FIELDS + ["hostname", "operating_system", "os_patch_level", "mac_address", "ip_address", "cpu", "memory_gb", "memory_details", "storage_gb", "storage_details", "gpu_name", "tpm_version", "antivirus", "mesh_group", "mesh_node_id", "mesh_online", "mesh_mtype", "mesh_icon"]
FIELD_DATA_TYPES = {
"short_text": "Short text",
@@ -53,4 +54,4 @@ FIELD_DATA_TYPES = {
"status": "Status",
}
SYSTEM_READONLY_FIELDS = {"mesh_node_id", "mesh_online", "mesh_mtype"}
SYSTEM_READONLY_FIELDS = {"mesh_node_id", "mesh_online", "mesh_mtype", "mesh_icon"}