Merge branch 'MHSanaei:main' into main

This commit is contained in:
Pk-web6936 2025-03-30 18:38:13 +03:30 committed by GitHub
commit 5940f6dfe2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 39 additions and 14 deletions

35
.gitignore vendored
View file

@ -1,16 +1,39 @@
.idea
.vscode
.cache
# Ignore editor and IDE settings
.idea/
.vscode/
.cache/
.sync*
*.tar.gz
# Ignore log files
*.log
access.log
error.log
tmp
main
# Ignore temporary files
tmp/
*.tar.gz
# Ignore build and distribution directories
backup/
bin/
dist/
release/
node_modules/
# Ignore compiled binaries
main
# Ignore script and executable files
/release.sh
/x-ui
# Ignore OS specific files
.DS_Store
Thumbs.db
# Ignore Go specific files
*.exe
*.exe~
# Ignore Docker specific files
docker-compose.override.yml

View file

@ -45,27 +45,27 @@
return {
tabs: [
{
key: '/panel/',
key: 'panel/',
icon: 'dashboard',
title: '{{ i18n "menu.dashboard"}}'
},
{
key: '/panel/inbounds',
key: 'panel/inbounds',
icon: 'user',
title: '{{ i18n "menu.inbounds"}}'
},
{
key: '/panel/settings',
key: 'panel/settings',
icon: 'setting',
title: '{{ i18n "menu.settings"}}'
},
{
key: '/panel/xray',
key: 'panel/xray',
icon: 'tool',
title: '{{ i18n "menu.xray"}}'
},
{
key: '/logout/',
key: 'logout/',
icon: 'logout',
title: '{{ i18n "menu.logout"}}'
},
@ -79,7 +79,9 @@
},
methods: {
openLink(key) {
return key.startsWith('http') ? window.open(key) : location.href = key
return key.startsWith('http') ?
window.open(`{{ .base_path }}${key}`) :
location.href = `{{ .base_path }}${key}`
},
closeDrawer() {
this.visible = false;

View file

@ -635,7 +635,7 @@
"allClients" = "Все клиенты"
"addClient" = "Добавить клиента"
"submitDisable" = "Отправить как отключенный ✅"
"submitDisable" = "Отправить отключенным ✅"
"use_default" = "🏷️ Использовать по умолчанию"
"change_id" = "⚙️🔑 ID"
"change_password" = "⚙️🔑 Пароль"

View file

@ -635,7 +635,7 @@
"allClients" = "Всі Клієнти"
"addClient" = "Додати клієнта"
"submitDisable" = "Надіслати як вимкнене ✅"
"submitDisable" = "Надіслати відключеним ✅"
"use_default" = "🏷️ Використовувати за замовчуванням"
"change_id" = "⚙️🔑 ID"
"change_password" = "⚙️🔑 Пароль"