-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
93 lines (85 loc) · 3.21 KB
/
Copy pathindex.html
File metadata and controls
93 lines (85 loc) · 3.21 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
<!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" />
<!-- Gets firebase libaries -->
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.2.9/firebase-auth.js"></script>
<!-- Gets FirebaseKey -->
<script src="validation/key.js"></script>
<!-- Renderfunctions -->
<script src="render.js" defer></script>
<!-- The docuemnt who does stuff -->
<script src="main.js" defer></script>
<script src="crud.js" defer></script>
<!-- Handels everything related to auth -->
<script src="authRel.js" defer></script>
<!-- Get / Handle Books -->
<script src="getBooks.js" defer></script>
<!-- Gets stylsheet -->
<link rel="stylesheet" href="homepage.css" />
<title>FireBookList</title>
</head>
<body>
<!-- Create login form here -->
<!-- TODO Create div usefyull -->
<div class="gridcontainer" i>
<!-- use assoc array, with ['header']->titel etc -->
<div class="sideL"><!-- emptey --></div>
<div class="maincontent">
<div class="nav" id="navbar">
<nav>
<ul>
<li class="li1">
<button onclick="location.href='{{homePath}}'">Home</button>
</li>
<li class="li2"><h1>My Book List</h1></li>
<li class="li3" id="singOutButton"></li>
</ul>
</nav>
</div>
<div class="header" style="display: flex">
<!-- TODO: Put login, reg, auth here -->
<div style="flex: 1" id="username"></div>
<div id="userAuthControls" style="flex: 0; min-width: 78px">
<!-- <input type="button" value="Login" id="getLogin" />
<input type="button" value="Register" id="getRegister" /> -->
<!-- TODO: Put login/ reg button here -->
<!-- <button onclick="location.href='{{}}'">Update Book</button>
<button onclick="location.href='{{deletePath}}'">Delete Book</button> -->
</div>
<!-- TODO: Sing out, not sing out -->
</div>
<div class="contentBox">
<div class="review">
<div style="display: flex; flex-direction: row">
<h3 style="flex: 1">Book Libary</h3>
<span style="flex: 0" id="addContainer"> </span>
</div>
<hr />
<div id="allBooks"></div>
<br />
</div>
<div class="synopsis">
<h3>Latest Discussions</h3>
<hr />
<i
>Yu-hue! <br />
Wanna start a formum and discuss a topic? Use reddit instead, this
is not implemeted!<br
/></i>
</div>
</div>
<div class="footer">
<h4 style="color: #333; text-align: center">
© 2020 - 2020 <i>My Book List </i> All Rigts Reserved
</h4>
</div>
</div>
<div class="sideR"><!-- emptey --></div>
</div>
</body>
</html>