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:
authorSanaei <ho3ein.sanaei@gmail.com>2025-03-26 15:04:42 +0300
committerGitHub <noreply@github.com>2025-03-26 15:04:42 +0300
commitd376ce057c4e2de6071dfb2185b4fd9a3a4338b1 (patch)
treef349a170638f023f27f507ccbc1574bd50f4a164 /web/html/xui/inbounds.html
parent6545d8b61df5ad03d89bd738dad84c5fc946a0b5 (diff)
parent5e6e900e64bb2da5c0146cafa75d1a7b7bafaed7 (diff)
Merge pull request #2823 from shishkevichd/refactor/refactor-5
Code refactoring
Diffstat (limited to 'web/html/xui/inbounds.html')
-rw-r--r--web/html/xui/inbounds.html24
1 files changed, 12 insertions, 12 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 758de9e8..6c16bfa7 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -133,7 +133,7 @@
<body>
<a-layout id="app" v-cloak :class="themeSwitcher.currentTheme">
- {{ template "commonSider" . }}
+ <a-sidebar></a-sidebar>
<a-layout id="content-layout">
<a-layout-content>
<a-spin :spinning="spinning" :delay="500" tip='{{ i18n "loading"}}'>
@@ -568,7 +568,7 @@
:data-source="getInboundClients(record)"
:pagination=pagination(getInboundClients(record))
:style="isMobile ? 'margin: -10px 2px -11px;' : 'margin: -10px 22px -11px;'">
- {{template "client_table"}}
+ {{template "component/aClientTable"}}
</a-table>
</template>
</a-table>
@@ -584,6 +584,7 @@
<script src="{{ .base_path }}assets/uri/URI.min.js?{{ .cur_ver }}"></script>
<script src="{{ .base_path }}assets/js/model/inbound.js?{{ .cur_ver }}"></script>
<script src="{{ .base_path }}assets/js/model/dbinbound.js?{{ .cur_ver }}"></script>
+{{template "component/aSidebar" .}}
{{template "component/aThemeSwitch" .}}
{{template "component/aCustomStatistic" .}}
{{template "component/aPersianDatepicker" .}}
@@ -678,7 +679,6 @@
delimiters: ['[[', ']]'],
el: '#app',
data: {
- siderDrawer,
themeSwitcher,
persianDatepicker,
spinning: false,
@@ -709,7 +709,7 @@
showAlert: false,
ipLimitEnable: false,
pageSize: 50,
- isMobile: window.innerWidth <= 768,
+ isMobile: DeviceUtils.isMobile(),
},
methods: {
loading(spinning = true) {
@@ -1473,7 +1473,7 @@
return false
},
onResize() {
- this.isMobile = window.innerWidth <= 768;
+ this.isMobile = DeviceUtils.isMobile();
}
},
watch: {
@@ -1524,12 +1524,12 @@
});
</script>
-{{template "inboundModal"}}
-{{template "promptModal"}}
-{{template "qrcodeModal"}}
-{{template "textModal"}}
-{{template "inboundInfoModal"}}
-{{template "clientsModal"}}
-{{template "clientsBulkModal"}}
+{{template "modals/inboundModal"}}
+{{template "modals/promptModal"}}
+{{template "modals/qrcodeModal"}}
+{{template "modals/textModal"}}
+{{template "modals/inboundInfoModal"}}
+{{template "modals/clientsModal"}}
+{{template "modals/clientsBulkModal"}}
</body>
</html>