|
4 | 4 | {% block title %}phpList - Login{% endblock %} |
5 | 5 |
|
6 | 6 | {% block body %} |
7 | | - <div class="login-container"> |
8 | | - <h1>Sign in to phpList</h1> |
| 7 | + <div class="bg-light"> |
| 8 | + <div class="min-vh-100 d-flex flex-column align-items-center justify-content-center"> |
| 9 | + <div class="d-flex align-items-center mb-3"> |
| 10 | + <img src="{{ asset('/favicon-48.png') }}" alt="phpList icon" width="40" height="40" class="me-2 mr-2"/> |
| 11 | + <h1 class="fs-4 fw-bold mb-0"> |
| 12 | + phpList <span class="text-primary">4</span> |
| 13 | + </h1> |
| 14 | + </div> |
| 15 | + <div class="container"> |
| 16 | + <div class="row justify-content-center"> |
| 17 | + <div class="col-md-10 col-lg-8 col-xl-5"> |
| 18 | + <div class="card shadow-lg border-0" style="border-radius: 1rem;"> |
| 19 | + <div class="card-body p-4 p-md-5"> |
9 | 20 |
|
10 | | - {% if error %} |
11 | | - <div class="alert alert-danger">{{ error }}</div> |
12 | | - {% endif %} |
| 21 | + <!-- Heading --> |
| 22 | + <h4 class="fs-5 fw-bold mb-1">Sign in to your account</h4> |
| 23 | + <p class="text-muted small mb-3"> |
| 24 | + Enter your credentials to access your dashboard. |
| 25 | + </p> |
13 | 26 |
|
14 | | - <form method="post"> |
15 | | - <div class="form-group"> |
16 | | - <label for="username">Username</label> |
17 | | - <input type="text" id="username" name="username" class="form-control" required autofocus> |
18 | | - </div> |
| 27 | + {% if error %} |
| 28 | + <div class="alert alert-danger">{{ error }}</div> |
| 29 | + {% endif %} |
19 | 30 |
|
20 | | - <div class="form-group"> |
21 | | - <label for="password">Password</label> |
22 | | - <input type="password" id="password" name="password" class="form-control" required> |
23 | | - </div> |
| 31 | + <form method="post"> |
| 32 | + <div class="mb-3"> |
| 33 | + <label for="username" class="form-label small fw-semibold">Login</label> |
| 34 | + <div class="input-group"> |
| 35 | + <input type="text" class="form-control border-start-0" name="username" id="username" required autofocus/> |
| 36 | + </div> |
| 37 | + </div> |
| 38 | + |
| 39 | + <div class="mb-2"> |
| 40 | + <div class="d-flex justify-content-between align-items-center"> |
| 41 | + <label for="password" class="form-label small fw-semibold mb-1">Password</label> |
| 42 | + <a href="#" class="small text-decoration-none">Forgot password?</a> |
| 43 | + </div> |
| 44 | + <div class="input-group"> |
| 45 | + <input type="password" class="form-control border-start-0" id="password" name="password" required/> |
| 46 | + </div> |
| 47 | + </div> |
24 | 48 |
|
25 | | - <button type="submit" class="btn btn-primary btn-block">Sign in</button> |
26 | | - </form> |
| 49 | + <div class="d-grid mb-2 mt-4"> |
| 50 | + <button type="submit" class="btn btn-primary fw-semibold w-100"> |
| 51 | + Sign In |
| 52 | + </button> |
| 53 | + </div> |
| 54 | + |
| 55 | + <p class="text-center text-muted small mb-0"> |
| 56 | + Access is restricted to authorised administrators only. |
| 57 | + </p> |
| 58 | + </form> |
| 59 | + </div> |
| 60 | + |
| 61 | + <div class="card-footer bg-white border-0 text-center py-3" style="border-radius: 1rem;"> |
| 62 | + <div class="small text-muted"> |
| 63 | + <a href="#" class="text-muted text-decoration-none me-2">Documentation</a> |
| 64 | + <span class="text-muted">·</span> |
| 65 | + <a href="#" class="text-muted text-decoration-none mx-2">Support Forum</a> |
| 66 | + <span class="text-muted">·</span> |
| 67 | + <span class="ms-2">phpList v4.0.0-rc1</span> |
| 68 | + </div> |
| 69 | + </div> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + </div> |
| 73 | + </div> |
| 74 | + </div> |
27 | 75 | </div> |
28 | | - <div id="vue-app"></div> |
| 76 | + |
| 77 | +{# <div id="vue-app"></div>#} |
29 | 78 | {% endblock %} |
0 commit comments