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:
authorHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-08 17:44:22 +0300
committerHamidreza Ghavami <hamid.r.gh.1998@gmail.com>2023-05-08 17:44:22 +0300
commit0e266b88f0eb70bf46d3ecc4df148794bc307205 (patch)
treeeaa17312f7d6a9bdc1e0d0c3293fc5a4ce8d5b38 /web/html/common/qrcode_modal.html
parent7d0c3b6517e6c9b8367e63400c83789c7ddab93f (diff)
update UI to use themeSwitcher
Diffstat (limited to 'web/html/common/qrcode_modal.html')
-rw-r--r--web/html/common/qrcode_modal.html8
1 files changed, 5 insertions, 3 deletions
diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html
index f492dabb..2bd2f00f 100644
--- a/web/html/common/qrcode_modal.html
+++ b/web/html/common/qrcode_modal.html
@@ -1,10 +1,12 @@
{{define "qrcodeModal"}}
<a-modal id="qrcode-modal" v-model="qrModal.visible" :title="qrModal.title"
:closable="true"
- :class="siderDrawer.isDarkTheme ? darkClass : ''"
+ :class="themeSwitcher.darkCardClass"
:footer="null"
width="300px">
- <a-tag color="green" style="margin-bottom: 10px;display: block;text-align: center;" >{{ i18n "pages.inbounds.clickOnQRcode" }}</a-tag>
+ <a-tag color="green" style="margin-bottom: 10px;display: block;text-align: center;">
+ {{ i18n "pages.inbounds.clickOnQRcode" }}
+ </a-tag>
<canvas @click="copyToClipboard()" id="qrCode" style="width: 100%; height: 100%;"></canvas>
</a-modal>
@@ -19,7 +21,7 @@
qrcode: null,
clipboard: null,
visible: false,
- show: function (title='', content='', dbInbound=new DBInbound(), copyText='') {
+ show: function (title = '', content = '', dbInbound = new DBInbound(), copyText = '') {
this.title = title;
this.content = content;
this.dbInbound = dbInbound;