mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-04-19 21:42:24 +00:00
Merge branch 'MHSanaei:main' into main
This commit is contained in:
commit
5940f6dfe2
4 changed files with 39 additions and 14 deletions
35
.gitignore
vendored
35
.gitignore
vendored
|
@ -1,16 +1,39 @@
|
||||||
.idea
|
# Ignore editor and IDE settings
|
||||||
.vscode
|
.idea/
|
||||||
.cache
|
.vscode/
|
||||||
|
.cache/
|
||||||
.sync*
|
.sync*
|
||||||
*.tar.gz
|
|
||||||
|
# Ignore log files
|
||||||
*.log
|
*.log
|
||||||
access.log
|
access.log
|
||||||
error.log
|
error.log
|
||||||
tmp
|
|
||||||
main
|
# Ignore temporary files
|
||||||
|
tmp/
|
||||||
|
*.tar.gz
|
||||||
|
|
||||||
|
# Ignore build and distribution directories
|
||||||
backup/
|
backup/
|
||||||
bin/
|
bin/
|
||||||
dist/
|
dist/
|
||||||
release/
|
release/
|
||||||
|
node_modules/
|
||||||
|
|
||||||
|
# Ignore compiled binaries
|
||||||
|
main
|
||||||
|
|
||||||
|
# Ignore script and executable files
|
||||||
/release.sh
|
/release.sh
|
||||||
/x-ui
|
/x-ui
|
||||||
|
|
||||||
|
# Ignore OS specific files
|
||||||
|
.DS_Store
|
||||||
|
Thumbs.db
|
||||||
|
|
||||||
|
# Ignore Go specific files
|
||||||
|
*.exe
|
||||||
|
*.exe~
|
||||||
|
|
||||||
|
# Ignore Docker specific files
|
||||||
|
docker-compose.override.yml
|
||||||
|
|
|
@ -45,27 +45,27 @@
|
||||||
return {
|
return {
|
||||||
tabs: [
|
tabs: [
|
||||||
{
|
{
|
||||||
key: '/panel/',
|
key: 'panel/',
|
||||||
icon: 'dashboard',
|
icon: 'dashboard',
|
||||||
title: '{{ i18n "menu.dashboard"}}'
|
title: '{{ i18n "menu.dashboard"}}'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '/panel/inbounds',
|
key: 'panel/inbounds',
|
||||||
icon: 'user',
|
icon: 'user',
|
||||||
title: '{{ i18n "menu.inbounds"}}'
|
title: '{{ i18n "menu.inbounds"}}'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '/panel/settings',
|
key: 'panel/settings',
|
||||||
icon: 'setting',
|
icon: 'setting',
|
||||||
title: '{{ i18n "menu.settings"}}'
|
title: '{{ i18n "menu.settings"}}'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '/panel/xray',
|
key: 'panel/xray',
|
||||||
icon: 'tool',
|
icon: 'tool',
|
||||||
title: '{{ i18n "menu.xray"}}'
|
title: '{{ i18n "menu.xray"}}'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
key: '/logout/',
|
key: 'logout/',
|
||||||
icon: 'logout',
|
icon: 'logout',
|
||||||
title: '{{ i18n "menu.logout"}}'
|
title: '{{ i18n "menu.logout"}}'
|
||||||
},
|
},
|
||||||
|
@ -79,7 +79,9 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
openLink(key) {
|
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() {
|
closeDrawer() {
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
|
|
|
@ -635,7 +635,7 @@
|
||||||
"allClients" = "Все клиенты"
|
"allClients" = "Все клиенты"
|
||||||
|
|
||||||
"addClient" = "Добавить клиента"
|
"addClient" = "Добавить клиента"
|
||||||
"submitDisable" = "Отправить как отключенный ✅"
|
"submitDisable" = "Отправить отключенным ✅"
|
||||||
"use_default" = "🏷️ Использовать по умолчанию"
|
"use_default" = "🏷️ Использовать по умолчанию"
|
||||||
"change_id" = "⚙️🔑 ID"
|
"change_id" = "⚙️🔑 ID"
|
||||||
"change_password" = "⚙️🔑 Пароль"
|
"change_password" = "⚙️🔑 Пароль"
|
||||||
|
|
|
@ -635,7 +635,7 @@
|
||||||
"allClients" = "Всі Клієнти"
|
"allClients" = "Всі Клієнти"
|
||||||
|
|
||||||
"addClient" = "Додати клієнта"
|
"addClient" = "Додати клієнта"
|
||||||
"submitDisable" = "Надіслати як вимкнене ✅"
|
"submitDisable" = "Надіслати відключеним ✅"
|
||||||
"use_default" = "🏷️ Використовувати за замовчуванням"
|
"use_default" = "🏷️ Використовувати за замовчуванням"
|
||||||
"change_id" = "⚙️🔑 ID"
|
"change_id" = "⚙️🔑 ID"
|
||||||
"change_password" = "⚙️🔑 Пароль"
|
"change_password" = "⚙️🔑 Пароль"
|
||||||
|
|
Loading…
Reference in a new issue