diff options
Diffstat (limited to 'web/html/settings/panel')
| -rw-r--r-- | web/html/settings/panel/general.html | 21 | ||||
| -rw-r--r-- | web/html/settings/panel/subscription/general.html | 18 | ||||
| -rw-r--r-- | web/html/settings/panel/subscription/subpage.html | 13 |
3 files changed, 27 insertions, 25 deletions
diff --git a/web/html/settings/panel/general.html b/web/html/settings/panel/general.html index 6969a1b4..ffc2cda1 100644 --- a/web/html/settings/panel/general.html +++ b/web/html/settings/panel/general.html @@ -162,7 +162,8 @@ <a-setting-list-item paddings="small"> <template #title>LDAP Port</template> <template #control> - <a-input-number :min="1" :max="65535" v-model="allSetting.ldapPort" :style="{ width: '100%' }"></a-input-number> + <a-input-number :min="1" :max="65535" v-model="allSetting.ldapPort" + :style="{ width: '100%' }"></a-input-number> </template> </a-setting-list-item> <a-setting-list-item paddings="small"> @@ -239,10 +240,13 @@ <template #title>Inbound tags</template> <template #description>Select inbounds to manage (auto create/delete)</template> <template #control> - <a-select mode="multiple" :dropdown-class-name="themeSwitcher.currentTheme" :style="{ width: '100%' }" v-model="ldapInboundTagList"> - <a-select-option v-for="opt in inboundOptions" :key="opt.value" :value="opt.value">[[ opt.label ]]</a-select-option> + <a-select mode="multiple" :dropdown-class-name="themeSwitcher.currentTheme" :style="{ width: '100%' }" + v-model="ldapInboundTagList"> + <a-select-option v-for="opt in inboundOptions" :key="opt.value" :value="opt.value">[[ opt.label + ]]</a-select-option> </a-select> - <div v-if="inboundOptions.length==0" style="margin-top:6px;color:#999">No inbounds found. Please create one in Inbounds.</div> + <div v-if="inboundOptions.length==0" style="margin-top:6px;color:#999">No inbounds found. Please create + one in Inbounds.</div> </template> </a-setting-list-item> <a-setting-list-item paddings="small"> @@ -260,19 +264,22 @@ <a-setting-list-item paddings="small"> <template #title>Default total (GB)</template> <template #control> - <a-input-number :min="0" v-model="allSetting.ldapDefaultTotalGB" :style="{ width: '100%' }"></a-input-number> + <a-input-number :min="0" v-model="allSetting.ldapDefaultTotalGB" + :style="{ width: '100%' }"></a-input-number> </template> </a-setting-list-item> <a-setting-list-item paddings="small"> <template #title>Default expiry (days)</template> <template #control> - <a-input-number :min="0" v-model="allSetting.ldapDefaultExpiryDays" :style="{ width: '100%' }"></a-input-number> + <a-input-number :min="0" v-model="allSetting.ldapDefaultExpiryDays" + :style="{ width: '100%' }"></a-input-number> </template> </a-setting-list-item> <a-setting-list-item paddings="small"> <template #title>Default Limit IP</template> <template #control> - <a-input-number :min="0" v-model="allSetting.ldapDefaultLimitIP" :style="{ width: '100%' }"></a-input-number> + <a-input-number :min="0" v-model="allSetting.ldapDefaultLimitIP" + :style="{ width: '100%' }"></a-input-number> </template> </a-setting-list-item> </a-collapse-panel> 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> |
