aboutsummaryrefslogtreecommitdiffstats
path: root/config/config.sample.json
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2020-04-03 15:13:41 -0700
committerAdam Soltys <[email protected]>2020-04-03 15:13:41 -0700
commitf324b72f007a72d25976a066f1f201b75990993f (patch)
treee1bf48fc01610ce635b7dc04a5b5c451216238ea /config/config.sample.json
parent8d15c4e724a65347a999f31486f72bdbd9d38812 (diff)
downloadcoinos-server-f324b72f007a72d25976a066f1f201b75990993f.tar.gz
coinos-server-f324b72f007a72d25976a066f1f201b75990993f.zip
return fee rate with estimate
Diffstat (limited to 'config/config.sample.json')
0 files changed, 0 insertions, 0 deletions
ssword' href='/coinos-ui.git/commit/src/routes/(app)/forgot/+page.svelte?h=welcome-page&id=00e88944abb529d07e189f1181de8a4804f8ae9c'>00e88944 ^
8940118d ^

































00e88944 ^


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
        

                                       




























                                                                                         


                                                                                 

              

































                                                                                                          


          
<script>
  import { focus } from "$lib/utils";
  import { enhance } from "$app/forms";
  import { t } from "$lib/translations";
  import Icon from "$comp/Icon.svelte";
  import Spinner from "$comp/Spinner.svelte";
  import { fly } from "svelte/transition";

  export let form;
  let email;
  let loading;
</script>

<div class="pt-10">
  <div class="w-[243px] mx-auto mb-10">
    <a href="/">
      <Icon icon="logo" />
    </a>
  </div>

  <div class="flex justify-center items-center">
    <div
      class="shadow-xl rounded-3xl p-10 pb-12 space-y-5 w-full mx-5 md:mx-0 md:w-[400px]"
    >
      <h1 class="text-2xl font-bold text-center">{$t("login.reset")}</h1>

      {#if form?.error}
        <div class="text-red-600 text-center" in:fly>
          {form.error}
        </div>
      {/if}

      {#if form?.success}
        <div class="text-secondary">
          A password reset link will be sent to your email if we have it on file.
        </div>

        <div class="flex w-full">
          <a
            href="/login"
            class="bg-black text-white w-full rounded-2xl p-4 font-semibold hover:opacity-80 text-center">
            Continue
          </a>
        </div>
      {:else}
        <form class="space-y-5" method="POST" use:enhance>
          <div>
            <label for="email" class="font-semibold">{$t("login.email")}</label>
            <input
              name="email"
              type="text"
              required
              class="bg-primary"
              bind:value={email}
              use:focus
              autocapitalize="none"
            />
          </div>

          <button
            type="submit"
            class="bg-black text-white w-full rounded-2xl p-4 font-semibold hover:opacity-80"
            disabled={loading}>
            {#if loading}
              <Spinner />
            {:else}
              {$t("login.submit")}
            {/if}
          </button>
        </form>
      {/if}
    </div>
  </div>
</div>