From 6f926321ffc0e39c49fe1e59efe5e0703f604198 Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Sat, 8 Mar 2025 13:31:19 +0000
Subject: [PATCH] chore: pretty `xray version` modal
---
web/html/xui/index.html | 21 +++++++++------------
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/web/html/xui/index.html b/web/html/xui/index.html
index fb6c1d8b..e49d3cfd 100644
--- a/web/html/xui/index.html
+++ b/web/html/xui/index.html
@@ -273,12 +273,14 @@
@ok="() => versionModal.visible = false" :class="themeSwitcher.currentTheme" footer="">
-
-
- [[ version ]]
-
-
+
+
+
+ [[ version ]]
+
+
+
+
logModal.visible = false"
@@ -614,12 +616,7 @@
txtModal.show('config.json', JSON.stringify(msg.obj, null, 2), 'config.json');
},
openBackup() {
- backupModal.show({
- title: '{{ i18n "pages.index.backupTitle" }}',
- description: '{{ i18n "pages.index.backupDescription" }}',
- exportText: '{{ i18n "pages.index.exportDatabase" }}',
- importText: '{{ i18n "pages.index.importDatabase" }}',
- });
+ backupModal.show();
},
exportDatabase() {
window.location = basePath + 'server/getDb';