-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
210 lines (205 loc) · 7.36 KB
/
index.html
File metadata and controls
210 lines (205 loc) · 7.36 KB
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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Header</title>
<style>
button:hover {
opacity: 0.8;}
.cancelbtn {
width: auto;
padding: 10px 18px;
background-color: #f44336;
}
.imgcontainer {
text-align: center;
margin: 24px 0 12px 0;
position: relative;
}
.container {
padding: 16px;
}
span.psw {
float: right;
padding-top: 16px;
}
.modal {
display: none;
position: fixed;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgb(0,0,0);
background-color: rgba(0,0,0,0.4);
}
.modal-content {
background-color: rgba(255, 255, 255, 0.8);
margin: 5% auto 15% auto;
border: 1px solid #888;
width: 80%;
}
.close {
position: absolute;
right: 25px;
top: 0;
color: #000;
font-size: 35px;
font-weight: bold;
}
.close:hover,
.close:focus {
color: red;
cursor: pointer;
}
.animate {
-webkit-animation: animatezoom 0.6s;
animation: animatezoom 0.6s
}
@keyframes animatezoom {
from {transform: scale(0)}
to {transform: scale(1)}
}
@-webkit-keyframes animatezoom {
from {-webkit-transform: scale(0)}
to {-webkit-transform: scale(1)}
}
@media screen and (max-width: 300px) {
span.psw {
display: block;
float: none;
}
.cancelbtn {
width: 100%;
}
}
#main{
background-image:url(IMG_0828.JPG);
background-attachment:fixed;
background-size: 100% 100%;
margin: 0 auto !important;
padding: 90px 110px !important;
z-index:2;
min-height: 595px;
}
</style>
<link rel="stylesheet" href="header.css">
<link rel="stylesheet" href="footer.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<div id="id01" class="modal">
<form class="modal-content animate" action="/action_page.php" method="post">
<div class="imgcontainer">
<span onclick="document.getElementById('id01').style.display='none'" class="close" title="Close Modal">×</span>
</div>
<div class="container">
<label for="uname"><b>Tên đăng nhập</b></label>
<input type="text" placeholder="Nhập tên đăng nhập" name="uname" required>
<label for="psw"><b>Mật khẩu</b></label>
<input type="password" placeholder="Nhập mật khẩu" name="psw" required>
<button type="submit">Đăng nhập</button>
<label>
<input type="checkbox" checked="checked" name="remember"> Remember me
</label>
</div>
<div class="container" style="background-color: rgba(255, 255, 255, 0.8);">
<button type="button" onclick="document.getElementById('id01').style.display='none'" class="cancelbtn">Hủy</button>
<span class="psw">Forgot <a href="#">password?</a></span>
</div>
</form>
</div>
<script>
var modal = document.getElementById('id01');
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<div id="id02" class="modal">
<form class="modal-content animate" action="/action_page.php" method="post">
<div class="imgcontainer">
<span onclick="document.getElementById('id02').style.display='none'" class="close" title="Close Modal">×</span>
</div>
<div class="container">
<label for="uname"><b>Tên đăng kí</b></label>
<input type="text" placeholder="Nhập tên cần đăng kí" name="uname" required>
<label for="psw"><b>Mật khẩu đăng kí</b></label>
<input type="password" placeholder="Nhập mật khẩu cần đăng kí" name="psw" required>
<button type="submit">Đăng kí!</button>
<label>
<input type="checkbox" checked="checked" name="remember"> Check
</label>
</div>
</form>
</div>
<script>
var modal = document.getElementById('id02');
window.onclick = function(event) {
if (event.target == modal) {
modal.style.display = "none";
}
}
</script>
<section id="header">
<div id="logo">
<a href="#"><img src="logo.png" alt=""></a>
</div>
<div class="header-top">
<div id="searchform" class="clearfix">
<div class="item" id="register">
<a onclick="document.getElementById('id01').style.display='block'" href="#">Đăng nhập </a>
<a onclick="document.getElementById('id02').style.display='block'" href="#"> Đăng ký </a>
</div>
<div class="item">
<input class="search_textbox" type="text" value="Search">
<div class="search_button">
<a href="#"><img src="searchbtn.png" alt=""></a>
</div>
</div>
</div>
<div id="menu" class="clearfix">
<ul>
<li><a href="home.html">Trang chủ</a></li>
<li><a href="Order.html">Đặt hàng online</a></li>
<li><a href="menu.html">Thực đơn</a></li>
<li><a href="#">Khuyến mãi</a></li>
<li><a class="menu-active" href="header-footer.html">Giới thiệu</a></li>
<li><a href="#">Liên hệ</a></li>
<li><a href="#">Tuyển dụng</a></li>
<li class="cartimg" ><img src="img/header/cart.png" alt=""></li>
</ul>
</div>
<div id="flag">
<a href="#"><img src="vi.png" alt="VN" title="Vietnamese"></a>
<a href="#"><img src="uk.png" alt="UK" title="English"></a>
<a href="#"><img src="kor.png" alt="Kr" title="Korean"></a>
<a href="#"><img src="ja.png" alt="Jp" title="Japanese"></a>
</div>
</div>
</section>
<section id=main>
</section>
<section id=footer>
<div class="footer-left">
<ul>
<li style="color: white; text-align: center;" class="item">@ The Al Fresco's Group 2019  </li>
<li class="item"><a class="icon_face" href="#"> <i class="fa fa-youtube-play"></i></a></li>
<li class="item"><a class="icon_youtube" href="#"> <i class="fa fa-facebook"></i></a></li>
<li class="item"><a class="icon_app" href="#"> <i class="fa fa-archive"></i></a></li>
</ul>
</div>
<div class="footer-right">
<ul>
<li> <a href="#">Sơ đồ site</a> </li>
<li> <a href="#">Nhượng quyền</a> </li>
<li> <a href="#">Chính sách bảo mật</a> </li>
<li> <a href="#">Điều kiện sử dụng</a> </li>
<li> <a href="#">Head office</a> </li>
</ul>
</div>
</section>
</body>
</html>