From d5f5add61acd9c949436586545a13a551060035f Mon Sep 17 00:00:00 2001 From: "web@ppanel" Date: Mon, 2 Dec 2024 13:22:43 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style(node):=20Form?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/admin/app/dashboard/server/node-form.tsx | 139 ++++++++++-------- 1 file changed, 76 insertions(+), 63 deletions(-) diff --git a/apps/admin/app/dashboard/server/node-form.tsx b/apps/admin/app/dashboard/server/node-form.tsx index 052dddc..c63d7c2 100644 --- a/apps/admin/app/dashboard/server/node-form.tsx +++ b/apps/admin/app/dashboard/server/node-form.tsx @@ -452,7 +452,7 @@ export default function NodeForm({ control={form.control} name='vmess.host' render={({ field }) => ( - + {t('form.Host Name')} ({ )} /> - ( - - {t('form.serverName')} - - { - form.setValue(field.name, value); - }} - /> - - - - )} - /> - ( - - {t('form.enableTls')} - -
- { - form.setValue(field.name, value); - }} - /> -
-
- -
- )} - /> - ( - - {t('form.allowInsecure')} - -
- { - form.setValue(field.name, value); - }} - /> -
-
- -
- )} - /> - ( - + {t('form.networkType')} ({ control={form.control} name='vless.xtls' render={({ field }) => ( - + {t('form.xtls')}