MastodonTootFollower/templates/index.html
Daniel Langbein 42b14e0e52 Multiple changes
- rework of "Conversation" class
- "Update" class
- Flask development server
- Waitress production server
- output as RSS/Atom feed
- output as JSON and HTML
- improved CLI output
2022-12-12 21:27:09 +01:00

40 lines
1.3 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>My Website</title>
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}">
<!-- https://developer.mozilla.org/en-US/docs/Glossary/Favicon -->
<link rel="icon" href="{{ url_for('static', filename='favicon.png') }}" type="image/x-icon">
</head>
<body>
<main>
<h1>MastodonTootFollower</h1>
<p>
<label for="input1">URL of toot to follow: </label>
<input name="html_url" type="url" maxlength="256" id="input1"/>
</p>
<p>
<label for="input2">Private seed; required for consecutive updates: </label>
<input name="html_url" type="text" maxlength="256" id="input2"/>
</p>
<ul>
<li>
<button onclick="rss_button()">All updates as RSS feed</button>
</li>
<li>
<button onclick="json_button()">Consecutive updates as JSON file</button>
</li>
<li>
<button onclick="html_button()">Consecutive updates as HTML page</button>
</li>
</ul>
<p>Resulting link: <a href="https://localhost:443" id="href1"></a></p>
</main>
<script src="{{ url_for('static', filename='index.js') }}"></script>
</body>
</html>