-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (62 loc) · 2.92 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>RSS</title>
</head>
<body>
<div class="modal fade" id="modal" tabindex="-1" aria-labelledby="modalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modal_title">Modal title</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body" id="modal_body">
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-bs-dismiss="modal" id="modal_close">Close</button>
<a type="button" href="#" class="btn btn-primary full-article" target="_blank" id="modal_link">Link</a>
</div>
</div>
</div>
</div>
<main>
<section class="container-fluid bg-dark p-5">
<div class="row">
<div class="col-md-10 col-lg-8 mx-auto text-white">
<h1 class="display-3 mb-0">RSS Reader</h1>
<p class="lead">Start reading RSS today! It is easy and beautiful.</p>
<form action="" class="rss-form text-body">
<div class="row">
<div class="col">
<div class="form-floating"><input id="url_input" autofocus required name="url" aria-label="url"
class="form-control w-100" autocomplete="off"> <label for="url-input"
class=" mb-0 text-muted">URL</label></div>
</div>
<div class="col-auto"><button type="submit" aria-label="add"
class="h-100 btn btn-lg btn-primary px-sm-5" id="add_button">Add</button></div>
</div>
<p id="info_text" class="text-danger m-0 d-none"></p>
</form>
<p class="mt-1 mb-0 text-muted" id="example_text">Example:</p>
<p class="mt-1 mb-0 text-muted" id="link_text"> http://rss.cnn.com/rss/money_topstories.rss <br> https://moxie.foxnews.com/google-publisher/latest.xml <br> http://lorem-rss.herokuapp.com/feed?unit=second</p>
<p class="feedback m-0 position-absolute small text-danger"></p>
</div>
</div>
</section>
<section class="container-fluid container-xxl p-5">
<div class="row d-none" id="main_container">
<div class="col-md-10 col-lg-8 order-1 mx-auto">
<h2 class="text-center" id="posts_title">Posts</h2>
<ul id="posts_list"></ul>
</div>
<div class="col-md-10 col-lg-4 mx-auto order-0 order-lg-1">
<h2 class="text-center" id="feeds_title">Feeds</h2>
<ul id="feeds_list"></ul>
</div>
</div>
</section>
</main>
</body>
</html>