analytics + login ux updates
ci.vdhsn.com/push Build is failing
Details
ci.vdhsn.com/push Build is failing
Details
parent
4ab08d20b8
commit
abb8e565cd
@ -1,43 +0,0 @@
|
||||
<script lang="ts">
|
||||
let showPassword = false;
|
||||
let showRegistration = false;
|
||||
|
||||
const revealPass = () => (showPassword = !showPassword);
|
||||
|
||||
function execLogin() {
|
||||
console.log('LOGGING IN');
|
||||
}
|
||||
</script>
|
||||
|
||||
<form class="flex" on:submit|preventDefault={execLogin}>
|
||||
<span class="flex flex-col justify-around w-20">
|
||||
<label for="email"> Email </label>
|
||||
<label for="password"> Password </label>
|
||||
</span>
|
||||
|
||||
<span class="flex flex-col">
|
||||
<span class="flex">
|
||||
<input class="py-1" type="text" />
|
||||
<button class="w-20"> Login </button>
|
||||
</span>
|
||||
<span class="flex">
|
||||
<input
|
||||
class="px-2 py-1 border-r-0"
|
||||
name="password"
|
||||
on:blur={() => (showPassword = false)}
|
||||
type={showPassword ? 'text' : 'password'}
|
||||
/>
|
||||
{#if showRegistration}
|
||||
<input
|
||||
class="px-2 py-1 border-r-0"
|
||||
name="confirm_password"
|
||||
on:blur={() => (showPassword = false)}
|
||||
type={showPassword ? 'text' : 'password'}
|
||||
/>
|
||||
{/if}
|
||||
<button class="border-l-0 px-2 py-1 w-16" on:click|stopPropagation={revealPass}>
|
||||
{showPassword ? 'Hide' : 'Show'}
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
</form>
|
@ -1,44 +0,0 @@
|
||||
<script lang="ts">
|
||||
let password;
|
||||
let confirm_password;
|
||||
let email;
|
||||
|
||||
let showPassword = false;
|
||||
|
||||
const revealPass = () => (showPassword = !showPassword);
|
||||
|
||||
function execRegister() {
|
||||
console.log('Regstering User');
|
||||
}
|
||||
</script>
|
||||
|
||||
<form class="flex" on:submit|preventDefault={execRegister}>
|
||||
<span class="flex flex-col justify-around w-20">
|
||||
<label for="email"> Email </label>
|
||||
<label for="password"> Password </label>
|
||||
</span>
|
||||
|
||||
<span class="flex flex-col">
|
||||
<span class="flex">
|
||||
<input class="py-1" type="text" />
|
||||
<button class="w-20"> Login </button>
|
||||
</span>
|
||||
<span class="flex">
|
||||
<input
|
||||
class="px-2 py-1 border-r-0"
|
||||
name="password"
|
||||
on:blur={() => (showPassword = false)}
|
||||
type={showPassword ? 'text' : 'password'}
|
||||
/>
|
||||
<input
|
||||
class="px-2 py-1 border-r-0"
|
||||
name="confirm_password"
|
||||
on:blur={() => (showPassword = false)}
|
||||
type={showPassword ? 'text' : 'password'}
|
||||
/>
|
||||
<button class="border-l-0 px-2 py-1 w-16" on:click|stopPropagation={revealPass}>
|
||||
{showPassword ? 'Hide' : 'Show'}
|
||||
</button>
|
||||
</span>
|
||||
</span>
|
||||
</form>
|
Loading…
Reference in new issue