diff options
Diffstat (limited to 'web/html/xui/settings/panel')
| -rw-r--r-- | web/html/xui/settings/panel/general.html | 12 | ||||
| -rw-r--r-- | web/html/xui/settings/panel/security.html | 6 | ||||
| -rw-r--r-- | web/html/xui/settings/panel/subscription/general.html | 10 | ||||
| -rw-r--r-- | web/html/xui/settings/panel/subscription/json.html | 12 | ||||
| -rw-r--r-- | web/html/xui/settings/panel/telegram.html | 8 |
5 files changed, 24 insertions, 24 deletions
diff --git a/web/html/xui/settings/panel/general.html b/web/html/xui/settings/panel/general.html index 2f801c49..04b29341 100644 --- a/web/html/xui/settings/panel/general.html +++ b/web/html/xui/settings/panel/general.html @@ -1,6 +1,6 @@ {{define "settings/panel/general"}} -<a-collapse> - <a-collapse-panel header='{{ i18n "pages.xray.generalConfigs"}}'> +<a-collapse default-active-key="1"> + <a-collapse-panel key="1" header='{{ i18n "pages.xray.generalConfigs"}}'> <a-setting-list-item paddings="small"> <template #title> {{ i18n "pages.settings.remarkModel"}} @@ -76,7 +76,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.notifications" }}'> + <a-collapse-panel key="2" header='{{ i18n "pages.settings.notifications" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.expireTimeDiff" }}</template> <template #description>{{ i18n "pages.settings.expireTimeDiffDesc" }}</template> @@ -92,7 +92,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.certs" }}'> + <a-collapse-panel key="3" header='{{ i18n "pages.settings.certs" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.publicKeyPath"}}</template> <template #description>{{ i18n "pages.settings.publicKeyPathDesc"}}</template> @@ -108,7 +108,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.externalTraffic" }}'> + <a-collapse-panel key="4" header='{{ i18n "pages.settings.externalTraffic" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.externalTrafficInformEnable"}}</template> <template #description>{{ i18n "pages.settings.externalTrafficInformEnableDesc"}}</template> @@ -125,7 +125,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.dateAndTime" }}'> + <a-collapse-panel key="5" header='{{ i18n "pages.settings.dateAndTime" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.timeZone"}}</template> <template #description>{{ i18n "pages.settings.timeZoneDesc"}}</template> diff --git a/web/html/xui/settings/panel/security.html b/web/html/xui/settings/panel/security.html index 89ff0d96..7b53a959 100644 --- a/web/html/xui/settings/panel/security.html +++ b/web/html/xui/settings/panel/security.html @@ -1,6 +1,6 @@ {{define "settings/panel/security"}} -<a-collapse> - <a-collapse-panel header='{{ i18n "pages.settings.security.admin"}}'> +<a-collapse default-active-key="1"> + <a-collapse-panel key="1" header='{{ i18n "pages.settings.security.admin"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.oldUsername"}}</template> <template #control> @@ -31,7 +31,7 @@ </a-space> </a-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.security.secret"}}'> + <a-collapse-panel key="2" header='{{ i18n "pages.settings.security.secret"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.security.loginSecurity" }}</template> <template #description>{{ i18n "pages.settings.security.loginSecurityDesc" }}</template> diff --git a/web/html/xui/settings/panel/subscription/general.html b/web/html/xui/settings/panel/subscription/general.html index bcf6a432..c5577c88 100644 --- a/web/html/xui/settings/panel/subscription/general.html +++ b/web/html/xui/settings/panel/subscription/general.html @@ -1,6 +1,6 @@ {{define "settings/panel/subscription/general"}} -<a-collapse> - <a-collapse-panel header='{{ i18n "pages.xray.generalConfigs"}}'> +<a-collapse default-active-key="1"> + <a-collapse-panel key="1" header='{{ i18n "pages.xray.generalConfigs"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.subEnable"}}</template> <template #description>{{ i18n "pages.settings.subEnableDesc"}}</template> @@ -53,7 +53,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.information" }}'> + <a-collapse-panel key="2" header='{{ i18n "pages.settings.information" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.subEncrypt"}}</template> <template #description>{{ i18n "pages.settings.subEncryptDesc"}}</template> @@ -69,7 +69,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.certs" }}'> + <a-collapse-panel key="3" header='{{ i18n "pages.settings.certs" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.subCertPath"}}</template> <template #description>{{ i18n "pages.settings.subCertPathDesc"}}</template> @@ -85,7 +85,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.intervals"}}'> + <a-collapse-panel key="4" header='{{ i18n "pages.settings.intervals"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.subUpdates"}}</template> <template #description>{{ i18n "pages.settings.subUpdatesDesc"}}</template> diff --git a/web/html/xui/settings/panel/subscription/json.html b/web/html/xui/settings/panel/subscription/json.html index 48273586..4f0ee302 100644 --- a/web/html/xui/settings/panel/subscription/json.html +++ b/web/html/xui/settings/panel/subscription/json.html @@ -1,6 +1,6 @@ {{define "settings/panel/subscription/json"}} -<a-collapse> - <a-collapse-panel header='{{ i18n "pages.xray.generalConfigs"}}'> +<a-collapse default-active-key="1"> + <a-collapse-panel key="1" header='{{ i18n "pages.xray.generalConfigs"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.subPath"}}</template> <template #description>{{ i18n "pages.settings.subPathDesc"}}</template> @@ -17,7 +17,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.fragment"}}'> + <a-collapse-panel key="2" header='{{ i18n "pages.settings.fragment"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.fragment"}}</template> <template #description>{{ i18n "pages.settings.fragmentDesc"}}</template> @@ -51,7 +51,7 @@ </a-collapse> </a-list-item> </a-collapse-panel> - <a-collapse-panel header="Noises"> + <a-collapse-panel key="3" header="Noises"> <a-setting-list-item paddings="small"> <template #title>Noises</template> <template #description>{{ i18n "pages.settings.noisesDesc"}}</template> @@ -99,7 +99,7 @@ <a-button v-if="noises" type="primary" @click="addNoise" style="margin-top: 10px">Add Noise</a-button> </a-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.mux"}}'> + <a-collapse-panel key="4" header='{{ i18n "pages.settings.mux"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.mux"}}</template> <template #description>{{ i18n "pages.settings.muxDesc"}}</template> @@ -139,7 +139,7 @@ </a-collapse> </a-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.direct" }}'> + <a-collapse-panel key="5" header='{{ i18n "pages.settings.direct" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.direct"}}</template> <template #description>{{ i18n "pages.settings.directDesc"}}</template> diff --git a/web/html/xui/settings/panel/telegram.html b/web/html/xui/settings/panel/telegram.html index b826f17d..0f11fc86 100644 --- a/web/html/xui/settings/panel/telegram.html +++ b/web/html/xui/settings/panel/telegram.html @@ -1,6 +1,6 @@ {{define "settings/panel/telegram"}} -<a-collapse> - <a-collapse-panel header='{{ i18n "pages.xray.generalConfigs"}}'> +<a-collapse default-active-key="1"> + <a-collapse-panel key="1" header='{{ i18n "pages.xray.generalConfigs"}}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.telegramBotEnable" }}</template> <template #description>{{ i18n "pages.settings.telegramBotEnableDesc" }}</template> @@ -35,7 +35,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.notifications" }}'> + <a-collapse-panel key="2" header='{{ i18n "pages.settings.notifications" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.telegramNotifyTime"}}</template> <template #description>{{ i18n "pages.settings.telegramNotifyTimeDesc"}}</template> @@ -65,7 +65,7 @@ </template> </a-setting-list-item> </a-collapse-panel> - <a-collapse-panel header='{{ i18n "pages.settings.proxyAndServer" }}'> + <a-collapse-panel key="3" header='{{ i18n "pages.settings.proxyAndServer" }}'> <a-setting-list-item paddings="small"> <template #title>{{ i18n "pages.settings.telegramProxy"}}</template> <template #description>{{ i18n "pages.settings.telegramProxyDesc"}}</template> |
