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-17 18:25:24 +0300
committerGitHub <noreply@github.com>2025-06-17 18:25:24 +0300
commite272c160b12ff8ae8d0d3812756e986ace72a924 (patch)
treead4bb90cec600562e4c9396c79af30082d7f3344 /web/html/modals
parentba50c99c101e2164bc4daa7617b5b0096145a6f3 (diff)
chore: add download config button for wireguard
Diffstat (limited to 'web/html/modals')
-rw-r--r--web/html/modals/inbound_info_modal.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/web/html/modals/inbound_info_modal.html b/web/html/modals/inbound_info_modal.html
index 9da3fc86..c9c36398 100644
--- a/web/html/modals/inbound_info_modal.html
+++ b/web/html/modals/inbound_info_modal.html
@@ -433,6 +433,9 @@
<a-tooltip title='{{ i18n "copy" }}'>
<a-button :style="{ minWidth: '24px' }" size="small" icon="snippets" @click="copy(infoModal.links[index])"></a-button>
</a-tooltip>
+ <a-tooltip title='{{ i18n "download" }}'>
+ <a-button :style="{ minWidth: '24px' }" size="small" icon="download" @click="FileManager.downloadTextFile(infoModal.links[index], `peer-${index + 1}.conf`)"></a-button>
+ </a-tooltip>
</tr-info-title>
<div v-html="infoModal.links[index].replaceAll(`\n`,`<br />`)" :style="{ borderRadius: '1rem', padding: '0.5rem' }" class="client-table-odd-row">
</div>