-
Notifications
You must be signed in to change notification settings - Fork 0
/
posts.html
204 lines (178 loc) · 9.99 KB
/
posts.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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html lang="pl">
<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">
<title>Document</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<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=Montserrat:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<script src="https://kit.fontawesome.com/acd58c01cc.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="panel">
<div class="row m-0 h-100">
<div class="panel-left col-2 p-0 px-4 text-white text-center">
<section class="date-box">
<p class="mb-0 day">Środa</p>
<p class="mb-0 time">12:15</p>
<p class="mb-0 date text-muted">23/03/2022</p>
</section>
<nav class="menu">
<a href="index.html">
<div class="menu-item">
<i class="fas fa-sliders-h"></i>
<p>Strona główna</p>
</div>
</a>
<a href="posts.html" class="active">
<div class="menu-item">
<i class="far fa-comments"></i>
<p>Posty</p>
</div>
</a>
<a href="users.html">
<div class="menu-item">
<i class="fas fa-user-friends"></i>
<p>Użytkownicy</p>
</div>
</a>
</nav>
<section class="info-box mt-3">
<h3>Diamond CMS</h3>
<p class="text-muted">© Copyright 2022</p>
</section>
</div>
<div class="panel-right col-10 p-0 text-light text-center posts">
<section class="info-top my-4 pt-5">
<h1>posty</h1>
</section>
<section class="p-5">
<h3 class="mb-4">wyróżnione posty</h3>
<div class="row m-0">
<div class="col card bg-transparent m-3 p-4 border-white featured-post">
<div class="card-body">
<p class="card-title mb-0">Temat:</p>
<p class="text-muted">#nazwa-tematu</p>
<p class="card-text">
<strong>Treść:</strong>Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Totam, unde.
</p>
<button class="btn btn-outline-light" data-bs-toggle="modal"
data-bs-target="#exampleModal">Zobacz post</button>
</div>
</div>
<div class="col card bg-transparent m-3 p-4 border-white featured-post">
<div class="card-body">
<p class="card-title mb-0">Temat:</p>
<p class="text-muted">#nazwa-tematu</p>
<p class="card-text">
<strong>Treść:</strong>Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Totam, unde.
</p>
<button class="btn btn-outline-light" data-bs-toggle="modal"
data-bs-target="#exampleModal">Zobacz post</button>
</div>
</div>
<div class="col card bg-transparent m-3 p-4 border-white featured-post">
<div class="card-body">
<p class="card-title mb-0">Temat:</p>
<p class="text-muted">#nazwa-tematu</p>
<p class="card-text">
<strong>Treść:</strong>Lorem ipsum dolor sit amet, consectetur adipisicing elit.
Totam, unde.
</p>
<button class="btn btn-outline-light" data-bs-toggle="modal"
data-bs-target="#exampleModal">Zobacz post</button>
</div>
</div>
</div>
</section>
<section class="active-users p-5">
<h3 class="mb-4">najaktyniejsi Użytkownicy</h3>
<div class="card-group">
<div class="card m-3 bg-transparent border-0">
<div class="card-img">
<img src="./building-2665811_640.jpg" alt="mężczyzna budujący małą wieżę z kamieni"
class="card-img-top">
</div>
<div class="card-body d-flex justify-content-between">
<p>#nazwa-użytkownika</p>
<button class="btn btn-outline-light">Pokaż profil</button>
</div>
</div>
<div class="card m-3 bg-transparent border-0">
<div class="card-img">
<img src="./beautiful-2576845_640.jpg" alt="mężczyzna budujący małą wieżę z kamieni"
class="card-img-top">
</div>
<div class="card-body d-flex justify-content-between">
<p>#nazwa-użytkownika</p>
<button class="btn btn-outline-light">Pokaż profil</button>
</div>
</div>
<div class="card m-3 bg-transparent border-0">
<div class="card-img">
<img src="./from-the-sky-fall-2036457_640.jpg"
alt="mężczyzna budujący małą wieżę z kamieni" class="card-img-top">
</div>
<div class="card-body d-flex justify-content-between">
<p>#nazwa-użytkownika</p>
<button class="btn btn-outline-light">Pokaż profil</button>
</div>
</div>
</div>
</section>
<section class="find-post border-top p-5">
<h3 class="mb-3">Znajdź post</h3>
<p class="mb-5">Wybierz kategorię, wpisz tekst i wciśnij przycisk "Szukaj"</p>
<div class="input-group mb-3">
<button class="btn btn-outline-light dropdown-toggle" type="button" data-bs-toggle="dropdown"
aria-expanded="false">Szukaj po...</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Nazwie użytkownika</a></li>
<li><a class="dropdown-item" href="#">Nazwie tematu</a></li>
<li><a class="dropdown-item" href="#">Słowach kluczowych</a></li>
</ul>
<input type="text" class="form-control" aria-label="Text input with dropdown button">
<bttto class="btn btn-outline-light px-4">Szukaj</bttto>
</div>
</section>
</div>
</div>
</div>
<div class="modal fade posts-modal" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<h3>Temat:</h3>
<p>Nazwa tematu</p>
<h3>Treść:</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Dolorem velit ea exercitationem.</p>
<h3>Opcje:</h3>
<div>
<button class="btn btn-outline-success"><i class="far fa-edit me-2"></i>edytuj</button>
<button class="btn btn-outline-danger"><i class="far fa-trash-alt me-2"></i>usuń</button>
<button class="btn btn-outline-info"><i class="fas fa-link me-2"></i>pokaż w temacie</button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Zamknij</button>
<button type="button" class="btn btn-primary">Zapisz zmiany</button>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
</body>
</html>