-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathshowposts.html
More file actions
85 lines (70 loc) · 3.52 KB
/
showposts.html
File metadata and controls
85 lines (70 loc) · 3.52 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>My BCIT Project</title>
<meta name="comp1800 template" content="My 1800 App">
<!------------------------>
<!-- 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.3.2/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" 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-storage.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" />
<!-------------------------------------------->
<!-- Other libraries and styles of your own -->
<!-------------------------------------------->
<!-- <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> -->
<!-- <link rel="stylesheet" href="./styles/style.css"> -->
</head>
<body>
<!------------------------------>
<!-- Your HTML Layout go here -->
<!------------------------------>
<!-- our own navbar goes here -->
<nav id="navbarPlaceholder"></nav>
<!-- the body of your page goes here -->
<!-- stuff -->
<div class="container" id="div-for-section">
<h1>Show All User Posts </h1>
<div id="posts-go-here" class="row row-cols-auto">
</div>
</div>
<!-- Templates for general use, not displayed -->
<!-- Has a "card-image", "card-title", and "card-description" -->
<template id="postCardTemplate">
<div id="div-for-whole-card" class="card py-2 mx-2 bg-light" style="width: 10rem;">
<img class="card-image card-img-top" src=" ..." alt="...">
<div class="card-body">
<h5 class="card-title">Card title</h5>
<p class="card-description">placeholder</p>
<br>
<a class="btn btn-secondary card-href" id="read-more">Read more ...</a>
</div>
</div>
</template>
<!-- our own footer goes here-->
<nav id="footerPlaceholder"></nav>
<!---------------------------------------------->
<!-- Your own JavaScript functions go here -->
<!---------------------------------------------->
<script src="./scripts/firebaseAPI_TEAM99.js"></script>
<script src="./scripts/skeleton.js"></script>
<script src="./scripts/showposts.js"></script>
</body>
</html>