Browse Source

Account switcher

master
Jose Olarte III 2 years ago
parent
commit
48bcf1d233
  1. 67
      account-switch.html
  2. 3
      account-view.html

67
account-switch.html

@ -0,0 +1,67 @@
<!doctype html>
<html class="text-slate-700">
<head>
<title>Switch Identities - Kickstarter for Time</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Tailwind -->
<script src="https://cdn.tailwindcss.com?plugins=forms"></script>
<!-- Font Awesome -->
<script src="https://kit.fontawesome.com/2396c18fde.js" crossorigin="anonymous"></script>
<link href="css/main.css" rel="stylesheet">
</head>
<body>
<!-- QUICK NAV -->
<nav id="QuickNav" class="fixed bottom-0 left-0 right-0 bg-slate-200">
<ul class="flex text-2xl p-2 gap-2">
<!-- 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>
<!-- 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>
<!-- 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>
<!-- 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>
<!-- 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>
</ul>
</nav>
<!-- CONTENT -->
<section id="Content" class="p-6 pb-24">
<!-- Heading -->
<h1 id="ViewHeading" class="text-4xl text-center font-light pt-4 mb-8">Switch Identities</h1>
<!-- Identity List -->
<!-- Current Identity - Display First! -->
<a href="account-view.html" class="block bg-slate-100 rounded-md flex items-center px-4 py-3 mb-4">
<i class="fa-solid fa-circle-check fa-fw text-blue-600 text-xl mr-3"></i>
<span>
<h2 class="text-xl font-semibold mb-0">Firstname Lastname</h2>
<div class="text-sm text-slate-500"><b>ID:</b> <code>did:peer:kl45kj41lk451kl3</code></div>
</span>
</a>
<!-- Other Identity/ies -->
<a href="account-view.html" class="block bg-slate-100 rounded-md flex items-center px-4 py-3 mb-4">
<i class="fa-regular fa-circle fa-fw text-slate-500 text-xl mr-3"></i>
<span>
<h2 class="text-xl font-semibold mb-0">Givenname Surname</h2>
<div class="text-sm text-slate-500"><b>ID:</b> <code>did:peer:lk451kl3kl45kj41</code></div>
</span>
</a>
<!-- Actions -->
<a href="start.html" class="block text-center text-lg font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md mb-2">Add Another Identity&hellip;</a>
<a href="start.html" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-8">Log Out of All Identities</a>
</section>
</body>
</html>

3
account-view.html

@ -66,7 +66,8 @@
</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-2">Edit Identity</a>
<a href="account-switch.html" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-8">Switch Identities / Log Out</a>
<h3 class="text-sm uppercase font-semibold mb-3">Contact Actions</h3>

Loading…
Cancel
Save