From a83d2cc6a5950607e3e899f0efd614e104aa0fda Mon Sep 17 00:00:00 2001
From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com>
Date: Mon, 17 Mar 2025 10:12:43 +0000
Subject: [PATCH] refactor: renaming component templates
---
web/html/login.html | 4 ++--
.../xui/component/{password.html => aPasswordInput.html} | 2 +-
.../{persianDatepicker.html => aPersianDatepicker.html} | 2 +-
.../xui/component/{setting.html => aSettingListItem.html} | 2 +-
.../component/{sortableTable.html => aTableSortable.html} | 2 +-
.../xui/component/{themeSwitch.html => aThemeSwitch.html} | 2 +-
web/html/xui/inbounds.html | 4 ++--
web/html/xui/index.html | 2 +-
web/html/xui/settings.html | 6 +++---
web/html/xui/xray.html | 6 +++---
10 files changed, 16 insertions(+), 16 deletions(-)
rename web/html/xui/component/{password.html => aPasswordInput.html} (96%)
rename web/html/xui/component/{persianDatepicker.html => aPersianDatepicker.html} (97%)
rename web/html/xui/component/{setting.html => aSettingListItem.html} (97%)
rename web/html/xui/component/{sortableTable.html => aTableSortable.html} (99%)
rename web/html/xui/component/{themeSwitch.html => aThemeSwitch.html} (99%)
diff --git a/web/html/login.html b/web/html/login.html
index fc48b9ec..b27333a5 100644
--- a/web/html/login.html
+++ b/web/html/login.html
@@ -473,8 +473,8 @@
{{template "js" .}}
-{{template "component/themeSwitcher" .}}
-{{template "component/password" .}}
+{{template "component/aThemeSwitch" .}}
+{{template "component/aPasswordInput" .}}
diff --git a/web/html/xui/component/setting.html b/web/html/xui/component/aSettingListItem.html
similarity index 97%
rename from web/html/xui/component/setting.html
rename to web/html/xui/component/aSettingListItem.html
index 85220d25..bcba88fd 100644
--- a/web/html/xui/component/setting.html
+++ b/web/html/xui/component/aSettingListItem.html
@@ -18,7 +18,7 @@
{{end}}
-{{define "component/setting"}}
+{{define "component/aSettingListItem"}}
-{{template "component/themeSwitcher" .}}
-{{template "component/persianDatepicker" .}}
+{{template "component/aThemeSwitch" .}}
+{{template "component/aPersianDatepicker" .}}
-{{template "component/themeSwitcher" .}}
-{{template "component/password" .}}
-{{template "component/setting"}}
+{{template "component/aThemeSwitch" .}}
+{{template "component/aPasswordInput" .}}
+{{template "component/aSettingListItem" .}}