forked from drv687/rss_feed
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (67 loc) · 2.2 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
<!DOCTYPE html>
<html>
<head>
<title>RSS FEED</title>
<!-- Bootstrap -->
<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
<!-- Bootstrap Material Design -->
<link rel="stylesheet" type="text/css" href="node_modules/bootstrap-material-design/dist/css/bootstrap-material-design.css" />
<link rel="stylesheet" type="text/css" href="node_modules/bootstrap-material-design/dist/css/ripples.min.css" />
</head>
<body>
<div class="container">
<div class="row">
<div class="col-sm-12">
<h1>Welcome Diane :)</h1>
</div>
</div>
<div class="row">
<div class="col-sm-4">
<div class="form-group">
<label for="inputRSS" class="control-label">VALID RSS URL</label>
<br/>
<div class="col-md-12">
<input type="text" class="form-control" id="inputRSS" placeholder="http://www.fs.fed.us/..." value="http://rss.nytimes.com/services/xml/rss/nyt/World.xml">
<div id="help" class="bs-component">
<div class="alert alert-danger"> <strong>Oh snap!</strong> Add a RSS feed URL and try submitting again. </div>
</div>
</div>
</div>
<div class="form-group">
<button class="btn btn-info" id="showxml">SHOW HEADLINES</button>
<br/>
<button class="btn btn-warning" onclick="notifyMe()">Notify me!</button>
<div class="checkbox">
<label>
<input type="checkbox">
Enable Desktop Notifcations? </label>
</div>
<div class="checkbox">
<label>
<input type="checkbox">
Save this feed URL to Favorites? </label>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">Recent Feeds</div>
<div class="panel-body">
<ul id="favs">
</ul>
</div>
</div>
</div>
<div class="col-sm-8">
<div id="results"></div>
</div>
</div>
</div>
<script>
window.$ = window.jQuery = require("jquery");
</script>
<script src="node_modules/bootstrap-material-design/dist/js/material.min.js"></script>
<script src="rss.js"></script>
<script>
$.material.init();
</script>
</body>
</html>