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:
authordanilshishkevich <danilshishkevich@gmail.com>2025-03-25 18:13:17 +0300
committerdanilshishkevich <danilshishkevich@gmail.com>2025-03-25 18:13:17 +0300
commit19f79386172118630d1a36e4c7b031504e081077 (patch)
tree5935334533d03dbeceab5b46fd8cb5f6f29d9036 /web/html/xui/settings/xray/basics.html
parentfe791b6e998472b2aca85fba386071ffc880897e (diff)
chore: giving keys for each `a-collapse-panel`
Diffstat (limited to 'web/html/xui/settings/xray/basics.html')
-rw-r--r--web/html/xui/settings/xray/basics.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/web/html/xui/settings/xray/basics.html b/web/html/xui/settings/xray/basics.html
index 292d8f50..3f78de77 100644
--- a/web/html/xui/settings/xray/basics.html
+++ b/web/html/xui/settings/xray/basics.html
@@ -1,6 +1,6 @@
{{define "settings/xray/basics"}}
-<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-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" style="text-align: center;">
<template slot="message">
@@ -34,7 +34,7 @@
</template>
</a-setting-list-item>
</a-collapse-panel>
- <a-collapse-panel header='{{ i18n "pages.xray.statistics" }}'>
+ <a-collapse-panel key="2" header='{{ i18n "pages.xray.statistics" }}'>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.statsInboundUplink" }}</template>
<template #description>{{ i18n "pages.xray.statsInboundUplinkDesc" }}</template>
@@ -64,7 +64,7 @@
</template>
</a-setting-list-item>
</a-collapse-panel>
- <a-collapse-panel header='{{ i18n "pages.xray.logConfigs" }}'>
+ <a-collapse-panel key="3" header='{{ i18n "pages.xray.logConfigs" }}'>
<a-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" style="text-align: center;">
<template slot="message">
@@ -135,7 +135,7 @@
</template>
</a-setting-list-item>
</a-collapse-panel>
- <a-collapse-panel header='{{ i18n "pages.xray.blockConfigs"}}'>
+ <a-collapse-panel key="4" header='{{ i18n "pages.xray.blockConfigs"}}'>
<a-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" style="text-align: center;">
<template slot="message">
@@ -159,7 +159,7 @@
</template>
</a-setting-list-item>
</a-collapse-panel>
- <a-collapse-panel header='{{ i18n "pages.xray.basicRouting"}}'>
+ <a-collapse-panel key="5" header='{{ i18n "pages.xray.basicRouting"}}'>
<a-row :xs="24" :sm="24" :lg="12">
<a-alert type="warning" style="text-align: center;">
<template slot="message">
@@ -264,7 +264,7 @@
</template>
</a-setting-list-item>
</a-collapse-panel>
- <a-collapse-panel header='{{ i18n "pages.settings.resetDefaultConfig"}}'>
+ <a-collapse-panel key="6" header='{{ i18n "pages.settings.resetDefaultConfig"}}'>
<a-space direction="horizontal" style="padding: 0 20px">
<a-button type="danger" @click="resetXrayConfigToDefault">
<span>{{ i18n "pages.settings.resetDefaultConfig" }}</span>