You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

143 lines
6.1 KiB

<!doctype html>
<html class="text-slate-700">
<head>
<title>View Contact - 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">
<!-- Breadcrumb -->
<div id="ViewBreadcrumb" class="mb-8">
<h1 class="text-lg text-center font-light relative px-7">
<!-- Back -->
<a href="contact-list.html" class="text-lg text-center px-2 py-1 absolute -left-2 -top-1"><i class="fa-solid fa-chevron-left fa-fw"></i></a>
<!-- Context Menu -->
<a href="" class="text-lg text-center px-2 py-1 absolute -right-2 -top-1"><i class="fa-solid fa-ellipsis-vertical fa-fw"></i></a>
View Contact
</h1>
</div>
<!-- Contact Details -->
<div class="bg-slate-100 rounded-md overflow-hidden px-4 py-3 mb-2">
<div>
<h2 class="text-xl font-semibold"><i class="fa-solid fa-user fa-fw text-slate-400"></i> User One</h2>
<div class="text-sm overflow-hidden truncate">did:ethr:0x000Ee5654b9742f6Fe18ea970e32b97ee2247B51</div>
</div>
</div>
<!-- Give / Record Time -->
<!-- <h3 class="text-sm uppercase font-semibold mb-3">Time Actions</h3> -->
<div class="grid grid-cols-2 gap-2 mb-8">
<a href="contact-transact-time.html" class="block text-center text-md font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md">Give</a>
<a href="contact-transact-time.html" class="block text-center text-md font-bold uppercase bg-blue-600 text-white px-2 py-3 rounded-md">Record Given</a>
</div>
<!-- Time Totals -->
<div class="bg-slate-100 rounded-md text-center px-4 py-3 mb-4">
<h3 class="text-sm uppercase font-semibold mb-2">Transaction Totals</h3>
<div class="grid grid-cols-2 gap-2">
<div>
<h4 class="text-xs uppercase">Total Time</h4>
<p class="text-md font-semibold">
<!-- Given -->
<span class="whitespace-nowrap"><i class="fa-solid fa-right-from-bracket fa-rotate-270 text-sm text-slate-400"></i> 8,888</span>
<!-- Received -->
<span class="whitespace-nowrap ml-1"><i class="fa-solid fa-right-to-bracket fa-rotate-90 text-sm text-slate-400"></i> 888</span>
</p>
</div>
<div>
<h4 class="text-xs uppercase">Unconfirmed</h4>
<p class="text-md font-semibold">
<!-- Given -->
<span class="whitespace-nowrap"><i class="fa-solid fa-right-from-bracket fa-rotate-270 text-sm text-slate-400"></i> 88</span>
<!-- Received -->
<span class="whitespace-nowrap ml-1"><i class="fa-solid fa-right-to-bracket fa-rotate-90 text-sm text-slate-400"></i> 8</span>
</p>
</div>
</div>
</div>
<!-- Commitments -->
<div class="bg-slate-100 px-4 py-3 mb-6 rounded-md">
<h3 class="text-sm uppercase font-semibold mb-3">Transaction History</h3>
<ul class="text-sm border-t border-slate-300">
<li class="flex justify-between gap-4 py-1.5 border-b border-slate-300">
<span>8888-88-88 88:88</span>
<span><i class="fa-solid fa-right-from-bracket fa-rotate-270 text-slate-400"></i> 4h <i class="fa-solid fa-spinner fa-fw text-slate-400"></i></span>
</li>
<li class="flex justify-between gap-4 py-1.5 border-b border-slate-300">
<span>8888-88-88 88:88</span>
<span><a href="" class="font-bold uppercase bg-blue-600 text-white px-2 py-1 mr-2 rounded-md">Confirm</a> <i class="fa-solid fa-right-to-bracket fa-rotate-90 text-blue-600"></i> 0.5h <i class="fa-solid fa-spinner fa-fw text-slate-400"></i></span>
</li>
<li class="flex justify-between gap-4 py-1.5 border-b border-slate-300">
<span>8888-88-88 88:88</span>
<span><i class="fa-solid fa-right-from-bracket fa-rotate-270 text-slate-400"></i> 4h <i class="fa-solid fa-circle-check fa-fw text-lime-500"></i></span>
</li>
<li class="flex justify-between gap-4 py-1.5 border-b border-slate-300">
<span>8888-88-88 88:88</span>
<span><i class="fa-solid fa-right-to-bracket fa-rotate-90 text-blue-600"></i> 2.5h <i class="fa-solid fa-circle-check fa-fw text-lime-500"></i></span>
</li>
</ul>
</div>
<h3 class="text-sm uppercase font-semibold mb-3">Contact Options</h3>
<label for="toggleIsVisible" class="flex items-center cursor-pointer mb-4">
<!-- toggle -->
<div class="relative">
<!-- input -->
<input type="checkbox" id="toggleIsVisible" class="sr-only">
<!-- line -->
<div class="block bg-slate-500 w-14 h-8 rounded-full"></div>
<!-- dot -->
<div class="dot absolute left-1 top-1 bg-slate-400 w-6 h-6 rounded-full transition"></div>
</div>
<!-- label -->
<div class="ml-2">
User can see my activity
</div>
</label>
<a href="contact-edit.html" class="block w-full text-center text-md uppercase bg-slate-500 text-white px-1.5 py-2 rounded-md mb-2">Edit Contact</a>
<button type="button" class="block w-full text-center text-md uppercase bg-red-600 text-white px-1.5 py-2 rounded-md mb-2">Remove Contact</button>
</section>
</body>
</html>