-
Notifications
You must be signed in to change notification settings - Fork 0
/
withSidebarTest.html
120 lines (102 loc) · 5.38 KB
/
withSidebarTest.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
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Amore!</title>
<link rel="stylesheet" href="public/css/main.csss">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<!--header (Top bar)------------------------------->
<header class="p-3 bg-dark text-white">
<div class="d-flex flex-wrap justify-content-center justify-content-lg-start align-content-center">
<span class="fs-4 ml-5">Amore</span>
<!--Search-->
<form id="searchForm" class="form-inline ml-auto mr-auto mt-2 mt-md-0 align-middle">
<input id="search" class="form-control mr-sm-2" style="min-width: 5cm; width: 10cm;" type="text" placeholder="Search" aria-label="Search">
<button class="btn btn-outline-success ml-1 my-2 my-sm-0" type="submit">Search</button>
</form>
<!--User Image-->
<img class="rounded-circle" style="max-width: 1cm;" src="#" alt="User image" onerror="this.onerror=null; this.src='public/js/default_user.png'">
<button type="button" class="btn btn-outline-warning align-self-end ml-3 mr-3">Logout</button>
</div>
</header>
<!--Top bar end------------------------------------>
<div style="display:flex">
<!--Side bar ------------------------------------->
<div id="sideBar" class="d-flex flex-column flex-shrink-0 p-3 text-white bg-dark col-2" style="min-width:5cm; min-height: 90vh;">
<hr>
<ul class="nav nav-pills flex-column mb-auto">
<li class="nav-item">
<a href="#" class="nav-link active" aria-current="page">
<svg class="bi me-2" width="16" height="16"><use xlink:href="#home"></use></svg>
Home
</a>
</li>
<li>
<a href="#" class="nav-link text-white">
<svg class="bi me-2" width="16" height="16"><use xlink:href="#speedometer2"></use></svg>
My Profile
</a>
</li>
<li>
<a href="#" class="nav-link text-white">
<svg class="bi me-2" width="16" height="16"><use xlink:href="#table"></use></svg>
Settings
</a>
</li>
<li>
<a href="#" class="nav-link text-white">
<svg class="bi me-2" width="16" height="16"><use xlink:href="#grid"></use></svg>
Notifications<span class="badge fs-6">4</span>
</a>
</li>
<li>
<a href="#" class="nav-link text-white">
<svg class="bi me-2" width="16" height="16"><use xlink:href="#people-circle"></use></svg>
My matches
</a>
</li>
</ul>
<hr>
</div>
<!--Side bar end ----------------------------------->
<!--{{{body}}}-------------------------------------->
<div class="m-3 flex-fill">
<div name="notifications" class="mt-1 col-12 alert alert-secondary row align-items-center ml-0" role="alertdialog">
<img class="rounded-circle img-thumbnail" style="min-width: 2cm; min-height: 2cm; max-width: 2cm; max-height: 2cm;" src="public/js/default_user.png" alt="User image" onerror="this.onerror=null; this.src='../../public/js/default_user.png'">
<div class="col">
<a href="#">
<span class="fs-3 ml-3">{{name}}</span>
</a>
<p class="col-12 fs-5">{{message}}</p>
<div>
<button id="messageButton" type="button" class="col-2 btn btn-success align-self-end ml-3 mr-3">Message</button>
<button id="blockButton" type="button" class="col-2 btn btn-danger align-self-end ml-3 mr-3">Block</button>
</div>
</div>
</div>
<div name="notifications" class="col-12 alert alert-secondary row align-items-center ml-0" role="alertdialog">
<img class="rounded-circle img-thumbnail" style="min-width: 2cm; min-height: 2cm; max-width: 2cm; max-height: 2cm;" src="public/js/default_user.png" alt="User image" onerror="this.onerror=null; this.src='../../public/js/default_user.png'">
<div class="col">
<a href="#">
<span class="fs-3 ml-3">{{name}}</span>
</a>
<p class="col-12 fs-5">{{message}}</p>
<div>
<button id="messageButton" type="button" class="col-2 btn btn-success align-self-end ml-3 mr-3">Message</button>
<button id="blockButton" type="button" class="col-2 btn btn-danger align-self-end ml-3 mr-3">Block</button>
</div>
</div>
</div>
</div>
<!--body end----------------------------------->
</div>
</div>
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<script src="/public/js/script.js"></script>
<script src="/public/js/signup.js"></script>
</body>
</html>