-
Notifications
You must be signed in to change notification settings - Fork 0
/
list_m.html
144 lines (126 loc) · 4.45 KB
/
list_m.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title>Checklist Mobile</title>
<link rel="shortcut icon" href="icon.ico">
<style>
body,
td,
th {
color: #666666;
font-size: 20px;
font-family: "Century Gothic";
}
input,
select {
font-size: 100%;
}
.grid-container {
display: grid;
background-color: whitesmoke;
padding: 3px;
}
.header {
grid-row: 1;
text-align: center;
font-size: 30px;
}
.login {
grid-row: 2;
display: none;
padding: 20px;
background-color: lightyellow;
}
.mainBlock {
grid-row: 3;
background-color: lightgrey;
align-content: center;
text-align: center;
}
.addBar {
display: none;
padding: 16px;
background-color: beige;
grid-row: 4;
align-content: center;
height: 30px;
line-height: 20px;
}
.checklistItem {
grid-row: 5;
background-color: rgb(199, 209, 214);
display: inline;
font-size: 28px;
align-content: center;
padding: 6px;
display: block;
white-space: nowrap;
text-align: center;
}
.logout {
grid-row: 6;
text-align: left;
}
.footer {
grid-row: 7;
text-align: center;
background-color: silver;
padding: 16px;
}
</style>
</head>
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/7.18.0/firebase-app.js"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<script src="https://www.gstatic.com/firebasejs/7.18.0/firebase-analytics.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyA4FOGL6w5-Ih-Lf8LBlHLnzP6tr9iPOp0",
authDomain: "shoplist-ee208.firebaseapp.com",
databaseURL: "https://shoplist-ee208.firebaseio.com",
projectId: "shoplist-ee208",
storageBucket: "shoplist-ee208.appspot.com",
messagingSenderId: "47295770360",
appId: "1:47295770360:web:26484ccc456656bbb0150d",
measurementId: "G-QKW1E6ZD1V"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
firebase.analytics();
</script>
<script src="https://www.gstatic.com/firebasejs/7.17.2/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/7.18.0/firebase-firestore.js"></script>
<body>
<div class='grid-container'>
<div class='header'>Checklist</div>
<img src='undo.png' id='undo' style='border:6px; border-style:solid; border-color:white; display: none;'
onclick="undoDelete()">
<div id='undoText'></div>
</div>
<div class="mainBlock">
<div class='login' id='login'>
<input type="text" size='25' placeholder="email" id="emailField">
</br>
<input type="password" size='25' placeholder="password" id="passField">
</br>
<button id='loginButton'>Login</button></div>
<div class='addBar' id='addBlock'><input id='itemInput' type="text" size='17' placeholder="add an item"
style="background-color:oldlace; border:6px; border-style:solid; border-color:powderblue">
</input><img src="plus.png" id="addButton">
</div>
</div>
<div class='checklistItem' id='checklist'>loading items</div>
<div class='logout' id='logout'>
<div id='logoutButton' style=`float: right;
style='background-color: lightsteelblue; border:6px; border-style:solid; border-color:darkgray' `></div>
<div class="footer">© mikey winsor</div>
</div>
<button id='devTest'>DevButton</button>
<button id='devTestTwo'>Dev 2 Button</button>
<script src="./list.js"></script>
</body>
</html>