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:
Diffstat (limited to 'web/html/modals/prompt_modal.html')
-rw-r--r--web/html/modals/prompt_modal.html19
1 files changed, 7 insertions, 12 deletions
diff --git a/web/html/modals/prompt_modal.html b/web/html/modals/prompt_modal.html
index 5073650f..7d4c19de 100644
--- a/web/html/modals/prompt_modal.html
+++ b/web/html/modals/prompt_modal.html
@@ -1,17 +1,13 @@
{{define "modals/promptModal"}}
-<a-modal id="prompt-modal" v-model="promptModal.visible" :title="promptModal.title"
- :closable="true" @ok="promptModal.ok" :mask-closable="false"
- :confirm-loading="promptModal.confirmLoading"
- :ok-text="promptModal.okText" cancel-text='{{ i18n "cancel" }}' :class="themeSwitcher.currentTheme">
- <a-input id="prompt-modal-input" :type="promptModal.type"
- v-model="promptModal.value"
- :autosize="{minRows: 10, maxRows: 20}"
- @keydown.enter.native="promptModal.keyEnter"
- @keydown.ctrl.83="promptModal.ctrlS"></a-input>
+<a-modal id="prompt-modal" v-model="promptModal.visible" :title="promptModal.title" :closable="true"
+ @ok="promptModal.ok" :mask-closable="false" :confirm-loading="promptModal.confirmLoading"
+ :ok-text="promptModal.okText" cancel-text='{{ i18n "cancel" }}' :class="themeSwitcher.currentTheme">
+ <a-input id="prompt-modal-input" :type="promptModal.type" v-model="promptModal.value"
+ :autosize="{minRows: 10, maxRows: 20}" @keydown.enter.native="promptModal.keyEnter"
+ @keydown.ctrl.83="promptModal.ctrlS"></a-input>
</a-modal>
<script>
-
const promptModal = {
title: '',
type: '',
@@ -55,7 +51,7 @@
close() {
this.visible = false;
},
- loading(loading=true) {
+ loading(loading = true) {
this.confirmLoading = loading;
},
};
@@ -66,6 +62,5 @@
promptModal: promptModal,
},
});
-
</script>
{{end}} \ No newline at end of file