This commit is contained in:
timurgordon
2022-10-25 19:55:09 +03:00
parent 7359e82d58
commit faaf987143
508 changed files with 140 additions and 163 deletions

56
templates/exists.html Normal file
View File

@@ -0,0 +1,56 @@
<form hx-post="/register" class="mt-3 sm:flex flex-col">
<div>
<div class="md:flex">
<div class="flex-col md:mr-2">
<label for="name" class="block text-sm font-medium leading-5 text-gray-700">Name</label>
<input id="name" name="name" aria-label="Name" class="appearance-none block w-full mt-1 px-3 py-3 border border-gray-300 text-base leading-6 rounded-md placeholder-gray-500 shadow-sm focus:outline-none focus:placeholder-gray-400 focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:flex-1" placeholder="Name Surname" />
</div>
<div class="md:ml-2">
<label for="company_website" class="block text-sm font-medium leading-5 text-gray-700">Organization Website</label>
<div class="mt-1 relative rounded-md shadow-sm">
<div class="absolute inset-y-0 left-0 pl-3 flex items-center pointer-events-none">
<span class="text-gray-500 sm:text-base sm:leading-5">
http://
</span>
</div>
<input id="company_website" name="org_website" class="form-input pl-16 sm:pl-14 appearance-none block w-full px-3 py-3 border border-gray-300 text-base leading-6 rounded-md placeholder-gray-500 shadow-sm focus:outline-none focus:placeholder-gray-400 focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:flex-1" placeholder="www.example.com" />
</div>
</div>
</div>
</div>
<div class="mt-3 sm:flex">
<input aria-label="Email" name="email" class="appearance-none block w-full px-3 py-3 border border-gray-300 text-base leading-6 rounded-md placeholder-gray-500 shadow-sm focus:outline-none focus:placeholder-gray-400 focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:flex-1" placeholder="Enter your email" />
<button type="submit" class="mt-3 w-full px-6 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray active:bg-gray-900 transition duration-150 ease-in-out sm:mt-0 sm:ml-3 sm:flex-shrink-0 sm:inline-flex sm:items-center sm:w-auto">
Register
</button>
</div>
<div class="relative mt-4 flex">
<div class="flex items-center h-5">
<input id="settings-option-0" name="plus_one" type="checkbox" class="form-radio h-4 w-4 text-indigo-600 transition duration-150 ease-in-out cursor-pointer" />
</div>
<label for="settings-option-0" class="ml-3 flex flex-col cursor-pointer">
<!-- On: "text-indigo-900", Off: "text-gray-900" -->
<span class="block text-sm leading-5 font-normal">
I want to register a plus one to join the event.
</span>
</label>
</div>
<div class="relative mt-4 flex">
<div class="flex items-center h-5">
<input id="settings-option-1" name="receive_communication" type="checkbox" class="form-radio h-4 w-4 text-indigo-600 transition duration-150 ease-in-out cursor-pointer" checked />
</div>
<label for="settings-option-1" class="ml-3 flex flex-col cursor-pointer">
<!-- On: "text-indigo-900", Off: "text-gray-900" -->
<span class="block text-sm leading-5 font-normal">
I want to receive communication and e-mails about Ourworld.
</span>
</label>
</div>
<div class="relative pt-6 text-red-600 font-medium">
Email is already registered to event. Please try again.
</div>
</form>

View File

