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/xray.html | 1450 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1450 insertions(+) create mode 100644 web/html/xray.html (limited to 'web/html/xray.html') diff --git a/web/html/xray.html b/web/html/xray.html new file mode 100644 index 00000000..1e9103fa --- /dev/null +++ b/web/html/xray.html @@ -0,0 +1,1450 @@ + + +{{template "head" .}} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ i18n "pages.xray.save" }} + {{ i18n "pages.xray.restart" }} + + {{ i18n "pages.index.xrayErrorPopoverTitle" }} + + + + + + + + + + + + + {{ template "settings/xray/basics" . }} + + + {{ template "settings/xray/routing" . }} + + + {{ template "settings/xray/outbounds" . }} + + + {{ template "settings/xray/reverse" . }} + + + {{ template "settings/xray/balancers" . }} + + + {{ template "settings/xray/dns" . }} + + + {{ template "settings/xray/advanced" . }} + + + + + + + +{{template "js" .}} +{{template "component/aSidebar" .}} +{{template "component/aThemeSwitch" .}} +{{template "component/aTableSortable" .}} +{{template "component/aSettingListItem" .}} +{{template "modals/ruleModal"}} +{{template "modals/outModal"}} +{{template "modals/reverseModal"}} +{{template "modals/balancerModal"}} +{{template "modals/dnsModal"}} +{{template "modals/fakednsModal"}} +{{template "modals/warpModal"}} +