diff options
author | vantezzen <properly@protonmail.com> | 2019-09-04 09:59:25 +0200 |
---|---|---|
committer | vantezzen <properly@protonmail.com> | 2019-09-04 09:59:25 +0200 |
commit | ea03e3766efffeb5e6b9bb90f566e64bf44640f3 (patch) | |
tree | 36f52de9554a08456949cc4a7fa5b40adc84ca94 /resources/views/dashboard/login.edge | |
parent | Better response when recipe creation is disabled (diff) | |
download | ferdium-server-ea03e3766efffeb5e6b9bb90f566e64bf44640f3.tar.gz ferdium-server-ea03e3766efffeb5e6b9bb90f566e64bf44640f3.tar.zst ferdium-server-ea03e3766efffeb5e6b9bb90f566e64bf44640f3.zip |
Add user dashboard
Diffstat (limited to 'resources/views/dashboard/login.edge')
-rw-r--r-- | resources/views/dashboard/login.edge | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/resources/views/dashboard/login.edge b/resources/views/dashboard/login.edge new file mode 100644 index 0000000..58e97ba --- /dev/null +++ b/resources/views/dashboard/login.edge | |||
@@ -0,0 +1,42 @@ | |||
1 | @layout('layouts.main') | ||
2 | |||
3 | @section('content') | ||
4 | <h2>Login</h2> | ||
5 | @if(flashMessage('error')) | ||
6 | <div class="alert"> | ||
7 | {{ flashMessage('error') }} | ||
8 | </div> | ||
9 | @endif | ||
10 | @if(old('message')) | ||
11 | <div class="alert"> | ||
12 | {{ old('message') }} | ||
13 | </div> | ||
14 | @endif | ||
15 | <form action="/user/login" method="POST"> | ||
16 | {{ csrfField() }} | ||
17 | <div> | ||
18 | <label>E-Mail</label> | ||
19 | <div> | ||
20 | <input type="email" value="{{ old('mail', '') }}" placeholder="E-Mail" name="mail"> | ||
21 | </div> | ||
22 | </div> | ||
23 | <div> | ||
24 | <label>Password</label> | ||
25 | <div> | ||
26 | <input type="password" placeholder="*********" name="password"> | ||
27 | </div> | ||
28 | </div> | ||
29 | <div> | ||
30 | <button>Login</button> | ||
31 | By logging in, you accept the <a href="/terms">Terms of Service</a> and <a href="/privacy">Privacy policy</a>. | ||
32 | |||
33 | </div> | ||
34 | <div> | ||
35 | <p>Not a member yet? Register in the Ferdi app or <a href="../import">import your Franz account</a>.</p> | ||
36 | </div> | ||
37 | </form> | ||
38 | <br /> | ||
39 | |||
40 | </div> | ||
41 | |||
42 | @endsection \ No newline at end of file | ||