mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
added constants
This commit is contained in:
parent
45f767e429
commit
38d63320cc
3
packages/app/constants/defaultSoundPack.json
Normal file
3
packages/app/constants/defaultSoundPack.json
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"crash": "/sounds/crash.wav"
|
||||
}
|
28
packages/app/constants/routes.json
Normal file
28
packages/app/constants/routes.json
Normal 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"
|
||||
}
|
||||
]
|
@ -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"
|
||||
},
|
||||
|
@ -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"
|
||||
}
|
||||
]
|
@ -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"
|
||||
}
|
||||
}
|
@ -1,15 +0,0 @@
|
||||
{
|
||||
"computers": [
|
||||
"desktop",
|
||||
"laptop",
|
||||
"phone",
|
||||
"tablet"
|
||||
],
|
||||
"peripherals": [
|
||||
"keyboard",
|
||||
"mouse",
|
||||
"monitor",
|
||||
"printer",
|
||||
"scanner"
|
||||
]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user