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-06-18 19:24:18 +0300
committerGitHub <noreply@github.com>2025-06-18 19:24:18 +0300
commitcb22b4ad47816742e7eaa9b9f46f11530b0aae8e (patch)
tree486f3d1c1af5b4bd22c5bd48c164f1db168f88cd /web/html/modals/fakedns_modal.html
parent6a2e0071cfb27d290f3e3aca9eda184f2ac7d15e (diff)
chore: add new dns features from v25.6.8
* chore: add new dns params * chore: add `DNS Presets` modal * chore: edit file names
Diffstat (limited to 'web/html/modals/fakedns_modal.html')
-rw-r--r--web/html/modals/fakedns_modal.html57
1 files changed, 0 insertions, 57 deletions
diff --git a/web/html/modals/fakedns_modal.html b/web/html/modals/fakedns_modal.html
deleted file mode 100644
index 8e554ac0..00000000
--- a/web/html/modals/fakedns_modal.html
+++ /dev/null
@@ -1,57 +0,0 @@
-{{define "modals/fakednsModal"}}
-<a-modal id="fakedns-modal" v-model="fakednsModal.visible" :title="fakednsModal.title" @ok="fakednsModal.ok"
- :closable="true" :mask-closable="false"
- :ok-text="fakednsModal.okText" cancel-text='{{ i18n "close" }}' :class="themeSwitcher.currentTheme">
- <a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
- <a-form-item label='{{ i18n "pages.xray.fakedns.ipPool" }}'>
- <a-input v-model.trim="fakednsModal.fakeDns.ipPool"></a-input>
- </a-form-item>
- <a-form-item label='{{ i18n "pages.xray.fakedns.poolSize" }}'>
- <a-input-number v-model.number="fakednsModal.fakeDns.poolSize" :min="1"></a-input-number>
- </a-form-item>
- </a-form>
-</a-modal>
-<script>
- const fakednsModal = {
- title: '',
- visible: false,
- okText: '{{ i18n "confirm" }}',
- isEdit: false,
- confirm: null,
- fakeDns: {
- ipPool: "198.18.0.0/16",
- poolSize: 65535,
- },
- ok() {
- ObjectUtil.execute(fakednsModal.confirm, fakednsModal.fakeDns);
- },
- show({ title='', okText='{{ i18n "confirm" }}', fakeDns, confirm=(fakeDns)=>{}, isEdit=false }) {
- this.title = title;
- this.okText = okText;
- this.confirm = confirm;
- this.visible = true;
- if(isEdit) {
- this.fakeDns = fakeDns;
- } else {
- this.fakeDns = {
- ipPool: "198.18.0.0/16",
- poolSize: 65535,
- }
- }
- this.isEdit = isEdit;
- },
- close() {
- fakednsModal.visible = false;
- },
- };
-
- new Vue({
- delimiters: ['[[', ']]'],
- el: '#fakedns-modal',
- data: {
- fakednsModal: fakednsModal,
- }
- });
-
-</script>
-{{end}}