Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTara Rostami <132676256+TaraRostami@users.noreply.github.com>2023-12-17 18:16:50 +0300
committerGitHub <noreply@github.com>2023-12-17 18:16:50 +0300
commit495bfb9683c7d78113f44cb106a245f9371df9d6 (patch)
treec2fd9426abc3bee4f46a0101b0f2fac0ea4a1685 /web/html/xui/form
parent9b60b0fd458df0ee7547024f2bd0b16fd09b6a15 (diff)
Minor improvements in UI (#1399)
Diffstat (limited to 'web/html/xui/form')
-rw-r--r--web/html/xui/form/stream/stream_grpc.html4
-rw-r--r--web/html/xui/form/tls_settings.html22
2 files changed, 13 insertions, 13 deletions
diff --git a/web/html/xui/form/stream/stream_grpc.html b/web/html/xui/form/stream/stream_grpc.html
index e8c14e7c..27effccc 100644
--- a/web/html/xui/form/stream/stream_grpc.html
+++ b/web/html/xui/form/stream/stream_grpc.html
@@ -1,10 +1,10 @@
{{define "form/streamGRPC"}}
<a-form :colon="false" :label-col="{ md: {span:6} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label="Service Name">
- <a-input v-model.trim="inbound.stream.grpc.serviceName" style="width: 250px;"></a-input>
+ <a-input v-model.trim="inbound.stream.grpc.serviceName"></a-input>
</a-form-item>
<a-form-item label="MultiMode">
<a-switch v-model="inbound.stream.grpc.multiMode"></a-switch>
</a-form-item>
</a-form>
-{{end}} \ No newline at end of file
+{{end}}
diff --git a/web/html/xui/form/tls_settings.html b/web/html/xui/form/tls_settings.html
index a0c9292a..07527e7f 100644
--- a/web/html/xui/form/tls_settings.html
+++ b/web/html/xui/form/tls_settings.html
@@ -74,10 +74,10 @@
</a-form-item>
<template v-if="cert.useFile">
<a-form-item label='{{ i18n "pages.inbounds.publicKeyPath" }}'>
- <a-input v-model.trim="cert.certFile" style="width:250px;"></a-input>
+ <a-input v-model.trim="cert.certFile"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.keyPath" }}'>
- <a-input v-model.trim="cert.keyFile" style="width:250px;"></a-input>
+ <a-input v-model.trim="cert.keyFile"></a-input>
</a-form-item>
<a-form-item label=" ">
<a-button type="primary" icon="import" @click="setDefaultCertData(index)">{{ i18n
@@ -86,10 +86,10 @@
</template>
<template v-else>
<a-form-item label='{{ i18n "pages.inbounds.publicKeyContent" }}'>
- <a-input type="textarea" :rows="3" style="width:250px;" v-model="cert.cert"></a-input>
+ <a-input type="textarea" :rows="3" v-model="cert.cert"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.keyContent" }}'>
- <a-input type="textarea" :rows="3" style="width:250px;" v-model="cert.key"></a-input>
+ <a-input type="textarea" :rows="3" v-model="cert.key"></a-input>
</a-form-item>
</template>
<a-form-item label='ocspStapling'>
@@ -125,10 +125,10 @@
</a-form-item>
<template v-if="cert.useFile">
<a-form-item label='{{ i18n "pages.inbounds.publicKeyPath" }}'>
- <a-input v-model.trim="cert.certFile" style="width:250px;"></a-input>
+ <a-input v-model.trim="cert.certFile"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.keyPath" }}'>
- <a-input v-model.trim="cert.keyFile" style="width:250px;"></a-input>
+ <a-input v-model.trim="cert.keyFile"></a-input>
</a-form-item>
<a-form-item label=" ">
<a-button type="primary" icon="import" @click="setDefaultCertXtls(index)">{{ i18n
@@ -137,10 +137,10 @@
</template>
<template v-else>
<a-form-item label='{{ i18n "pages.inbounds.publicKeyContent" }}'>
- <a-input type="textarea" :rows="3" style="width:250px;" v-model="cert.cert"></a-input>
+ <a-input type="textarea" :rows="3" v-model="cert.cert"></a-input>
</a-form-item>
<a-form-item label='{{ i18n "pages.inbounds.keyContent" }}'>
- <a-input type="textarea" :rows="3" style="width:250px;" v-model="cert.key"></a-input>
+ <a-input type="textarea" :rows="3" v-model="cert.key"></a-input>
</a-form-item>
</template>
</template>
@@ -175,10 +175,10 @@
<a-icon @click="inbound.stream.reality.shortIds = RandomUtil.randomShortId()" type="sync"> </a-icon>
</a-icon>
</template>
- <a-input v-model.trim="inbound.stream.reality.shortIds" style="width:250px"></a-input>
+ <a-input v-model.trim="inbound.stream.reality.shortIds"></a-input>
</a-form-item>
<a-form-item label='SpiderX'>
- <a-input v-model.trim="inbound.stream.reality.settings.spiderX" style="width:250px"></a-input>
+ <a-input v-model.trim="inbound.stream.reality.settings.spiderX"></a-input>
</a-form-item>
<a-form-item label='Private Key'>
<a-input v-model.trim="inbound.stream.reality.privateKey"></a-input>
@@ -191,4 +191,4 @@
</a-form-item>
</template>
</a-form>
-{{end}} \ No newline at end of file
+{{end}}