Spaces:
Sleeping
Sleeping
Update templates/login.html
Browse files- templates/login.html +0 -98
templates/login.html
CHANGED
@@ -5,97 +5,6 @@
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Login - Restaurant</title>
|
7 |
<link rel="stylesheet" href="/static/styles.css">
|
8 |
-
<style>
|
9 |
-
body {
|
10 |
-
font-family: 'Arial', sans-serif;
|
11 |
-
background: linear-gradient(135deg, #66bb6a, #388e3c); /* Green gradient */
|
12 |
-
display: flex;
|
13 |
-
justify-content: center;
|
14 |
-
align-items: center;
|
15 |
-
height: 100vh;
|
16 |
-
margin: 0;
|
17 |
-
}
|
18 |
-
.login-container {
|
19 |
-
background-color: #ffffff;
|
20 |
-
padding: 40px;
|
21 |
-
border-radius: 20px;
|
22 |
-
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
|
23 |
-
width: 100%;
|
24 |
-
max-width: 400px;
|
25 |
-
text-align: center;
|
26 |
-
}
|
27 |
-
.login-container h1 {
|
28 |
-
font-size: 30px;
|
29 |
-
color: #388e3c; /* Dark green */
|
30 |
-
margin-bottom: 20px;
|
31 |
-
font-family: 'Courier New', Courier, monospace;
|
32 |
-
}
|
33 |
-
.input-group {
|
34 |
-
margin: 15px 0;
|
35 |
-
width: 100%;
|
36 |
-
}
|
37 |
-
.input-group input {
|
38 |
-
width: 100%;
|
39 |
-
padding: 12px;
|
40 |
-
font-size: 16px;
|
41 |
-
border-radius: 25px;
|
42 |
-
border: 1px solid #ccc;
|
43 |
-
background-color: #f1f8e9; /* Light green background */
|
44 |
-
outline: none;
|
45 |
-
text-align: center;
|
46 |
-
}
|
47 |
-
.input-group input:focus {
|
48 |
-
border-color: #388e3c; /* Dark green on focus */
|
49 |
-
}
|
50 |
-
button {
|
51 |
-
width: 100%;
|
52 |
-
padding: 14px;
|
53 |
-
font-size: 16px;
|
54 |
-
border-radius: 30px;
|
55 |
-
background: linear-gradient(135deg, #66bb6a, #388e3c); /* Green gradient button */
|
56 |
-
color: white;
|
57 |
-
border: none;
|
58 |
-
cursor: pointer;
|
59 |
-
transition: background-color 0.3s ease;
|
60 |
-
}
|
61 |
-
button:hover {
|
62 |
-
background: linear-gradient(135deg, #388e3c, #66bb6a); /* Darker green on hover */
|
63 |
-
}
|
64 |
-
.forgot-link {
|
65 |
-
font-size: 12px;
|
66 |
-
color: #388e3c;
|
67 |
-
text-decoration: none;
|
68 |
-
margin-top: 10px;
|
69 |
-
}
|
70 |
-
.forgot-link:hover {
|
71 |
-
text-decoration: underline;
|
72 |
-
}
|
73 |
-
.register-link {
|
74 |
-
margin-top: 15px;
|
75 |
-
font-size: 12px;
|
76 |
-
color: #388e3c;
|
77 |
-
}
|
78 |
-
.register-link a {
|
79 |
-
color: #388e3c;
|
80 |
-
text-decoration: none;
|
81 |
-
}
|
82 |
-
.register-link a:hover {
|
83 |
-
text-decoration: underline;
|
84 |
-
}
|
85 |
-
|
86 |
-
/* Error message style */
|
87 |
-
.error-message {
|
88 |
-
color: red;
|
89 |
-
font-size: 14px;
|
90 |
-
margin-top: 10px;
|
91 |
-
text-align: center;
|
92 |
-
}
|
93 |
-
|
94 |
-
.emoji {
|
95 |
-
font-size: 30px;
|
96 |
-
padding: 10px;
|
97 |
-
}
|
98 |
-
</style>
|
99 |
</head>
|
100 |
<body>
|
101 |
|
@@ -123,13 +32,6 @@
|
|
123 |
<p>Don't have an account? <a href="/register">Register Now</a></p>
|
124 |
</div>
|
125 |
|
126 |
-
<!-- Fun emojis for a restaurant feel -->
|
127 |
-
<div class="emoji">
|
128 |
-
<span>🍔</span>
|
129 |
-
<span>🍕</span>
|
130 |
-
<span>🍣</span>
|
131 |
-
<span>🍩</span>
|
132 |
-
</div>
|
133 |
</div>
|
134 |
|
135 |
</body>
|
|
|
5 |
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
<title>Login - Restaurant</title>
|
7 |
<link rel="stylesheet" href="/static/styles.css">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
</head>
|
9 |
<body>
|
10 |
|
|
|
32 |
<p>Don't have an account? <a href="/register">Register Now</a></p>
|
33 |
</div>
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
</div>
|
36 |
|
37 |
</body>
|