-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
107 lines (91 loc) · 4.47 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!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">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" href="styles.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Oswald&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Lobster&display=swap" rel="stylesheet">
<script src="src/index.js" charset="utf-8"></script>
<script src="src/components/entry.js" charset="utf-8"></script>
<script src="src/adapters/entryAdapter.js" charset="utf-8"></script>
<script src="src/components/user.js" charset="utf-8"></script>
<script src="src/adapters/userAdapter.js" charset="utf-8"></script>
<script src="src/adapters/mapAdapter.js" charset="utf-8"></script>
<script src="src/components/app.js" charset="utf-8"></script>
<script src="src/components/navigation.js" charset="utf-8"></script>
<title>Brew Log</title>
</head>
<body>
<div class="sidebar">
<div class="welcome"><h1>Brew Log</h1></div>
<!---Login----->
<div id="user-login">
<a href="#" id="get-started">Sign in</a>
<form id="login" hidden>
<input type="text" name="user-name" id="user-name" placeholder="Name" required>
<br>
<br>
<button type="submit" class="btn btn-secondary">Submit</button>
</form>
</div>
<!----Current User-->
<div id="user"></div>
<!---New/Edit Forms----->
<div id="forms-container">
<form id="new-entry" hidden>
<input type="text" name="brewery-notes" id="brewery-notes" placeholder="Add some notes here...">
<br>
<br>
<button type="submit" class="btn btn-secondary ">Save</button>
</form>
<form id="edit-entry" hidden>
<input type="text" id="name" name="name">
<br>
<input type="text" id="location" name="location">
<br>
<input type="text" name="notes" id="notes">
<br>
<input type="text" id="entry-id" hidden>
<br>
<button type="submit" class="btn btn-secondary">Save</button>
</form>
</div>
<!----Entry Options---->
<div id="entry">
<div id="entry-options">
<button type="button" id="view-all" class="btn btn-secondary" hidden>View All Entries</button>
<br>
<br>
<button type="button" id="add-new-btn" class="btn btn-secondary" hidden>Add New Brewery</button>
</div>
</div>
<!--Entry Modal-->
<div id="entry-modal"></div>
<!---Navbar--->
<nav class="navbar fixed-bottom navbar-dark bg-dark">
<a class="navbar-brand" href="#" id="refresh">
<img src="https://fontmeme.com/permalink/210917/da1525d2fa715d3310d631f0c1623d08.png" alt="lobster-font" width="30" height="30" class="d-inline-block align-top" alt="">
</a>
<a href="" class="nav-item nav-link mr-auto" id="about" data-target="#aboutModal" data-toggle="modal">About</a>
</nav>
</div>
<!---Map Div-->
<div id="map" class="map pad2"></div>
<!--Mapbox links and scripts-->
<link href="https://api.mapbox.com/mapbox-gl-js/v2.4.1/mapbox-gl.css" rel="stylesheet">
<script src="https://api.mapbox.com/mapbox-gl-js/v2.4.1/mapbox-gl.js"></script>
<script src="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.7.2/mapbox-gl-geocoder.min.js"></script>
<link rel="stylesheet" href="https://api.mapbox.com/mapbox-gl-js/plugins/mapbox-gl-geocoder/v4.7.2/mapbox-gl-geocoder.css" type="text/css">
<!---Bootstrap-->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
</body>
</html>