added constants

This commit is contained in:
srgooglo 2022-01-03 18:35:25 +01:00
parent 45f767e429
commit 38d63320cc
6 changed files with 57 additions and 140 deletions

View File

@ -0,0 +1,3 @@
{
"crash": "/sounds/crash.wav"
}

View File

@ -0,0 +1,28 @@
[
{
"id": "main",
"title": "Dashboard",
"icon": "Home",
"locked": true
},
{
"id": "users",
"title": "Users",
"icon": "Users"
},
{
"id": "server_manager",
"title": "Server",
"icon": "Database"
},
{
"id": "launchpad",
"title": "Launchpad",
"icon": "Command"
},
{
"id": "statistics",
"title": "Statistics",
"icon": "BarChart"
}
]

View File

@ -1,10 +1,21 @@
[
{
"id": "expire_session",
"id": "persistent_session",
"group": "general",
"type": "Switch",
"icon": "Key",
"title": "Expire Session"
"title": "Save Session",
"title_i18n": "settings_general_persitentSession",
"description": "The application will save the session and no expire it.",
"description_i18n": "settings_general_persitentSession_description"
},
{
"id": "language",
"group": "general",
"type": "Select",
"icon": "MdTranslate",
"title": "Language",
"title_i18n": "settings_general_language"
},
{
"id": "edit_sidebar",
@ -12,6 +23,7 @@
"type": "Button",
"icon": "Edit",
"title": "Edit Sidebar",
"title_i18n": "settings_sidebar_edit",
"emitEvent": "edit_sidebar",
"noStorage": true
},
@ -19,14 +31,19 @@
"id": "collapseOnLooseFocus",
"group": "sidebar",
"type": "Switch",
"title": "Collapse when loose focus"
"title": "Auto Collapse",
"description": "Collapse the sidebar when loose focus",
"title_i18n": "settings_sidebar_autoCollapse",
"description_i18n": "settings_sidebar_autoCollapse_description"
},
{
"id": "reduceAnimations",
"group": "aspect",
"type": "Switch",
"icon": "MdOutlineAnimation",
"title": "Reduce animation"
"title": "Reduce animation",
"title_i18n": "settings_aspect_reduceAnimation",
"experimental": true
},
{
"id": "darkMode",
@ -34,6 +51,7 @@
"type": "Switch",
"icon": "Moon",
"title": "Dark Mode",
"title_i18n": "settings_aspect_darkMode",
"emitEvent": "darkMode",
"experimental": true
},
@ -42,6 +60,9 @@
"group": "aspect",
"type": "SliderColorPicker",
"title": "Primary color",
"description": "Change primary color of the application.",
"title_i18n": "settings_aspect_primaryColor",
"description_i18n": "settings_aspect_primaryColor_description",
"emitEvent": "modifyTheme",
"updateValueKey": "primaryColor"
},
@ -50,6 +71,7 @@
"group": "aspect",
"type": "Button",
"title": "Reset theme",
"title_i18n": "settings_aspect_resetTheme",
"props": {
"children": "Default Theme"
},

View File

@ -1,99 +0,0 @@
[
{
"id": "main",
"title": "Dashboard",
"icon": "Home",
"locked": true
},
{
"id": "workloads",
"title": "Workloads",
"icon": "GitCommit",
"children": [
{
"id": "workloads/pool",
"title": "Pool",
"icon": "Archive"
},
{
"id": "workloads/sections",
"title": "Sections",
"icon": "Target"
},
{
"id": "workloads/items",
"title": "Items",
"icon": "Tag"
}
]
},
{
"id": "users",
"title": "Users",
"icon": "Users",
"children": [
{
"id": "users/contracts",
"title": "Contracts",
"icon": "Briefcase"
},
{
"id": "users/roles",
"title": "Roles",
"icon": "Link"
},
{
"id": "users/workshifts",
"title": "Workshifts",
"icon": "Clock"
},
{
"id": "users/accounts",
"title": "Accounts",
"icon": "User"
}
]
},
{
"id": "geo",
"title": "Geo",
"icon": "MapPin",
"children": [
{
"id": "locations",
"title": "Locations",
"icon": "Map"
}
]
},
{
"id": "fabric",
"title": "Fabric",
"icon": "Box"
},
{
"id": "vault",
"title": "Vault",
"icon": "Archive"
},
{
"id": "reports",
"title": "Reports",
"icon": "Umbrella"
},
{
"id": "server_manager",
"title": "Server",
"icon": "Database"
},
{
"id": "launchpad",
"title": "Launchpad",
"icon": "Command"
},
{
"id": "statistics",
"title": "Statistics",
"icon": "BarChart"
}
]

View File

@ -1,22 +0,0 @@
{
"active": {
"value": "active",
"label": "Active",
"tagColor": "green"
},
"retired": {
"value": "retired",
"label": "Retired",
"tagColor": "red"
},
"storaged": {
"value": "storaged",
"label": "Storaged",
"tagColor": "blue"
},
"unknown": {
"value": "unknown",
"label": "Unknown",
"tagColor": "gray"
}
}

View File

@ -1,15 +0,0 @@
{
"computers": [
"desktop",
"laptop",
"phone",
"tablet"
],
"peripherals": [
"keyboard",
"mouse",
"monitor",
"printer",
"scanner"
]
}