From c03fd3c5b47dd58a393cfc47a8bece74def3870a Mon Sep 17 00:00:00 2001 From: rui hildt Date: Mon, 25 Nov 2024 13:35:28 +0100 Subject: [PATCH] Add toggle DNS for all websites / Refactor design a bit --- src/components/Proxy/CustomProxies.vue | 56 ++++++++++++++++++-------- 1 file changed, 40 insertions(+), 16 deletions(-) diff --git a/src/components/Proxy/CustomProxies.vue b/src/components/Proxy/CustomProxies.vue index 537ce76b..45ee68db 100644 --- a/src/components/Proxy/CustomProxies.vue +++ b/src/components/Proxy/CustomProxies.vue @@ -4,6 +4,7 @@ import { NCard, NCheckbox, NDivider, NSwitch, NTooltip, NInput } from 'naive-ui' import Button from '@/components/Buttons/Button.vue'; import IconLabel from '@/components/IconLabel.vue'; +import FeGlobe from '@/components/Icons/FeGlobe.vue'; import SplitButton from '@/components/Buttons/SplitButton.vue'; import TitleCategory from '@/components/TitleCategory.vue'; @@ -28,6 +29,7 @@ const { toggleCustomProxy, toggleCustomProxyDNS, toggleGlobalProxy, + toggleGlobalProxyDNS, } = useSocksProxy(); const manualProxyDomain = ref(''); @@ -96,27 +98,39 @@ const clearError = () => {
-

All websites

+
+

All websites

+

(except for domains listed below)

+
-

- {{ globalProxyDetails.city }}, {{ globalProxyDetails.country }} -

+

+ + + + {{ globalProxyDetails.city }}, {{ globalProxyDetails.country }} +

Server

{{ globalProxyDetails.server }}
+
+

Proxy DNS

+ +
- - {{ globalProxyEnabled ? 'Proxy' : 'When enabled, this proxy is' }} used by - all websites, except for domains listed below. - -