Browse Source

Update index.html

relative paths
pull/150/head
jdeath 4 years ago
committed by GitHub
parent
commit
3a16b869f2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 20
      src/www/index.html

20
src/www/index.html

@ -3,7 +3,7 @@
<head> <head>
<title>WireGuard</title> <title>WireGuard</title>
<link href="/css/vendor/tailwind.min.css" rel="stylesheet"> <link href="css/vendor/tailwind.min.css" rel="stylesheet">
<link rel="manifest" href="manifest.json"> <link rel="manifest" href="manifest.json">
<link rel="icon" type="image/png" href="img/favicon.png"> <link rel="icon" type="image/png" href="img/favicon.png">
<link rel="apple-touch-icon" href="img/apple-touch-icon.png"> <link rel="apple-touch-icon" href="img/apple-touch-icon.png">
@ -200,7 +200,7 @@
<!-- Show QR--> <!-- Show QR-->
<button class="align-middle bg-gray-100 hover:bg-red-800 hover:text-white p-2 rounded transition" <button class="align-middle bg-gray-100 hover:bg-red-800 hover:text-white p-2 rounded transition"
title="Show QR Code" @click="qrcode = `/api/wireguard/client/${client.id}/qrcode.svg`"> title="Show QR Code" @click="qrcode = `api/wireguard/client/${client.id}/qrcode.svg`">
<svg class="w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" <svg class="w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
stroke="currentColor"> stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
@ -209,7 +209,7 @@
</button> </button>
<!-- Download Config --> <!-- Download Config -->
<a :href="'/api/wireguard/client/' + client.id + '/configuration'" download <a :href="'api/wireguard/client/' + client.id + '/configuration'" download
class="align-middle inline-block bg-gray-100 hover:bg-red-800 hover:text-white p-2 rounded transition" class="align-middle inline-block bg-gray-100 hover:bg-red-800 hover:text-white p-2 rounded transition"
title="Download Configuration"> title="Download Configuration">
<svg class="w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" <svg class="w-5" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24"
@ -473,13 +473,13 @@
</div> </div>
<script src="/js/vendor/vue.min.js"></script> <script src="js/vendor/vue.min.js"></script>
<script src="/js/vendor/apexcharts.min.js"></script> <script src="js/vendor/apexcharts.min.js"></script>
<script src="/js/vendor/vue-apexcharts.min.js"></script> <script src="js/vendor/vue-apexcharts.min.js"></script>
<script src="/js/vendor/md5.min.js"></script> <script src="js/vendor/md5.min.js"></script>
<script src="/js/vendor/timeago.min.js"></script> <script src="js/vendor/timeago.min.js"></script>
<script src="/js/api.js"></script> <script src="js/api.js"></script>
<script src="/js/app.js"></script> <script src="js/app.js"></script>
</body> </body>
</html> </html>
Loading…
Cancel
Save