@@ -1,82 +1,6 @@
<html>
<head>
<link rel="stylesheet" type="text/css" href="/static/css/index.css" />
<script src="/static/htmx.min.js"></script>
</head>
<body>
<div style="background-image: url(/static/images/ruins_bg1.jpg)" class="relative h-full overflow-hidden bg-cover">
<div class="relative pt-6 pb-16 md:pb-20 lg:pb-24 xl:pb-32">
<nav class="relative max-w-screen-xl mx-auto flex items-center justify-between px-4 sm:px-6">
<div class="flex items-center flex-1">
<div class="flex items-center justify-between w-full md:w-auto">
<a href="#" aria-label="Home">
<img class="h-8 w-auto sm:h-10" src="https://tailwindui.com/img/logos/v1/workflow-mark-on-white.svg" alt="Logo" />
</a>
<div class="-mr-2 flex items-center md:hidden">
<button type="button" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out" id="main-menu" aria-label="Main menu" aria-haspopup="true">
<svg class="h-6 w-6" stroke="currentColor" fill="none" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
</svg>
</button>
</div>
</div>
<div class="hidden md:block md:ml-10">
<a href="#" class="font-medium text-gray-500 hover:text-gray-900 transition duration-150 ease-in-out">Product</a>
<a href="#" class="ml-10 font-medium text-gray-500 hover:text-gray-900 transition duration-150 ease-in-out">Features</a>
<a href="#" class="ml-10 font-medium text-gray-500 hover:text-gray-900 transition duration-150 ease-in-out">Marketplace</a>
<a href="#" class="ml-10 font-medium text-gray-500 hover:text-gray-900 transition duration-150 ease-in-out">Company</a>
</div>
</div>
<div class="hidden md:block text-right">
<span class="inline-flex rounded-md shadow-md">
<span class="inline-flex rounded-md shadow-xs">
<a href="#" class="inline-flex items-center px-4 py-2 border border-transparent text-base leading-6 font-medium rounded-md text-indigo-600 bg-white hover:bg-gray-50 focus:outline-none focus:border-indigo-300 focus:shadow-outline-indigo transition duration-150 ease-in-out">
Log in
</a>
</span>
</span>
</div>
</nav>
<!--
Mobile menu, show/hide based on menu open state.
Entering: "duration-150 ease-out"
From: "opacity-0 scale-95"
To: "opacity-100 scale-100"
Leaving: "duration-100 ease-in"
From: "opacity-100 scale-100"
To: "opacity-0 scale-95"
-->
<main class="mt-8 mx-auto max-w-screen-xl px-4 sm:mt-12 sm:px-6 md:mt-20 xl:mt-24">
<div class="lg:grid lg:grid-cols-12 lg:gap-8">
<div class="sm:text-center md:max-w-2xl md:mx-auto lg:col-span-6 bg-white p-4 lg:px-12 lg:py-8 rounded lg:text-left">
<h2 class="mt-1 text-4xl tracking-tight leading-10 font-extrabold text-gray-900 sm:leading-none sm:text-6xl lg:text-5xl xl:text-6xl">
Register for the
<br class="hidden md:inline" />
<span class="text-indigo-600">ICT 2022 Gala</span>
</h2>
<p class="mt-3 text-base text-gray-500 sm:mt-5 sm:text-xl lg:text-lg xl:text-xl">
Located at Mbweni Ruins, Jungle Paradise Resort - the ICT 2022 Gala dinner will bring together Africa's emerging leaders that shape the regenerative, inclusive and empowering digital future of Africa. </p>
<div class="mt-5 sm:max-w-lg sm:mx-auto sm:text-center lg:text-left lg:mx-0">
<form action="#" method="POST" class="mt-3 sm:flex">
<input aria-label="Email" class="appearance-none block w-full px-3 py-3 border border-gray-300 text-base leading-6 rounded-md placeholder-gray-500 shadow-sm focus:outline-none focus:placeholder-gray-400 focus:shadow-outline-blue focus:border-blue-300 transition duration-150 ease-in-out sm:flex-1" placeholder="Enter your email" />
<button type="submit" class="mt-3 w-full px-6 py-3 border border-transparent text-base leading-6 font-medium rounded-md text-white bg-gray-800 shadow-sm hover:bg-gray-700 focus:outline-none focus:border-gray-900 focus:shadow-outline-gray active:bg-gray-900 transition duration-150 ease-in-out sm:mt-0 sm:ml-3 sm:flex-shrink-0 sm:inline-flex sm:items-center sm:w-auto">
Register
</button>
</form>
<p class="mt-3 text-sm leading-5 text-gray-500">
We care about the protection of your data. Read our
<a href="#" class="font-medium text-gray-900 underline">Privacy Policy</a>.
</p>
</div>
</div>
</div>
</main>
</div>
<div class="relative pt-6 pb-8 text-green-600 font-medium">
Successfully registered to event!
</div>
</body>
</html>

View File

@@ -1,25 +1 @@
<div><div class="ticket_container">
<div>
<h1>Ourworld ICTC Event</h1>
<p>running rice valley hide speech roof accident full involved wide rather order good hidden horse home graph did model perhaps worry volume collect put</p>
</div>
<div>
<h2>Sponsors</h2>
<div></div>
</div>
<div class="flex">
<div>
<h2>Register</h2>
<p>dangerous shadow exclaimed stopped sale easy find add ago cold hard satisfied bent month sing frighten will flag shorter cage period doing successful husband</p>
</div>
<img src="qrs/qr_test" alt="QR Code">
</div>
<div>
</div>
</div>
</div>
<div></div>