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
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-18 14:56:04 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-18 14:56:04 +0300
commit59ea2645db827335a0689d2fb7aeeef4e52af52b (patch)
treea52caa80571fef4919c3df59a4bceacd60ba6aa6 /web/html/settings
parent8c8d280f147ce4e8f604080d1dbf066332e55efc (diff)
new: subJsonEnable
after this subEnable by default is true and subJsonEnable is false
Diffstat (limited to 'web/html/settings')
-rw-r--r--web/html/settings/panel/subscription/general.html7
-rw-r--r--web/html/settings/panel/subscription/subpage.html4
2 files changed, 9 insertions, 2 deletions
diff --git a/web/html/settings/panel/subscription/general.html b/web/html/settings/panel/subscription/general.html
index b6e616dd..e3481df7 100644
--- a/web/html/settings/panel/subscription/general.html
+++ b/web/html/settings/panel/subscription/general.html
@@ -9,6 +9,13 @@
</template>
</a-setting-list-item>
<a-setting-list-item paddings="small">
+ <template #title>JSON Subscription</template>
+ <template #description>{{ i18n "pages.settings.subJsonEnable"}}</template>
+ <template #control>
+ <a-switch v-model="allSetting.subJsonEnable"></a-switch>
+ </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>
diff --git a/web/html/settings/panel/subscription/subpage.html b/web/html/settings/panel/subscription/subpage.html
index c9cf241f..6d56496b 100644
--- a/web/html/settings/panel/subscription/subpage.html
+++ b/web/html/settings/panel/subscription/subpage.html
@@ -56,7 +56,7 @@
<a-space direction="vertical" align="center">
<a-row type="flex" :gutter="[8,8]"
justify="center" style="width:100%">
- <a-col :xs="24" :sm="12"
+ <a-col :xs="24" :sm="app.subJsonUrl ? 12 : 24"
style="text-align:center;">
<tr-qr-box class="qr-box">
<a-tag color="purple"
@@ -75,7 +75,7 @@
</tr-qr-bg>
</tr-qr-box>
</a-col>
- <a-col :xs="24" :sm="12"
+ <a-col v-if="app.subJsonUrl" :xs="24" :sm="12"
style="text-align:center;">
<tr-qr-box class="qr-box">
<a-tag color="purple"