From bea19a263db88fef44b4356082b199fbfcc39a25 Mon Sep 17 00:00:00 2001 From: "Shishkevich D." <135337715+shishkevichd@users.noreply.github.com> Date: Sun, 6 Apr 2025 16:40:33 +0700 Subject: Code refactoring (#2865) * refactor: use vue inline styles in entire application * refactor: setting row in dashboard page * refactor: use blob for download file in text modal * refactor: move all html templates in `web/html` folder * refactor: `DeviceUtils` -> `MediaQueryMixin` The transition to mixins has been made, as they can update themselves. * chore: pretty right buttons in `outbounds` tab in xray settings * refactor: add translations for system status * refactor: adjust gutter spacing in setting list item * refactor: use native `a-input-password` for password field * chore: return old system status with new translations * chore: add missing translation --- web/html/settings.html | 542 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 542 insertions(+) create mode 100644 web/html/settings.html (limited to 'web/html/settings.html') diff --git a/web/html/settings.html b/web/html/settings.html new file mode 100644 index 00000000..c8bfabad --- /dev/null +++ b/web/html/settings.html @@ -0,0 +1,542 @@ + + +{{template "head" .}} + + + + + + + + + + + + + + + + + + {{ i18n "pages.settings.save" }} + {{ i18n "pages.settings.restartPanel" }} + + + + + + + + + + {{ template "settings/panel/general" . }} + + + {{ template "settings/panel/security" . }} + + + {{ template "settings/panel/telegram" . }} + + + {{ template "settings/panel/subscription/general" . }} + + + {{ template "settings/panel/subscription/json" . }} + + + + + + + +{{template "js" .}} + +{{template "component/aSidebar" .}} +{{template "component/aThemeSwitch" .}} +{{template "component/aSettingListItem" .}} + + + \ No newline at end of file -- cgit v1.2.3