136 lines
3.5 KiB
HTML
136 lines
3.5 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
{% if description %}<meta name="description" content="{{ description }}" />{% endif %}
|
|
{% if keywords %}<meta name="keywords" content="{{ keywords }}" />{% endif %}
|
|
{% if author %}<meta name="author" content="{{ author }}" />{% endif %}
|
|
{% if canonical %}<link rel="canonical" href="{{ canonical }}" />{% endif %}
|
|
<title>{{ title | default("FeedVault") }}</title>
|
|
<style>
|
|
html {
|
|
max-width: 88ch;
|
|
padding: calc(1vmin + 0.5rem);
|
|
margin-inline: auto;
|
|
font-size: clamp(1em, 0.909em + 0.45vmin, 1.25em);
|
|
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
Helvetica, Arial, sans-serif;
|
|
color-scheme: light dark;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 2.5rem;
|
|
font-weight: 600;
|
|
margin: 0;
|
|
}
|
|
|
|
.title {
|
|
text-align: center;
|
|
}
|
|
|
|
.search {
|
|
display: flex;
|
|
justify-content: center;
|
|
margin-top: 1rem;
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.leftright {
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.left {
|
|
margin-right: auto;
|
|
}
|
|
|
|
.right {
|
|
margin-left: auto;
|
|
}
|
|
|
|
textarea {
|
|
width: 100%;
|
|
height: 10rem;
|
|
resize: vertical;
|
|
}
|
|
|
|
.messages {
|
|
list-style-type: none;
|
|
}
|
|
|
|
.error {
|
|
color: red;
|
|
}
|
|
|
|
.success {
|
|
color: green;
|
|
}
|
|
|
|
.warning {
|
|
color: orange;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
{% if messages %}
|
|
<ul class="messages">
|
|
{% for message in messages %}
|
|
<li {% if message.tags %}class="{{ message.tags }}"{% endif %}>{{ message }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% endif %}
|
|
<span class="title">
|
|
<h1>
|
|
<a href='{{ url_for("index") }}'>FeedVault</a>
|
|
</h1>
|
|
</span>
|
|
<div class="leftright">
|
|
<div class="left">
|
|
<small>Archive of
|
|
<a href="https://en.wikipedia.org/wiki/Web_feed">web feeds</a>.
|
|
{{ stats }}
|
|
</small>
|
|
</div>
|
|
<div class="right">
|
|
<form action='{{ url_for("search") }}' method="get" class="search">
|
|
<input type="text" name="q" placeholder="Search" />
|
|
<button type="submit">Search</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
<nav>
|
|
<small>
|
|
<div class="leftright">
|
|
<div class="left">
|
|
<a href='{{ url_for("index") }}'>Home</a> |
|
|
<a href='{{ url_for("feeds") }}'>Feeds</a> |
|
|
<a href='{{ url_for("upload_files") }}'>Upload</a> |
|
|
<a href='{{ url_for("contact") }}'>Contact</a>
|
|
</div>
|
|
<div class="right">
|
|
<a href="https://github.com/TheLovinator1/FeedVault">GitHub</a> |
|
|
<a href="https://github.com/sponsors/TheLovinator1">Donate</a>
|
|
</div>
|
|
</div>
|
|
</small>
|
|
</nav>
|
|
<hr />
|
|
<main>
|
|
{% block content %}<!-- default content -->{% endblock %}
|
|
</main>
|
|
<hr />
|
|
<footer>
|
|
<small>
|
|
<div class="leftright">
|
|
<div class="left">Web scraping is not a crime.</div>
|
|
<div class="right">No rights reserved.</div>
|
|
</div>
|
|
<div class="leftright">
|
|
<div class="left">TheLovinator#9276 on Discord</div>
|
|
<div class="right">A birthday present for Plipp ❤️</div>
|
|
</div>
|
|
</small>
|
|
</footer>
|
|
</body>
|
|
</html>
|