Multifeeder/RSS feeds → selection + CSS + template → PDF (very beta)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

44 lines
1.4 KiB

<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset="utf-8" />
<title>feedmode</title>
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='main.css') }}">
{% block head %}
{% endblock %}
</head>
<body>
<div id="wrapper" class="{% block pagetype %}{% endblock %}">
{% block content %}
{% endblock %}
</div>
</body>
<script>
window.addEventListener('load', function () {
// Insert the nav buttons, after the page is loaded
const nav = document.createElement('div');
nav.id = 'nav';
nav.innerHTML = `
<h1><em class="feedmode">feedmode</em><sup>(very beta)</sup></h1>
<form id="update" action="/update/" method="post">
<input type="text" name="query" value="{% if query %}{{ query }}{% else %}https://multi.vvvvvvaria.org/API/latest/50{% endif %}">
<input id="html" type="submit" value="update">
</form>
<div id="buttons">
<a href="/select/"><button>select</button></a>
<a href="/preview/"><button>preview</button></a>
<a href="/pdf/"><button>pdf</button></a>
<a href="/stylesheet/"><button>stylesheet</button></a>: <input type="text" name="pad" value="https://pad.vvvvvvaria.org/feedmode.css">
<a href="/template/"><button>template</button></a>: <input type="text" name="pad" value="https://pad.vvvvvvaria.org/feedmode.template">
</div>
`;
document.body.insertBefore(nav, document.body.firstChild);
})
</script>
{% block footer %}
{% endblock %}
</html>