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:
Diffstat (limited to 'web/html/settings/panel/subscription')
-rw-r--r--web/html/settings/panel/subscription/general.html18
-rw-r--r--web/html/settings/panel/subscription/subpage.html13
2 files changed, 13 insertions, 18 deletions
diff --git a/web/html/settings/panel/subscription/general.html b/web/html/settings/panel/subscription/general.html
index 725a9359..a7b58e46 100644
--- a/web/html/settings/panel/subscription/general.html
+++ b/web/html/settings/panel/subscription/general.html
@@ -46,8 +46,7 @@
<template #description>{{ i18n
"pages.settings.subPortDesc"}}</template>
<template #control>
- <a-input-number v-model="allSetting.subPort" :min="1"
- :min="65535"
+ <a-input-number v-model="allSetting.subPort" :min="1" :min="65535"
:style="{ width: '100%' }"></a-input-number>
</template>
</a-setting-list-item>
@@ -67,8 +66,7 @@
<template #description>{{ i18n
"pages.settings.subURIDesc"}}</template>
<template #control>
- <a-input type="text"
- placeholder="(http|https)://domain[:port]/path/"
+ <a-input type="text" placeholder="(http|https)://domain[:port]/path/"
v-model="allSetting.subURI"></a-input>
</template>
</a-setting-list-item>
@@ -104,8 +102,7 @@
<template #description>{{ i18n
"pages.settings.subSupportUrlDesc"}}</template>
<template #control>
- <a-input type="text" v-model="allSetting.subSupportUrl"
- placeholder="https://example.com"></a-input>
+ <a-input type="text" v-model="allSetting.subSupportUrl" placeholder="https://example.com"></a-input>
</template>
</a-setting-list-item>
<a-setting-list-item paddings="small">
@@ -113,8 +110,7 @@
<template #description>{{ i18n
"pages.settings.subProfileUrlDesc"}}</template>
<template #control>
- <a-input type="text" v-model="allSetting.subProfileUrl"
- placeholder="https://example.com"></a-input>
+ <a-input type="text" v-model="allSetting.subProfileUrl" placeholder="https://example.com"></a-input>
</template>
</a-setting-list-item>
<a-setting-list-item paddings="small">
@@ -141,8 +137,7 @@
<template #description>{{ i18n
"pages.settings.subRoutingRulesDesc"}}</template>
<template #control>
- <a-textarea v-model="allSetting.subRoutingRules"
- placeholder="happ://routing/add/..."></a-textarea>
+ <a-textarea v-model="allSetting.subRoutingRules" placeholder="happ://routing/add/..."></a-textarea>
</template>
</a-setting-list-item>
</a-collapse-panel>
@@ -170,8 +165,7 @@
<template #description>{{ i18n
"pages.settings.subUpdatesDesc"}}</template>
<template #control>
- <a-input-number :min="1" v-model="allSetting.subUpdates"
- :style="{ width: '100%' }"></a-input-number>
+ <a-input-number :min="1" v-model="allSetting.subUpdates" :style="{ width: '100%' }"></a-input-number>
</template>
</a-setting-list-item>
</a-collapse-panel>
diff --git a/web/html/settings/panel/subscription/subpage.html b/web/html/settings/panel/subscription/subpage.html
index 2b3c7939..48f0ecfb 100644
--- a/web/html/settings/panel/subscription/subpage.html
+++ b/web/html/settings/panel/subscription/subpage.html
@@ -100,7 +100,8 @@
<a-form-item>
<a-space direction="vertical" align="center">
<a-row type="flex" :gutter="[8,8]" justify="center" style="width:100%">
- <a-col :xs="24" :sm="app.subJsonUrl || app.subClashUrl ? 12 : 24" style="text-align:center;">
+ <a-col :xs="24" :sm="app.subJsonUrl || app.subClashUrl ? 12 : 24"
+ style="text-align:center;">
<tr-qr-box class="qr-box">
<a-tag color="purple" class="qr-tag">
<span>{{ i18n
@@ -270,11 +271,11 @@
</a-layout>
<!-- Bootstrap data for external JS -->
-<template id="subscription-data" data-sid="{{ .sId }}" data-sub-url="{{ .subUrl }}" data-subjson-url="{{ .subJsonUrl }}" data-subclash-url="{{ .subClashUrl }}"
- data-download="{{ .download }}" data-upload="{{ .upload }}" data-used="{{ .used }}" data-total="{{ .total }}"
- data-remained="{{ .remained }}" data-expire="{{ .expire }}" data-lastonline="{{ .lastOnline }}"
- data-downloadbyte="{{ .downloadByte }}" data-uploadbyte="{{ .uploadByte }}" data-totalbyte="{{ .totalByte }}"
- data-datepicker="{{ .datepicker }}"></template>
+<template id="subscription-data" data-sid="{{ .sId }}" data-sub-url="{{ .subUrl }}" data-subjson-url="{{ .subJsonUrl }}"
+ data-subclash-url="{{ .subClashUrl }}" data-download="{{ .download }}" data-upload="{{ .upload }}"
+ data-used="{{ .used }}" data-total="{{ .total }}" data-remained="{{ .remained }}" data-expire="{{ .expire }}"
+ data-lastonline="{{ .lastOnline }}" data-downloadbyte="{{ .downloadByte }}" data-uploadbyte="{{ .uploadByte }}"
+ data-totalbyte="{{ .totalByte }}" data-datepicker="{{ .datepicker }}"></template>
<textarea id="subscription-links" style="display:none">{{ range .result }}{{ . }}
{{ end }}</textarea>