-
Notifications
You must be signed in to change notification settings - Fork 1
/
list.html
115 lines (110 loc) · 5.76 KB
/
list.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>JiaBeng</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" integrity="sha384-PsH8R72JQ3SOdhVi3uxftmaW6Vc51MKb0q5P2rRUpPvrszuE4W1povHYgTpBfshb" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css" type="text/css">
</head>
<body>
<!-- header start-->
<header>
<div class="pos-f-t d-block d-lg-none d-flex justify-content-around"> <!-- <992px magnifier show up(小於992px,只有放大鏡) -->
<div><a href="welcome.html"><img class="site-logo" src="img/favicon_64x64.svg" alt="JiaBeng's logo"></a></div>
<h1 class="site-sm-title text-center">
<div class="d-flex flex-column">
<a href="list.html">JiaBeng</a>
<a href="list.html">來呷飯吧</a>
</div>
</h1>
<div class="text-right"> <!-- button of magnifier and it's action (放大鏡的按鈕及其功能) -->
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarToggleExternalContent" aria-controls="navbarToggleExternalContent" aria-expanded="false" aria-label="Toggle navigation">
<i class="fa fa-search" aria-hidden="true"></i>
</button>
</div>
</div>
<div class="collapse" id="navbarToggleExternalContent"> <!-- collapse of the search bar (放大鏡按了之後多出來的空間)-->
<div class="p-5">
<div class="row">
<div class="input-group"> <!-- search input in the magnifier(use BS4)(空間內的search欄) -->
<input type="text" class="form-control" placeholder="ex:McDonald,..." aria-label="Search for...">
<span class="input-group-btn">
<button class="btn btn-secondary" type="button">Search</button> <!-- search button -->
</span>
</div>
</div>
</div>
</div>
<div class="d-none d-lg-block"> <!-- >=992px, search input(use BS4) show up (>=992px,search欄出現) -->
<div class="d-flex justify-content-around"> <!-- bootstrap's flexbox -->
<a href="list.html"><img class="logo" src="img/favicon_64x64.svg" alt="jiabeng"></a> <!-- Mono miao -->
<h1 class="site-title text-center"><a href="list.html">Jiabeng</a></h1> <!-- website's title, using h1 tag for SEO -->
<div class="row d-lg-block">
<div class="input-group">
<input type="text" class="form-control" placeholder="ex:McDonald,..." aria-label="Search for...">
<span class="input-group-btn">
<button class="btn btn-secondary" type="button">Search</button>
</span>
</div>
</div>
<!-- <i class="fa fa-search search-icon" aria-hidden="true"></i> --> <!-- magnifier for search, using the font aswsome -->
</div>
</div>
</header>
<!-- header end-->
<!-- container start -->
<div class="container">
<div class="row" > <!-- using the grid system with bootstrap -->
<!--lower th id="storeList"an 768 pixels, the column the change from 3 column to 1 column -->
<div class="col-sm-12 col-md-6 col-lg-4 restaurant-choose-list" >
<ul id="storeList">
<li class="text-center d-flex flex-column" >
<a href="confirm.html">Mcdonald</a>
<span>"輸入便當店"</span>
<span>"輸入種類"</span>
<div>
<span>營業時間:</span>
<span>"輸入營業時間"</span>
</div>
</li>
</ul>
</div>
</div>
</div>
<script src="https://www.gstatic.com/firebasejs/4.8.1/firebase.js"></script>
<script>
// Initialize Firebase
var config = {
apiKey: "AIzaSyDawS0j0ZCjPMowGc2iPj_cyG1-Gahqd5o",
authDomain: "jiabeng-d02cb.firebaseapp.com",
databaseURL: "https://jiabeng-d02cb.firebaseio.com",
projectId: "jiabeng-d02cb",
storageBucket: "jiabeng-d02cb.appspot.com",
messagingSenderId: "506912575380"
};
firebase.initializeApp(config);
</script>
<script src="js/list.js"></script>
<script src="https://use.fontawesome.com/0b98b394ed.js"></script> <!-- import font awesome -->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" integrity="sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" integrity="sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ" crossorigin="anonymous"></script>
</body>
<style>
ul li{
margin-top: 30px;
}
.check{
text-align: center;
line-height: 100px;
color: red;
font-size: 24px;
font-weight: 800;
}
a:hover{
text-decoration: none;
}
</style>
</html>