Skip to content

Commit

Permalink
add missing i18n key + fix menu paths
Browse files Browse the repository at this point in the history
  • Loading branch information
syrk4web committed Jul 2, 2024
1 parent b2e43c1 commit 8c108dd
Show file tree
Hide file tree
Showing 5 changed files with 63 additions and 13 deletions.
22 changes: 11 additions & 11 deletions src/client/vite/src/components/Dashboard/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,53 +23,53 @@ const bannerStore = useBannerStore();
// Navigation with components
// resolveComponent allow to replace a tag by a real Vue component
const navList = [
{ tag: "home", svg: "house", svgColor: "cyan", path: "/home" },
{ tag: "home", svg: "house", svgColor: "cyan", path: "home" },
{
tag: "instances",
svg: "box",
svgColor: "dark",
path: "/instances",
path: "instances",
},
{
tag: "global_config",
svg: "settings",
svgColor: "blue",
path: "/global-config",
path: "global-config",
},
{
tag: "services",
svg: "disk",
svgColor: "orange",
path: "/services",
path: "services",
},
{
tag: "configs",
svg: "gear",
svgColor: "purple",
path: "/configs",
path: "configs",
},
{
tag: "plugins",
svg: "puzzle",
svgColor: "yellow",
path: "/plugins",
path: "plugins",
},
{
tag: "cache",
svg: "carton",
svgColor: "purple",
path: "/cache",
path: "cache",
},
{
tag: "reports",
svg: "flag",
svgColor: "amber",
path: "/reports",
path: "reports",
},
{ tag: "bans", svg: "funnel", svgColor: "red", path: "/bans" },
{ tag: "jobs", svg: "task", svgColor: "emerald", path: "/jobs" },
{ tag: "logs", svg: "list", svgColor: "dark", path: "/logs" },
{ tag: "bans", svg: "funnel", svgColor: "red", path: "bans" },
{ tag: "jobs", svg: "task", svgColor: "emerald", path: "jobs" },
{ tag: "logs", svg: "list", svgColor: "dark", path: "logs" },
];
// Social links
Expand Down
2 changes: 1 addition & 1 deletion src/client/vite/src/lang/en.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"dashboard_placeholder" : "{placeholder}",
"dashboard_details": "details",
"dashboard_placehoder" : "{placeholder}",
"dashboard_logo_alt": "BunkerWeb logo image",
"dashboard_logo_link_label": "Redirect to home page",
"dashboard_bw": "BunkerWeb",
Expand Down
25 changes: 25 additions & 0 deletions src/ui/static/assets/home-7b366ea2.js

Large diffs are not rendered by default.

25 changes: 25 additions & 0 deletions src/ui/static/assets/home-c051e220.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/ui/templates/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<link rel="stylesheet" href="css/flag-icons.min.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>BunkerWeb | DASHBOARD</title>
<script nonce="{{ script_nonce }}" type="module" crossorigin src="assets/home-4dedb9c1.js"></script>
<script nonce="{{ script_nonce }}" type="module" crossorigin src="assets/home-7b366ea2.js"></script>
</head>
<body>
<div class="hidden" data-csrf-token="{{ csrf_token() }}"></div>
Expand Down

0 comments on commit 8c108dd

Please sign in to comment.