|
|
@ -12,7 +12,11 @@ |
|
|
|
</head> |
|
|
|
|
|
|
|
<body class="bg-gray-50"> |
|
|
|
<div id="app" class="container mx-auto"> |
|
|
|
|
|
|
|
<div id="app"> |
|
|
|
|
|
|
|
<div class="container mx-auto max-w-3xl"> |
|
|
|
|
|
|
|
<div v-if="authenticated === true"> |
|
|
|
<span v-if="requiresPassword" |
|
|
|
class="text-sm text-gray-400 mb-10 mr-2 mt-3 cursor-pointer hover:underline float-right" @click="logout"> |
|
|
@ -29,6 +33,21 @@ |
|
|
|
</h1> |
|
|
|
<h2 class="text-sm text-gray-400 mb-10"></h2> |
|
|
|
|
|
|
|
<div v-if="latestRelease" class="bg-red-800 p-4 text-white text-sm font-small mb-10 rounded-md shadow-lg" |
|
|
|
:title="`v${currentRelease} → v${latestRelease.version}`"> |
|
|
|
<div class="container mx-auto flex flex-row flex-auto items-center"> |
|
|
|
<div class="flex-grow"> |
|
|
|
<p class="font-bold">There is an update available!</p> |
|
|
|
<p>{{latestRelease.changelog}}</p> |
|
|
|
</div> |
|
|
|
|
|
|
|
<a href="https://github.com/WeeJeWel/wg-easy#updating" target="_blank" |
|
|
|
class="p-3 rounded-md bg-white float-right font-sm font-semibold text-red-800 flex-shrink-0 border-2 border-red-800 hover:border-white hover:text-white hover:bg-red-800 transition-all"> |
|
|
|
Update → |
|
|
|
</a> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
|
|
|
|
<div class="shadow-md rounded-lg bg-white overflow-hidden"> |
|
|
|
<div class="flex flex-row flex-auto items-center p-3 px-5 border border-b-2 border-gray-100"> |
|
|
|
<div class="flex-grow"> |
|
|
@ -39,7 +58,8 @@ |
|
|
|
class="hover:bg-red-800 hover:border-red-800 hover:text-white text-gray-700 border-2 border-gray-100 py-2 px-4 rounded inline-flex items-center transition"> |
|
|
|
<svg class="w-4 mr-2" inline xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" |
|
|
|
stroke="currentColor"> |
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 6v6m0 0v6m0-6h6m-6 0H6" /> |
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" |
|
|
|
d="M12 6v6m0 0v6m0-6h6m-6 0H6" /> |
|
|
|
</svg> |
|
|
|
<span class="text-sm">New</span> |
|
|
|
</button> |
|
|
@ -52,7 +72,8 @@ |
|
|
|
<div class="h-10 w-10 mr-5 rounded-full bg-gray-50 relative"> |
|
|
|
<svg class="w-6 m-2 text-gray-300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" |
|
|
|
fill="currentColor"> |
|
|
|
<path fill-rule="evenodd" d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" clip-rule="evenodd" /> |
|
|
|
<path fill-rule="evenodd" d="M10 9a3 3 0 100-6 3 3 0 000 6zm-7 9a7 7 0 1114 0H3z" |
|
|
|
clip-rule="evenodd" /> |
|
|
|
</svg> |
|
|
|
<img v-if="client.avatar" :src="client.avatar" class="w-10 rounded-full absolute top-0 left-0" /> |
|
|
|
|
|
|
@ -226,7 +247,8 @@ |
|
|
|
<div class="bg-black bg-opacity-50 fixed top-0 right-0 left-0 bottom-0 flex items-center justify-center"> |
|
|
|
<div class="bg-white rounded-md shadow-lg relative p-8"> |
|
|
|
<button @click="qrcode = null" class="absolute right-4 top-4 text-gray-600 hover:text-gray-800"> |
|
|
|
<svg class="w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor"> |
|
|
|
<svg class="w-8" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" |
|
|
|
stroke="currentColor"> |
|
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" /> |
|
|
|
</svg> |
|
|
|
</button> |
|
|
@ -414,7 +436,8 @@ |
|
|
|
|
|
|
|
<div v-if="authenticated === null" class="text-gray-300 pt-24 pb-12"> |
|
|
|
|
|
|
|
<svg class="w-5 animate-spin mx-auto" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> |
|
|
|
<svg class="w-5 animate-spin mx-auto" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" |
|
|
|
fill="currentColor"> |
|
|
|
<circle class="opacity-25" cx="12" cy="12" r="10" stroke="currentColor" stroke-width="4"></circle> |
|
|
|
<path class="opacity-75" fill="currentColor" |
|
|
|
d="M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"> |
|
|
@ -423,8 +446,11 @@ |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
<p class="text-center m-10 text-gray-300 text-xs">Made by <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">Donate</a> · <a class="hover:underline" |
|
|
|
href="https://github.com/weejewel/wg-easy" target="_blank">GitHub</a></p> |
|
|
|
|
|
|
|
|
|
|
|