generated from comp1800/web_template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.html
106 lines (86 loc) · 4.42 KB
/
main.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
<!DOCTYPE html>
<html lang="en">
<head>
<title>HazApp</title>
<meta name="comp1800 template" content="My 1800 App">
<link rel="icon" type="image/x-icon" href="./images/favicon.ico" />
<!------------------------>
<!-- Required meta tags -->
<!------------------------>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!------------------------------------------>
<!-- Bootstrap Library CSS JS CDN go here -->
<!------------------------------------------>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous">
</script>
<!-------------------------------------------------------->
<!-- Firebase 8 Library related CSS, JS, JQuery go here -->
<!-------------------------------------------------------->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-firestore.js"></script>
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-auth.js"></script>
<script src="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/4.8.1/firebase-ui-auth.css" />
<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-storage.js"></script>
<!-------------------------------------------->
<!-- Other libraries and styles of your own -->
<!-------------------------------------------->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!--MapBox-->
<link href="https://api.mapbox.com/mapbox-gl-js/v2.7.0/mapbox-gl.css" rel="stylesheet">
<script src="https://api.mapbox.com/mapbox-gl-js/v2.7.0/mapbox-gl.js"></script>
<link rel="stylesheet" href="./styles/style.css">
<!--Font-->
<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=Anton&family=K2D&display=swap" rel="stylesheet">
</head>
<body>
<!------------------------------>
<!-- Your HTML Layout go here -->
<!------------------------------>
<!-- our own navbar goes here -->
<nav id="navbarPrimary"></nav>
<main>
<!-- MAPBOX -->
<div id='map' style='width: 100%; height: 50vh;'></div>
<!-- Hazards List -->
<div class="container">
<h2>Hazards:</h2>
<div id="details-go-here"></div>
<!-- Here is container for cards -->
<div class="container">
<div id="hazardCardGroup" class="row row-cols-auto">
</div>
</div>
</div>
<template id="hazardCardTemplate">
<div class="card py-2 mx-2" style="width: 18rem; border-radius: 20px;">
<img id="card-image card-img-top" src=" ..." alt="..." />
<div class="card-body">
<h5 class="title">placeholder</h5>
<p class="description">placeholder</p>
<p class="timestamp">placeholder</p>
<p class="user">posted by user</p>
</div>
<div id="icons"><i class="material-icons">bookmark_border</i></div>
<a id="more" class="btn btn-lg btn-success" role="button">Read More</a>
</div>
</template>
<!-- our own footer goes here-->
<nav id="footerPrimary"></nav>
<!---------------------------------------------->
<!-- Your own JavaScript functions go here -->
<!---------------------------------------------->
<script src="./scripts/firebaseAPI_TEAM23.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/main.js"></script>
<script src="./scripts/map.js"></script>
<!-- <script src="./scripts/script.js"></script> -->
</body>
</html>