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:
authorShishkevich D. <135337715+shishkevichd@users.noreply.github.com>2025-04-06 12:40:33 +0300
committerGitHub <noreply@github.com>2025-04-06 12:40:33 +0300
commitbea19a263db88fef44b4356082b199fbfcc39a25 (patch)
treea111e9328c6273ad9721118238c40cf3004f72a9 /web/html/xui/form/reality_settings.html
parent878e0d02cd01a045f4f32464124c59e24f98aedd (diff)
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
Diffstat (limited to 'web/html/xui/form/reality_settings.html')
-rw-r--r--web/html/xui/form/reality_settings.html56
1 files changed, 0 insertions, 56 deletions
diff --git a/web/html/xui/form/reality_settings.html b/web/html/xui/form/reality_settings.html
deleted file mode 100644
index 97de0729..00000000
--- a/web/html/xui/form/reality_settings.html
+++ /dev/null
@@ -1,56 +0,0 @@
-{{define "form/realitySettings"}}
-<template>
- <a-form-item label='Show'>
- <a-switch v-model="inbound.stream.reality.show"></a-switch>
- </a-form-item>
- <a-form-item label='Xver'>
- <a-input-number v-model.number="inbound.stream.reality.xver" :min="0"></a-input-number>
- </a-form-item>
- <a-form-item label='uTLS'>
- <a-select v-model="inbound.stream.reality.settings.fingerprint" style="width: 100%"
- :dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option v-for="key in UTLS_FINGERPRINT" :value="key">[[ key ]]</a-select-option>
- </a-select>
- </a-form-item>
- <a-form-item label='Dest (Target)'>
- <a-input v-model.trim="inbound.stream.reality.dest"></a-input>
- </a-form-item>
- <a-form-item label='SNI'>
- <a-input v-model.trim="inbound.stream.reality.serverNames"></a-input>
- </a-form-item>
- <a-form-item label='Max Time Diff (ms)'>
- <a-input-number v-model.number="inbound.stream.reality.maxTimediff" :min="0"></a-input-number>
- </a-form-item>
- <!-- we also have this but i think it's not necessary
- <a-form-item label='Min Client'>
- <a-input v-model.trim="inbound.stream.reality.minClient"></a-input>
- </a-form-item>
- <a-form-item label='Max Client'>
- <a-input v-model.trim="inbound.stream.reality.maxClient"></a-input>
- </a-form-item>
- -->
- <a-form-item>
- <template slot="label">
- <a-tooltip>
- <template slot="title">
- <span>{{ i18n "reset" }}</span>
- </template> Short IDs <a-icon @click="inbound.stream.reality.shortIds = RandomUtil.randomShortIds()"
- type="sync"></a-icon>
- </a-tooltip>
- </template>
- <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"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "pages.inbounds.publicKey" }}'>
- <a-input v-model="inbound.stream.reality.settings.publicKey"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "pages.inbounds.privatekey" }}'>
- <a-input type="password" v-model="inbound.stream.reality.privateKey"></a-input>
- </a-form-item>
- <a-form-item label=" ">
- <a-button type="primary" icon="import" @click="getNewX25519Cert">Get New Cert</a-button>
- </a-form-item>
-</template>
-{{end}} \ No newline at end of file