mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-10-03 15:56:17 +00:00
Push
This commit is contained in:
@@ -65,7 +65,7 @@ window.dayjs = dayjs
|
|||||||
<small class="text-muted ">
|
<small class="text-muted ">
|
||||||
<i class="bi bi-bar-chart-fill me-1"></i> Data Usage
|
<i class="bi bi-bar-chart-fill me-1"></i> Data Usage
|
||||||
</small>
|
</small>
|
||||||
<small class="fw-bold ms-sm-auto">
|
<small class="fw-bold ms-auto">
|
||||||
{{ props.config.data.toFixed(4) }} / {{ totalDataLimit ? parseFloat(totalDataLimit).toFixed(4) : 'Unlimited'}} GB
|
{{ props.config.data.toFixed(4) }} / {{ totalDataLimit ? parseFloat(totalDataLimit).toFixed(4) : 'Unlimited'}} GB
|
||||||
</small>
|
</small>
|
||||||
</div>
|
</div>
|
||||||
|
@@ -16,6 +16,12 @@ const amneziaVPN = computed(() => {
|
|||||||
}
|
}
|
||||||
return undefined
|
return undefined
|
||||||
})
|
})
|
||||||
|
|
||||||
|
const download = computed(() => {
|
||||||
|
return URL.createObjectURL(new Blob([props.qrcodeData.file], {
|
||||||
|
type: 'text/conf'
|
||||||
|
}))
|
||||||
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -25,7 +31,7 @@ const amneziaVPN = computed(() => {
|
|||||||
<i class="me-2 bi bi-chevron-left"></i> Back
|
<i class="me-2 bi bi-chevron-left"></i> Back
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="m-auto d-flex gap-3 flex-column p-3" style="width: 400px">
|
<div class="m-auto d-flex gap-3 flex-column p-3" style="max-width: 400px">
|
||||||
|
|
||||||
<div class="d-flex flex-column gap-2 align-items-center">
|
<div class="d-flex flex-column gap-2 align-items-center">
|
||||||
<Qrcode :content="props.qrcodeData.file"></Qrcode>
|
<Qrcode :content="props.qrcodeData.file"></Qrcode>
|
||||||
@@ -41,9 +47,11 @@ const amneziaVPN = computed(() => {
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr class="border-white w-100 my-2">
|
<hr class="border-white w-100 my-2">
|
||||||
<button class="btn bg-primary-subtle border-primary-subtle rounded-3">
|
<a
|
||||||
|
:href="download"
|
||||||
|
class="btn bg-primary-subtle border-primary-subtle rounded-3">
|
||||||
<i class="bi bi-download me-2"></i>Download
|
<i class="bi bi-download me-2"></i>Download
|
||||||
</button>
|
</a>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -28,8 +28,8 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="module" crossorigin src="/static/dist/WGDashboardClient/assets/index-BCXJox7M.js"></script>
|
<script type="module" crossorigin src="/static/dist/WGDashboardClient/assets/index-O5xfxIpx.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/static/dist/WGDashboardClient/assets/index-os7OmO6p.css">
|
<link rel="stylesheet" crossorigin href="/static/dist/WGDashboardClient/assets/index-DBL2TzUY.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="app">
|
<div id="app">
|
||||||
|
Reference in New Issue
Block a user