-
Notifications
You must be signed in to change notification settings - Fork 0
/
dashboard.html
85 lines (72 loc) · 3.27 KB
/
dashboard.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="./css/create_topic.css">
<title>Dashboard</title>
</head>
<body>
<!-- header start -->
<script src="./js/header.js"></script>
<!-- header end -->
<!-- start loading -->
<div id="loading"
style="display:none; position: absolute; top:50%; left: 50%; transform: translate(-50%,-50%); z-index: 1;"
class="text-center">
<p>Loading...</p>
<div class="spinner-border" role="status">
<span class="visually-hidden">Loading...</span>
</div>
</div>
<!-- start loading -->
<!-- create topic -->
<!-- <div class="container pt-5">
<button id="createTopicButton" class="w-100 btn btn-primary text-center">Create Topic</button>
</div> -->
<!-- The modal -->
<!-- <div id="myModal" class="modal">
<div class="modal-content">
<span class="close" id="closeModal">×</span>
<form id="topicForm">
<label for="topicName">Topic Name:</label>
<input type="text" id="topicName" required><br>
<label for="photoUpload">Upload Photo:</label>
<input type="file" id="photoUpload" accept="image/*" required><br>
<input type="submit" value="Create">
</form>
</div>
</div> -->
<!-- create topic -->
<h1 class="d-flex justify-content-center align-items-center mt-5">Topics</h1>
<hr class="w-25 mx-auto">
<div class="container">
<div class="card mb-3">
<div class="row no-gutters">
<div class="col-md-4">
<img src="./res/best.jpg"
class="card-img" alt="...">
</div>
<div class="col-md-8">
<div class="card-body">
<h5 class="card-title">Whom do you like ?</h5>
<p class="card-text">"Whom Do You Like?" is a fun social game that sparks engaging conversations
and reveals interesting facts about friends. It's the ideal choice for gatherings and
parties.</p>
<a href="game.html" class="btn btn-primary mt-4">click to play</a>
</div>
</div>
</div>
</div>
</div>
</body>
<script type="module" src="https://www.gstatic.com/firebasejs/10.3.0/firebase-app.js"></script>
<script type="module" src="https://www.gstatic.com/firebasejs/10.3.0/firebase-auth.js"></script>
<script type="module" src="https://www.gstatic.com/firebasejs/10.3.0/firebase-database.js"></script>
<script type="module" src="https://www.gstatic.com/firebasejs/10.3.0/firebase-storage.js"></script>
<script type="module" src="./js/navbar.js"></script>
<script type="module" src="./js/dashboard.js"></script>
<!-- <script type="module" src="./js/create_topic.js"></script> -->
<script type="module" src="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/js/bootstrap.bundle.min.js"></script>
</html>