forked from mirrors/amnezia-wg-easy
Merge branch 'master' into master
This commit is contained in:
commit
02cdb21405
10 changed files with 69 additions and 42 deletions
|
@ -11,11 +11,17 @@
|
|||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
</head>
|
||||
|
||||
<style>
|
||||
[v-cloak] {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
|
||||
<body class="bg-gray-50">
|
||||
|
||||
<div id="app">
|
||||
|
||||
<div class="container mx-auto max-w-3xl">
|
||||
<div v-cloak class="container mx-auto max-w-3xl">
|
||||
|
||||
<div v-if="authenticated === true">
|
||||
<span v-if="requiresPassword"
|
||||
|
@ -88,13 +94,8 @@
|
|||
class="relative overflow-hidden border-b border-gray-100 border-solid">
|
||||
|
||||
<!-- Chart -->
|
||||
<div class="absolute z-0 bottom-0 left-0 right-0" style="top: 60%;">
|
||||
<apexchart width="100%" height="100%" :options="client.chartOptions" :series="client.transferTxSeries">
|
||||
</apexchart>
|
||||
</div>
|
||||
<div class="absolute z-0 top-0 left-0 right-0" style="bottom: 60%;">
|
||||
<apexchart width="100%" height="100%" :options="client.chartOptions" :series="client.transferRxSeries"
|
||||
style="transform: scaleY(-1);">
|
||||
<div class="absolute z-0 bottom-0 left-0 right-0" style="width: 100%; height: 30%;">
|
||||
<apexchart width="100%" height="100%" :options="client.chartOptions" :series="client.chartSeries">
|
||||
</apexchart>
|
||||
</div>
|
||||
|
||||
|
@ -117,7 +118,7 @@
|
|||
<div class="flex-grow">
|
||||
|
||||
<!-- Name -->
|
||||
<div class="text-gray-700 group" :title="$t('createdAt') + dateTime(new Date(client.createdAt))">
|
||||
<div class="text-gray-700 group" :title="$t('createdOn') + dateTime(new Date(client.createdOn))">
|
||||
|
||||
<!-- Show -->
|
||||
<input v-show="clientEditNameId === client.id" v-model="clientEditName"
|
||||
|
@ -170,7 +171,7 @@
|
|||
</span>
|
||||
|
||||
<!-- Transfer TX -->
|
||||
<span v-if="client.transferTx":title="$t('totalDownload') + bytes(client.transferTx)">
|
||||
<span v-if="client.transferTx" :title="$t('totalDownload') + bytes(client.transferTx)">
|
||||
·
|
||||
<svg class="align-middle h-3 inline" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"
|
||||
fill="currentColor">
|
||||
|
@ -480,7 +481,7 @@
|
|||
|
||||
</div>
|
||||
|
||||
<p class="text-center m-10 text-gray-300 text-xs">{{$t("madeBy")}} <a target="_blank" class="hover:underline"
|
||||
<p v-cloak class="text-center m-10 text-gray-300 text-xs">{{$t("madeBy")}} <a target="_blank" class="hover:underline"
|
||||
href="https://emilenijssen.nl/?ref=wg-easy">Emile Nijssen</a> · <a class="hover:underline"
|
||||
href="https://github.com/sponsors/WeeJeWel" target="_blank">{{$t("donate")}}</a> · <a class="hover:underline"
|
||||
href="https://github.com/weejewel/wg-easy" target="_blank">GitHub</a></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue