-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
88 lines (82 loc) · 2.07 KB
/
index.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
<!doctype html>
<html>
<head>
<title>Napkn</title>
<link href="https://fonts.googleapis.com/css?family=Poppins&display=swap" rel="stylesheet">
<style type="text/css">
body, html {
margin: 0;
padding:0;
color:white;
font-family: 'Poppins', sans-serif;
text-align: center;
background: linear-gradient(to left, #feb645, #dc2430);
}
h1{
margin-bottom: 40px;
font-size: 100px;
}
h2{
margin-bottom: 10px;
margin-top: 10px;
}
ul {
list-style-type: none;
width:85%;
padding:0;
margin: auto;
display: block;
overflow: auto;
}
li {
text-align: center;
float:left;
padding: 0;
width:180px;
height:260px;
overflow: auto;
color:white;
box-shadow: 0px 0px 10px white;
margin: 20px 20px;
}
li.occupied{
background: rgba(0,0,255,0.15);
}
li:hover {
background: rgba(255,255,255,0.35);
}
#TableList {
margin-left: 180px;
}
</style>
<script src="https://www.gstatic.com/firebasejs/7.6.2/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.6.2/firebase-database.js"></script>
</head>
<body>
<h1>
<img style="max-height:100px; position: relative; top: 20px; left: 15px; color:white" src="napkn-icon.png"></img>
napkn
</h1>
<h2 id="TablesOpen">
tables open:
</h2>
<ul id = "TableList">
</ul>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "", // Secret API Key
authDomain: "napkn-test-d7a85.firebaseapp.com",
databaseURL: "https://napkn-test-d7a85.firebaseio.com",
projectId: "napkn-test-d7a85",
storageBucket: "napkn-test-d7a85.appspot.com",
messagingSenderId: "618274718089",
appId: "1:618274718089:web:efcdb4fc1012a84d966158",
measurementId: "G-9CS9GJGH47"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<script src="app.js"></script>
</body>
</html>