SimpleSyndicate/templates/index.html

35 lines
969 B
HTML
Raw Normal View History

2018-10-21 01:03:14 -04:00
<!DOCTYPE html>
<html>
<head>
<title>/ss/</title>
2019-01-21 08:19:54 -05:00
<link id="styleSheet" rel="stylesheet" type="text/css" href="/static/{{ style_sheet }}">
2018-10-21 01:03:14 -04:00
<script type="text/javascript" src="/static/ss.js"></script>
2019-01-21 08:19:54 -05:00
<script>
const set_session_url = '{{ url_for("set_session") }}';
</script>
<script>window.onload = load;</script>
2018-10-21 01:03:14 -04:00
</head>
<body>
2019-01-21 08:19:54 -05:00
<div>
Style sheet:
<select id="styleSheetSelector" onChange="swapStyleSheet()">
<option name="ss.css" value="ss.css">Light</option>
<option name="ss-dark.css" value="ss-dark.css">Dark</option>
</select>
</div>
2018-10-21 01:03:14 -04:00
<div id="globalContainer">
{% for feed in feeds %}
<div>
<h3>{{ feed['meta']['title'] }}</h3>
2019-04-07 14:15:07 -04:00
{% if feed['error'] %}
<code>Error loading feed: {{ feed['error'] }}</code>
{% endif %}
2018-10-21 01:03:14 -04:00
{% for entry in feed['entries'] %}
<span class="date">{{ entry['date'] }}</span><a href="{{ entry['link'] }}">{{ entry['title'] }}</a><br>
{% endfor %}
</div>
{% endfor %}
</div>
</body>
</html>