blob: a9a3f6417ace39c0ffa70e644ab426d8a356b545 (
plain) (
blame)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
|
<!DOCTYPE html>
<html lang="nl">
<head>
<meta charset="UTF-8">
<title>Student Login – Studirect</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
body {
background-color: #f4f5f7;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
margin: 0;
}
.login-container {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
padding: 1rem;
}
.login-box {
background-color: #ffffff;
padding: 2rem 2.5rem;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
width: 100%;
max-width: 450px;
}
.login-box h2 {
text-align: center;
margin-bottom: 1.5rem;
font-size: 1.6rem;
color: #172b4d;
}
form label {
display: block;
margin-top: 1rem;
font-weight: 500;
color: #091e42;
}
form input {
width: 100%;
padding: 0.7rem;
margin-top: 0.5rem;
border: 1px solid #dfe1e6;
border-radius: 8px;
font-size: 1rem;
background-color: #f9fafc;
transition: border 0.2s;
}
form input:focus {
border-color: #0052cc;
outline: none;
background-color: #ffffff;
}
.submit-btn {
margin-top: 2rem;
width: 100%;
padding: 0.8rem;
background-color: #0052cc;
color: white;
border: none;
border-radius: 8px;
font-size: 1rem;
font-weight: 600;
cursor: pointer;
transition: background 0.2s;
}
.submit-btn:hover {
background-color: #0747a6;
}
.alert {
background-color: #ffebe6;
color: #bf2600;
padding: 0.75rem 1rem;
margin-top: 1rem;
border-radius: 6px;
font-size: 0.9rem;
}
.link-group {
text-align: center;
margin-top: 1.5rem;
font-size: 0.9rem;
}
.link-group a {
color: #0052cc;
text-decoration: none;
}
.link-group a:hover {
text-decoration: underline;
}
.alert.success {
background-color: #e3fcef;
color: #006644;
padding: 0.75rem 1rem;
margin-top: 1rem;
border-radius: 6px;
font-size: 0.9rem;
}
</style>
</head>
<body>
<div class="login-container">
<div class="login-box">
<h2>StuDirect Login</h2>
@if (session('status'))
<div class="alert success">{{ session('status') }}</div>
@endif
@if (session('error'))
<div class="alert">{{ session('error') }}</div>
@endif
@if ($errors->any())
<div class="alert">
<ul style="margin: 0; padding-left: 1rem;">
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
@endif
<form method="POST" action="{{ route('login.login') }}">
@csrf
<label for="email">E-mail</label>
<input type="email" name="email" id="email" value="{{ old('email') }}" placeholder="john.doe@student.ehb.be" required>
<label for="password">Wachtwoord</label>
<input type="password" name="password" id="password" placeholder="••••••••" required>
<button type="submit" class="submit-btn">Log In</button>
</form>
<div class="link-group">
<a href="{{ route('student.password.request') }}">Wachtwoord vergeten?</a><br>
<span>Nog geen account? <a href="{{ route('student.register.form') }}">Registreer Nu</a></span>
</div>
</div>
</div>
</body>
</html>
|