diff options
| author | danilshishkevich <danilshishkevich@gmail.com> | 2025-03-25 18:13:17 +0300 |
|---|---|---|
| committer | danilshishkevich <danilshishkevich@gmail.com> | 2025-03-25 18:13:17 +0300 |
| commit | 19f79386172118630d1a36e4c7b031504e081077 (patch) | |
| tree | 5935334533d03dbeceab5b46fd8cb5f6f29d9036 /web/html/xui/settings/panel/subscription | |
| parent | fe791b6e998472b2aca85fba386071ffc880897e (diff) | |
chore: giving keys for each `a-collapse-panel`
Diffstat (limited to 'web/html/xui/settings/panel/subscription')
| -rw-r--r-- | web/html/xui/settings/panel/subscription/general.html | 10 | ||||
| -rw-r--r-- | web/html/xui/settings/panel/subscription/json.html | 12 |
2 files changed, 11 insertions, 11 deletions
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> |
