Contact add/edit screen + changes to view screen
This commit is contained in:
130
contact-list.html
Normal file
130
contact-list.html
Normal file
@@ -0,0 +1,130 @@
|
||||
<!doctype html>
|
||||
<html class="text-slate-700">
|
||||
<head>
|
||||
<title>Contacts - 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 z-50">
|
||||
<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>
|
||||
<!-- Contacts -->
|
||||
<li class="basis-1/5 rounded-md bg-slate-400 text-white"><a href="contact-list.html" class="block text-center py-3 px-1"><i class="fa-solid fa-users fa-fw"></i></a></li>
|
||||
<!-- Profile -->
|
||||
<li class="basis-1/5 rounded-md text-slate-500"><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">Your Contacts</h1>
|
||||
|
||||
<!-- Quick Search -->
|
||||
<form id="QuickSearch" class="mb-4 flex">
|
||||
<input type="text" placeholder="Search…" class="block w-full rounded-l border-r-0 border-slate-400" />
|
||||
<button class="px-4 rounded-r bg-slate-200 border border-l-0 border-slate-400"><i class="fa-solid fa-magnifying-glass fa-fw"></i></button>
|
||||
</form>
|
||||
|
||||
<!-- New Contact -->
|
||||
<a href="contact-edit.html" class="fixed right-6 bottom-24 text-center text-4xl leading-none bg-blue-600 text-white w-14 py-2.5 rounded-full"><i class="fa-solid fa-plus fa-fw"></i></a>
|
||||
|
||||
<!-- Initial Loading Animation -->
|
||||
<!-- SHOW ME only during load of first set of results -->
|
||||
<p class="hidden text-slate-500 text-center italic mt-8 mb-4"><i class="fa-solid fa-spinner fa-spin-pulse"></i> Loading…</p>
|
||||
|
||||
<!-- Results List -->
|
||||
<ul class="border-t border-slate-300">
|
||||
<li class="border-b border-slate-300">
|
||||
<a href="contact-view.html" class="block py-4 flex gap-4">
|
||||
<!-- <div class="w-12">
|
||||
<img src="https://picsum.photos/200/200?random=1" class="w-full rounded" />
|
||||
</div> -->
|
||||
|
||||
<div class="grow overflow-hidden">
|
||||
<h2 class="text-base flex gap-4">
|
||||
<span class="grow font-semibold"><i class="fa-solid fa-user fa-fw text-slate-400"></i> User One</span>
|
||||
<span class="text-right">
|
||||
<!-- Given -->
|
||||
<!-- [confirmed value]/[total value] -->
|
||||
<span class="whitespace-nowrap"><i class="fa-solid fa-right-from-bracket fa-rotate-270 text-slate-400"></i> 4/8</span>
|
||||
<!-- Received -->
|
||||
<!-- [confirmed value]/[total value] -->
|
||||
<span class="whitespace-nowrap ml-2"><i class="fa-solid fa-right-to-bracket fa-rotate-90 text-slate-400"></i> 2.5/3</span>
|
||||
</span>
|
||||
</h2>
|
||||
<div class="text-sm truncate">did:ethr:0x000Ee5654b9742f6Fe18ea970e32b97ee2247B51</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="border-b border-slate-300">
|
||||
<a href="contact-view.html" class="block py-4 flex gap-4">
|
||||
<!-- <div class="w-12">
|
||||
<img src="https://picsum.photos/200/200?random=1" class="w-full rounded" />
|
||||
</div> -->
|
||||
|
||||
<div class="grow overflow-hidden">
|
||||
<h2 class="text-base flex gap-4">
|
||||
<span class="grow font-semibold"><i class="fa-solid fa-user fa-fw text-slate-400"></i> User Two</span>
|
||||
<span class="text-right">
|
||||
<!-- Given -->
|
||||
<!-- [confirmed value]/[total value] -->
|
||||
<span class="whitespace-nowrap"><i class="fa-solid fa-right-from-bracket fa-rotate-270 text-slate-400"></i> 4/8</span>
|
||||
<!-- Received -->
|
||||
<!-- [confirmed value]/[total value] -->
|
||||
<span class="whitespace-nowrap ml-2"><i class="fa-solid fa-right-to-bracket fa-rotate-90 text-slate-400"></i> 2.5/3</span>
|
||||
</span>
|
||||
</h2>
|
||||
<div class="text-sm truncate">did:ethr:0x000Ee5654b9742f6Fe18ea970e32b97ee2247B51</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li class="border-b border-slate-300">
|
||||
<a href="contact-view.html" class="block py-4 flex gap-4">
|
||||
<!-- <div class="w-12">
|
||||
<img src="https://picsum.photos/200/200?random=1" class="w-full rounded" />
|
||||
</div> -->
|
||||
|
||||
<div class="grow overflow-hidden">
|
||||
<h2 class="text-base flex gap-4">
|
||||
<span class="grow font-semibold"><i class="fa-solid fa-user fa-fw text-slate-400"></i> User Three</span>
|
||||
<span class="text-right">
|
||||
<!-- Given -->
|
||||
<!-- [confirmed value]/[total value] -->
|
||||
<span class="whitespace-nowrap"><i class="fa-solid fa-right-from-bracket fa-rotate-270 text-slate-400"></i> 4/8</span>
|
||||
<!-- Received -->
|
||||
<!-- [confirmed value]/[total value] -->
|
||||
<span class="whitespace-nowrap ml-2"><i class="fa-solid fa-right-to-bracket fa-rotate-90 text-slate-400"></i> 2.5/3</span>
|
||||
</span>
|
||||
</h2>
|
||||
<div class="text-sm truncate">did:ethr:0x000Ee5654b9742f6Fe18ea970e32b97ee2247B51</div>
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<!-- Infinite Scroll Loading Animation -->
|
||||
<!-- SHOW ME only while loading more results into list -->
|
||||
<p class="hidden text-slate-500 text-center italic mt-8 mb-4"><i class="fa-solid fa-spinner fa-spin-pulse"></i> Loading More…</p>
|
||||
</section>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user