-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
77 lines (72 loc) · 2.73 KB
/
index.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
<!DOCTYPE html>
<html lang="ru">
<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>RSS агрегатор</title>
</head>
<body class="d-flex flex-column justify-content-between min-vh-100">
<header class="bg-dark text-white py-5">
<div class="container">
<div class="row">
<div class="col-12 col-md-10 col-xl-8 px-4 mx-auto">
<h1 class="display-3">RSS агрегатор</h1>
<p class="fs-5 fw-light">Начните читать RSS сегодня! Это легко, это красиво.</p>
<form id="form-rss" class="row">
<div class="col-12 col-sm-8 col-md-9 form-floating mb-3">
<div class="form-floating">
<input type="text" class="form-control" id="url" aria-label="url"
placeholder="Ссылка RSS" autofocus autocomplete="off" required>
<label for="url" class="text-secondary">Ссылка RSS</label>
</div>
</div>
<div class="col-12 col-sm-4 col-md-3 mb-3">
<button type="submit" class="btn btn-primary form-control fs-5 h-100" aria-label="add" id="add">
Добавить
</button>
</div>
</form>
<p class="form-text fs-6">Пример: https://ru.hexlet.io/lessons.rss</p>
<p id="feedback" class="invisible">feedback</p>
</div>
</div>
</div>
</header>
<div class="container p-5 d-none" id="content">
<div class="row gx-5">
<div class="col-12 col-lg-8 pt-3">
<h2 class="h4 mb-4">Посты</h2>
<div id="posts"></div>
</div>
<div class="col-12 col-lg-4 pt-3">
<h2 class="h4 mb-4">Фиды</h2>
<div id="feeds"></div>
</div>
</div>
</div>
<div class="modal fade" id="modal" tabindex="-1" aria-labelledby="modal-title" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modal-title"></h5>
<button type="button" class="btn-close" data-bs-dismiss="modal"></button>
</div>
<div class="modal-body" id="modal-body"></div>
<div class="modal-footer">
<a href="#" class="btn btn-primary" id="modal-link" target="_blank" rel="noopener norefferer">Читать полностью</a>
<a href="#" class="btn btn-secondary" data-bs-dismiss="modal">Закрыть</a>
</div>
</div>
</div>
</div>
<footer class="footer border-top py-3 mt-5 bg-light">
<div class="container-xl">
<div class="text-center">
created by
<a href="https://github.com/Shamilist" target="_blank">Shamilist</a>
</div>
</div>
</footer>
</body>
</html>