fix table with handling, icons implemented
This commit is contained in:
+4
-3
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user