|
@ -3,27 +3,59 @@ |
|
|
<nav id="QuickNav" class="fixed bottom-0 left-0 right-0 bg-slate-200"> |
|
|
<nav id="QuickNav" class="fixed bottom-0 left-0 right-0 bg-slate-200"> |
|
|
<ul class="flex text-2xl p-2 gap-2"> |
|
|
<ul class="flex text-2xl p-2 gap-2"> |
|
|
<!-- Home Feed --> |
|
|
<!-- Home Feed --> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"><a href="" class="block text-center py-3 px-1"><i class="fa-solid fa-house-chimney fa-fw"></i></a></li> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"> |
|
|
|
|
|
<a href="" class="block text-center py-3 px-1" |
|
|
|
|
|
><i class="fa-solid fa-house-chimney fa-fw"></i |
|
|
|
|
|
></a> |
|
|
|
|
|
</li> |
|
|
<!-- Search --> |
|
|
<!-- Search --> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"><a href="search.html" class="block text-center py-3 px-1"><i class="fa-solid fa-magnifying-glass fa-fw"></i></a></li> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"> |
|
|
|
|
|
<a href="search.html" class="block text-center py-3 px-1" |
|
|
|
|
|
><i class="fa-solid fa-magnifying-glass fa-fw"></i |
|
|
|
|
|
></a> |
|
|
|
|
|
</li> |
|
|
<!-- Projects --> |
|
|
<!-- Projects --> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"><a href="" class="block text-center py-3 px-1"><i class="fa-solid fa-folder-open fa-fw"></i></a></li> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"> |
|
|
|
|
|
<a href="" class="block text-center py-3 px-1" |
|
|
|
|
|
><i class="fa-solid fa-folder-open fa-fw"></i |
|
|
|
|
|
></a> |
|
|
|
|
|
</li> |
|
|
<!-- Commitments --> |
|
|
<!-- Commitments --> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"><a href="" class="block text-center py-3 px-1"><i class="fa-solid fa-hand fa-fw rotate-45"></i></a></li> |
|
|
<li class="basis-1/5 rounded-md text-slate-500"> |
|
|
|
|
|
<a href="" class="block text-center py-3 px-1" |
|
|
|
|
|
><i class="fa-solid fa-hand fa-fw rotate-45"></i |
|
|
|
|
|
></a> |
|
|
|
|
|
</li> |
|
|
<!-- Profile --> |
|
|
<!-- Profile --> |
|
|
<li class="basis-1/5 rounded-md bg-slate-400 text-white"><a href="account-view.html" class="block text-center py-3 px-1"><i class="fa-solid fa-circle-user fa-fw"></i></a></li> |
|
|
<li class="basis-1/5 rounded-md bg-slate-400 text-white"> |
|
|
|
|
|
<a href="account-view.html" class="block text-center py-3 px-1" |
|
|
|
|
|
><i class="fa-solid fa-circle-user fa-fw"></i |
|
|
|
|
|
></a> |
|
|
|
|
|
</li> |
|
|
</ul> |
|
|
</ul> |
|
|
</nav> |
|
|
</nav> |
|
|
|
|
|
|
|
|
<!-- CONTENT --> |
|
|
<!-- CONTENT --> |
|
|
<section id="Content" class="p-6 pb-24"> |
|
|
<section id="Content" class="p-6 pb-24"> |
|
|
<!-- Heading --> |
|
|
<!-- Heading --> |
|
|
<h1 id="ViewHeading" class="text-4xl text-center font-light pt-4 mb-8">Your Identity</h1> |
|
|
<h1 id="ViewHeading" class="text-4xl text-center font-light pt-4 mb-8"> |
|
|
|
|
|
Your Identity |
|
|
|
|
|
</h1> |
|
|
|
|
|
|
|
|
<!-- Friend referral requirement notice --> |
|
|
<!-- Friend referral requirement notice --> |
|
|
<div class="bg-amber-200 text-amber-900 border-amber-500 border-dashed border text-center rounded-md overflow-hidden px-4 py-3 mb-4"> |
|
|
<div |
|
|
<p class="mb-4"><b>Important:</b> before you can create a new project or commit time to one, you need a friend to register you.</p> |
|
|
class="bg-amber-200 text-amber-900 border-amber-500 border-dashed border text-center rounded-md overflow-hidden px-4 py-3 mb-4" |
|
|
<button id="btnShowQR" class="inline-block text-md uppercase bg-amber-600 text-white px-4 py-2 rounded-md">Share Your ID</button> |
|
|
> |
|
|
|
|
|
<p class="mb-4"> |
|
|
|
|
|
<b>Important:</b> before you can create a new project or commit time to |
|
|
|
|
|
one, you need a friend to register you. |
|
|
|
|
|
</p> |
|
|
|
|
|
<button |
|
|
|
|
|
id="btnShowQR" |
|
|
|
|
|
class="inline-block text-md uppercase bg-amber-600 text-white px-4 py-2 rounded-md" |
|
|
|
|
|
> |
|
|
|
|
|
Share Your ID |
|
|
|
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<!-- Identity Details --> |
|
|
<!-- Identity Details --> |
|
@ -31,44 +63,91 @@ |
|
|
<h2 class="text-xl font-semibold mb-2">Firstname Lastname</h2> |
|
|
<h2 class="text-xl font-semibold mb-2">Firstname Lastname</h2> |
|
|
|
|
|
|
|
|
<div class="text-slate-500 text-sm font-bold">ID</div> |
|
|
<div class="text-slate-500 text-sm font-bold">ID</div> |
|
|
<div class="text-sm text-slate-500 flex justify-between items-center mb-1"> |
|
|
<div |
|
|
<span><code>did:peer:kl45kj41lk451kl3</code> <i class="fa-solid fa-copy text-slate-400 fa-fw"></i></span> |
|
|
class="text-sm text-slate-500 flex justify-between items-center mb-1" |
|
|
|
|
|
> |
|
|
|
|
|
<span |
|
|
|
|
|
><code>did:peer:kl45kj41lk451kl3</code> |
|
|
|
|
|
<i class="fa-solid fa-copy text-slate-400 fa-fw"></i |
|
|
|
|
|
></span> |
|
|
<span> |
|
|
<span> |
|
|
<button class="text-xs uppercase bg-slate-500 text-white px-1.5 py-1 rounded-md"><i class="fa-solid fa-share-nodes fa-fw"></i></button> |
|
|
<button |
|
|
<button class="text-xs uppercase bg-slate-500 text-white px-1.5 py-1 rounded-md"><i class="fa-solid fa-qrcode fa-fw"></i></button> |
|
|
class="text-xs uppercase bg-slate-500 text-white px-1.5 py-1 rounded-md" |
|
|
|
|
|
> |
|
|
|
|
|
<i class="fa-solid fa-share-nodes fa-fw"></i> |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
class="text-xs uppercase bg-slate-500 text-white px-1.5 py-1 rounded-md" |
|
|
|
|
|
> |
|
|
|
|
|
<i class="fa-solid fa-qrcode fa-fw"></i> |
|
|
|
|
|
</button> |
|
|
</span> |
|
|
</span> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="text-slate-500 text-sm font-bold">Public Key</div> |
|
|
<div class="text-slate-500 text-sm font-bold">Public Key</div> |
|
|
<div class="text-sm text-slate-500 mb-1"> |
|
|
<div class="text-sm text-slate-500 mb-1"> |
|
|
<span><code>dyIgKepL19trfrFu5jzkoNhI</code> <i class="fa-solid fa-copy text-slate-400 fa-fw"></i></span> |
|
|
<span |
|
|
|
|
|
><code>dyIgKepL19trfrFu5jzkoNhI</code> |
|
|
|
|
|
<i class="fa-solid fa-copy text-slate-400 fa-fw"></i |
|
|
|
|
|
></span> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="text-slate-500 text-sm font-bold">Derivation Path</div> |
|
|
<div class="text-slate-500 text-sm font-bold">Derivation Path</div> |
|
|
<div class="text-sm text-slate-500 mb-1"> |
|
|
<div class="text-sm text-slate-500 mb-1"> |
|
|
<span><code>m/44'/0'/0'/0/0</code> <i class="fa-solid fa-copy text-slate-400 fa-fw"></i></span> |
|
|
<span |
|
|
|
|
|
><code>m/44'/0'/0'/0/0</code> |
|
|
|
|
|
<i class="fa-solid fa-copy text-slate-400 fa-fw"></i |
|
|
|
|
|
></span> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<a href="account-edit.html" class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-8">Edit Identity</a> |
|
|
<a |
|
|
|
|
|
href="account-edit.html" |
|
|
|
|
|
class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-8" |
|
|
|
|
|
>Edit Identity</a |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<h3 class="text-sm uppercase font-semibold mb-3">Contact Actions</h3> |
|
|
<h3 class="text-sm uppercase font-semibold mb-3">Contact Actions</h3> |
|
|
|
|
|
|
|
|
<a href="contact-scan.html" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-6">Scan New Contact</a> |
|
|
<a |
|
|
|
|
|
href="contact-scan.html" |
|
|
|
|
|
class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-6" |
|
|
|
|
|
>Scan New Contact</a |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<h3 class="text-sm uppercase font-semibold mb-3">Identity Actions</h3> |
|
|
<h3 class="text-sm uppercase font-semibold mb-3">Identity Actions</h3> |
|
|
|
|
|
|
|
|
<a href="" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2">Backup Seed</a> |
|
|
<a |
|
|
<a href="" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-6">Backup Other Data</a> |
|
|
href="" |
|
|
|
|
|
class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2" |
|
|
|
|
|
>Backup Seed</a |
|
|
|
|
|
> |
|
|
|
|
|
<a |
|
|
|
|
|
href="" |
|
|
|
|
|
class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-6" |
|
|
|
|
|
>Backup Other Data</a |
|
|
|
|
|
> |
|
|
|
|
|
|
|
|
<!-- QR code popup --> |
|
|
<!-- QR code popup --> |
|
|
<dialog id="dlgQR" class="backdrop:bg-black/75 rounded-md"> |
|
|
<dialog id="dlgQR" class="backdrop:bg-black/75 rounded-md"> |
|
|
<form method="dialog"> |
|
|
<form method="dialog"> |
|
|
<div class="text-slate-500 text-center"><b>ID:</b> <code>did:peer:kl45kj41lk451kl3</code></div> |
|
|
<div class="text-slate-500 text-center"> |
|
|
|
|
|
<b>ID:</b> <code>did:peer:kl45kj41lk451kl3</code> |
|
|
|
|
|
</div> |
|
|
<img src="img/sample-qr-code.png" class="w-full mb-3" /> |
|
|
<img src="img/sample-qr-code.png" class="w-full mb-3" /> |
|
|
|
|
|
|
|
|
<button value="cancel" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2">Copy to Clipboard</button> |
|
|
<button |
|
|
<button value="cancel" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md">Close</button> |
|
|
value="cancel" |
|
|
|
|
|
class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2" |
|
|
|
|
|
> |
|
|
|
|
|
Copy to Clipboard |
|
|
|
|
|
</button> |
|
|
|
|
|
<button |
|
|
|
|
|
value="cancel" |
|
|
|
|
|
class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md" |
|
|
|
|
|
> |
|
|
|
|
|
Close |
|
|
|
|
|
</button> |
|
|
</form> |
|
|
</form> |
|
|
</dialog> |
|
|
</dialog> |
|
|
</section> |
|
|
</section> |
|
@ -78,8 +157,7 @@ |
|
|
import { Options, Vue } from "vue-class-component"; |
|
|
import { Options, Vue } from "vue-class-component"; |
|
|
|
|
|
|
|
|
@Options({ |
|
|
@Options({ |
|
|
components: { |
|
|
components: {}, |
|
|
}, |
|
|
|
|
|
}) |
|
|
}) |
|
|
export default class AccountViewView extends Vue {} |
|
|
export default class AccountViewView extends Vue {} |
|
|
</script> |
|
|
</script> |
|
|