fix clipboard for the panel
This commit is contained in:
@ -4,6 +4,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta http-equiv="Permissions-Policy" content="clipboard-write=(self https://sftp.my-mc.link)">
|
||||||
<title>My-MC Panel</title>
|
<title>My-MC Panel</title>
|
||||||
<link rel="stylesheet" href="/css/styles.min.css?p=1">
|
<link rel="stylesheet" href="/css/styles.min.css?p=1">
|
||||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||||
@ -216,10 +217,11 @@
|
|||||||
<h2 class="text-xl font-semibold mb-4">SFTP Browser</h2>
|
<h2 class="text-xl font-semibold mb-4">SFTP Browser</h2>
|
||||||
<!-- Iframe height set explicitly to 650px to ensure visibility and prevent shrinking -->
|
<!-- Iframe height set explicitly to 650px to ensure visibility and prevent shrinking -->
|
||||||
<iframe
|
<iframe
|
||||||
id="sftpIframe"
|
id="sftpIframe"
|
||||||
class="w-full rounded"
|
class="w-full rounded"
|
||||||
style="height: 650px; min-height: 650px;"
|
style="height: 650px; min-height: 650px;"
|
||||||
sandbox="allow-same-origin allow-scripts allow-downloads"
|
sandbox="allow-same-origin allow-scripts allow-downloads"
|
||||||
|
allow="clipboard-read; clipboard-write"
|
||||||
></iframe>
|
></iframe>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user