Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authorIlya Afanasov <iafanasov@icloud.com>2025-03-15 10:16:59 +0300
committerGitHub <noreply@github.com>2025-03-15 10:16:59 +0300
commitd30cdbf49a7443a62f599d4f91a4f1ebceb1c666 (patch)
tree78b9ca342a43b8d62dbe33b683719b9e7bcddc62 /web/html
parentcac00224db7b229efac3ee242a5d5790ee0d98cf (diff)
feat: custom subscription title in panel (#2773)
* feat: custom subscription title in panel * feat: added translations
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/inbounds.html2
-rw-r--r--web/html/xui/settings.html7
2 files changed, 9 insertions, 0 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index fe5d7e3a..c8cf93d3 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -662,6 +662,7 @@
refreshInterval: Number(localStorage.getItem("refreshInterval")) || 5000,
subSettings: {
enable : false,
+ subTitle : '',
subURI : '',
subJsonURI : '',
},
@@ -711,6 +712,7 @@
this.tgBotEnable = tgBotEnable;
this.subSettings = {
enable : subEnable,
+ subTitle : subTitle,
subURI: subURI,
subJsonURI: subJsonURI
};
diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html
index 3bfb32a9..d13af57e 100644
--- a/web/html/xui/settings.html
+++ b/web/html/xui/settings.html
@@ -410,6 +410,13 @@
</template>
</a-setting-list-item>
<a-setting-list-item paddings="small">
+ <template #title>{{ i18n "pages.settings.subTitle"}}</template>
+ <template #description>{{ i18n "pages.settings.subTitleDesc"}}</template>
+ <template #control>
+ <a-input type="text" v-model="allSetting.subTitle"></a-input>
+ </template>
+ </a-setting-list-item>
+ <a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.settings.subListen"}}</template>
<template #description>{{ i18n "pages.settings.subListenDesc"}}</template>
<template #control>