diff options
| author | Ilya Afanasov <iafanasov@icloud.com> | 2025-03-15 10:16:59 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-15 10:16:59 +0300 |
| commit | d30cdbf49a7443a62f599d4f91a4f1ebceb1c666 (patch) | |
| tree | 78b9ca342a43b8d62dbe33b683719b9e7bcddc62 /web/html | |
| parent | cac00224db7b229efac3ee242a5d5790ee0d98cf (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.html | 2 | ||||
| -rw-r--r-- | web/html/xui/settings.html | 7 |
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> |
