2020-07-08 14:36:13 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2021-05-01 00:47:32 +02:00
|
|
|
<title>{{ title or "PiSquared Blog" }}</title>
|
2021-02-22 19:01:43 +01:00
|
|
|
<link rel="icon" type="image/png" sizes="32x32"
|
|
|
|
href="{{ url_for('static', filename='favicons/favicon-32x32.png') }}">
|
|
|
|
<link rel="icon" type="image/png" sizes="96x96"
|
|
|
|
href="{{ url_for('static', filename='favicons/favicon-96x96.png') }}">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16"
|
|
|
|
href="{{ url_for('static', filename='favicons/favicon-16x16.png') }}">
|
2021-03-28 18:17:33 +02:00
|
|
|
<link rel="alternate" type="application/rss+xml" title="PiSquared Blog Updates" href="https://blog.pi2.dev/rss.xml" />
|
2020-07-08 14:36:13 +02:00
|
|
|
<style type="text/css">
|
|
|
|
body {
|
|
|
|
font-family: "Open Sans", Arial, sans-serif;
|
2021-02-22 13:33:57 +01:00
|
|
|
color: #ddd;
|
2020-07-08 14:36:13 +02:00
|
|
|
padding: 0 1em;
|
2021-02-22 13:33:57 +01:00
|
|
|
background-color:#222;
|
2020-07-08 14:36:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
2021-02-22 09:29:54 +01:00
|
|
|
max-width: 800px;
|
2020-07-08 14:36:13 +02:00
|
|
|
margin: 0 auto;
|
|
|
|
}
|
|
|
|
|
2021-02-22 19:01:43 +01:00
|
|
|
a:link {
|
|
|
|
color: green;
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:visited {
|
|
|
|
color: green;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:hover {
|
|
|
|
color: yellow;
|
|
|
|
}
|
|
|
|
|
|
|
|
a:active {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
2020-07-08 14:36:13 +02:00
|
|
|
nav {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 1400px) {
|
|
|
|
aside {
|
|
|
|
position: fixed;
|
|
|
|
top: 0;
|
|
|
|
right: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#archive-container {
|
|
|
|
display: block !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
input, textarea {
|
|
|
|
padding: 0.5em;
|
|
|
|
font-size: 1em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=number] {
|
|
|
|
min-width: 70px;
|
|
|
|
width: 70px;
|
|
|
|
}
|
|
|
|
|
|
|
|
input[type=checkbox] {
|
|
|
|
min-width: 50px;
|
|
|
|
width: 50px;
|
|
|
|
}
|
|
|
|
|
|
|
|
select {
|
|
|
|
min-width: 300px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.full-width {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
textarea {
|
|
|
|
height: 5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.input-label {
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote > h1 {
|
|
|
|
font-size: 2em;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote > h2 {
|
|
|
|
font-size: 1.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
blockquote > h3 {
|
|
|
|
font-size: 1.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
cite:before {
|
|
|
|
content: "\2014 ";
|
|
|
|
}
|
|
|
|
|
|
|
|
cite {
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.search-form {
|
|
|
|
display: inline;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash {
|
|
|
|
padding: 4px;
|
|
|
|
margin: 4px;
|
|
|
|
top: 1em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash.error {
|
|
|
|
border: 1px solid #f22;
|
|
|
|
background-color: #faa;
|
|
|
|
color: #f22;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash.message, .flash.info {
|
|
|
|
border: 1px solid #28f;
|
|
|
|
background-color: #cef;
|
|
|
|
color: #28f;
|
|
|
|
}
|
|
|
|
|
|
|
|
.flash.success {
|
|
|
|
border: 1px solid #2f8;
|
|
|
|
background-color: #cfe;
|
|
|
|
color: #094;
|
|
|
|
}
|
|
|
|
|
|
|
|
.danger {
|
|
|
|
color: #f22;
|
|
|
|
}
|
|
|
|
|
|
|
|
.pull-right {
|
|
|
|
float: right;
|
|
|
|
right: 50px;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre {
|
|
|
|
white-space: pre-wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
table {
|
|
|
|
border-spacing: 0;
|
|
|
|
border-collapse: collapse;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tr {
|
2021-02-22 19:01:43 +01:00
|
|
|
background-color: #111;
|
2020-07-08 14:36:13 +02:00
|
|
|
border-top: 1px solid #aaa;
|
|
|
|
}
|
|
|
|
|
|
|
|
table tr:nth-child(2n) {
|
2021-02-22 19:01:43 +01:00
|
|
|
background-color: #000;
|
2020-07-08 14:36:13 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
table th, table td {
|
|
|
|
padding: 6px 12px;
|
|
|
|
border: 1px solid #ddd;
|
|
|
|
}
|
|
|
|
|
|
|
|
.vertical-padding {
|
|
|
|
height: 80px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-inline {
|
|
|
|
width: 30%;
|
|
|
|
}
|
2020-07-13 12:55:26 +02:00
|
|
|
|
|
|
|
img {
|
|
|
|
max-width: 700px;
|
|
|
|
max-height: 400px;
|
|
|
|
display: block;
|
|
|
|
margin-left: auto;
|
|
|
|
margin-right: auto;
|
|
|
|
}
|
2020-07-08 14:36:13 +02:00
|
|
|
</style>
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('oshipka_bp.static', filename='css/chosen.css') }}">
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('oshipka_bp.static', filename='css/lightbox.css') }}">
|
|
|
|
<link rel="stylesheet" type="text/css" href="{{ url_for('oshipka_bp.static', filename='css/datatables.css') }}">
|
|
|
|
{% block style %}{% endblock %}
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav>
|
|
|
|
{% include "navigation.html" %}
|
|
|
|
</nav>
|
|
|
|
{% with messages = get_flashed_messages(with_categories=true) %}
|
|
|
|
{% if messages %}
|
|
|
|
{% for category, message in messages %}
|
|
|
|
<div class="flash {{ category }}">{{ message }}</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% endwith %}
|
|
|
|
<div class="vertical-padding"></div>
|
|
|
|
<aside>
|
|
|
|
{% block aside %}{% endblock %}
|
|
|
|
</aside>
|
|
|
|
<main>
|
|
|
|
{% if ctx and ctx.messages %}
|
|
|
|
{% for message in ctx.messages %}
|
|
|
|
<div class="flash {{ message.type.value }}">
|
|
|
|
<a href="/messages/{{ message.id }}/dismiss"
|
|
|
|
style="float:right;">x</a>
|
|
|
|
{{ message.body|safe }}
|
|
|
|
</div>
|
|
|
|
{% endfor %}
|
|
|
|
{% endif %}
|
|
|
|
{% block content %}{% endblock %}
|
|
|
|
</main>
|
|
|
|
<script src="{{ url_for('oshipka_bp.static', filename='js/jquery.js') }}"></script>
|
2021-04-28 09:17:17 +02:00
|
|
|
{#<script src="{{ url_for('oshipka_bp.static', filename='js/lightbox.js') }}"></script>#}
|
|
|
|
{#<script src="{{ url_for('oshipka_bp.static', filename='js/chosen.js') }}"></script>#}
|
|
|
|
{#<script src="{{ url_for('oshipka_bp.static', filename='js/datatables.js') }}"></script>#}
|
|
|
|
{#<script src="{{ url_for('oshipka_bp.static', filename='js/fuse.js') }}"></script>#}
|
|
|
|
{#<script src="{{ url_for('oshipka_bp.static', filename='js/draggable.js') }}"></script>#}
|
2020-07-08 14:36:13 +02:00
|
|
|
<script src="{{ url_for('oshipka_bp.static', filename='js/oshipka.js') }}"></script>
|
2021-04-28 09:17:17 +02:00
|
|
|
{#<script>#}
|
|
|
|
{#$("select").chosen({#}
|
|
|
|
{# inherit_select_classes: true,#}
|
|
|
|
{#});#}
|
|
|
|
{##}
|
|
|
|
{#lightbox.option({#}
|
|
|
|
{# 'resizeDuration': 100,#}
|
|
|
|
{# 'fadeDuration': 100,#}
|
|
|
|
{# 'imageFadeDuration': 100,#}
|
|
|
|
{#});#}
|
|
|
|
{##}
|
|
|
|
{#$('.data-table').DataTable();#}
|
|
|
|
{#</script>#}
|
2020-07-08 14:36:13 +02:00
|
|
|
{% block script %}{% endblock %}
|
|
|
|
</body>
|
|
|
|
</html>
|