2022-06-04 20:50:34 +00:00
|
|
|
<!DOCTYPE html>
|
2022-04-10 22:21:45 +00:00
|
|
|
<html>
|
|
|
|
<head>
|
2022-06-03 16:24:34 +00:00
|
|
|
{% if args.footer_text.as_ref().is_none() %}
|
|
|
|
<title>MicroBin</title>
|
|
|
|
{%- else %}
|
|
|
|
<title>{{ args.title.as_ref().unwrap() }}</title>
|
|
|
|
{%- endif %}
|
|
|
|
|
2022-06-09 21:48:15 +00:00
|
|
|
<link rel="icon" type="image/png" href="/static/icon.ico">
|
|
|
|
<link rel="icon" type="image/png" href="/static/icon-16x16.png" sizes="16x16">
|
|
|
|
<link rel="icon" type="image/png" href="/static/icon-32x32.png" sizes="32x32">
|
|
|
|
<link rel="icon" type="image/png" href="/static/icon-192x192.png" sizes="192x192">
|
|
|
|
<link rel="icon" type="image/png" href="/static/icon-512x512.png">
|
|
|
|
<link rel="apple-touch-icon" href="/static/apple-touch-icon.png">
|
|
|
|
|
2022-04-10 22:21:45 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2022-05-07 21:30:57 +00:00
|
|
|
{% if !args.pure_html %}
|
|
|
|
<link rel="stylesheet" href="/static/water.css">
|
|
|
|
{%- endif %}
|
2022-04-23 15:47:36 +00:00
|
|
|
</head>
|
2022-06-03 16:24:34 +00:00
|
|
|
{% if args.wide %}
|
2022-04-23 15:47:36 +00:00
|
|
|
<body style="
|
2022-06-03 16:24:34 +00:00
|
|
|
max-width: 1080;
|
2022-04-11 13:41:28 +00:00
|
|
|
margin: auto;
|
|
|
|
padding-left:0.5rem;
|
|
|
|
padding-right:0.5rem;
|
|
|
|
line-height: 1.5;
|
2022-04-23 15:47:36 +00:00
|
|
|
font-size: 1.1em;
|
|
|
|
">
|
2022-06-03 16:24:34 +00:00
|
|
|
{%- else %}
|
|
|
|
<body style="
|
|
|
|
max-width: 720;
|
|
|
|
margin: auto;
|
|
|
|
padding-left:0.5rem;
|
|
|
|
padding-right:0.5rem;
|
|
|
|
line-height: 1.5;
|
|
|
|
font-size: 1.1em;
|
|
|
|
">
|
|
|
|
{%- endif %}
|
2022-04-10 22:21:45 +00:00
|
|
|
<br>
|
|
|
|
|
2022-05-07 21:30:57 +00:00
|
|
|
{% if !args.hide_header %}
|
|
|
|
|
2022-04-10 22:21:45 +00:00
|
|
|
<b style="margin-right: 0.5rem">
|
2022-06-03 16:24:34 +00:00
|
|
|
|
|
|
|
{% if !args.hide_logo %}
|
2022-06-09 21:48:15 +00:00
|
|
|
<!-- <i><span style="font-size:2.2rem; margin-right:1rem">μ</span></i>-->
|
|
|
|
<img width="25" style="margin-bottom: -0.4rem; margin-right: 0.4rem" src="static/icon-192x192.png"/>
|
2022-06-03 16:24:34 +00:00
|
|
|
{%- endif %}
|
|
|
|
|
|
|
|
{% if args.footer_text.as_ref().is_none() %}
|
2022-06-09 21:48:15 +00:00
|
|
|
<span>MicroBin</span>
|
2022-06-03 16:24:34 +00:00
|
|
|
{%- else %}
|
|
|
|
{{ args.title.as_ref().unwrap() }}
|
|
|
|
{%- endif %}
|
2022-04-10 22:21:45 +00:00
|
|
|
</b>
|
2022-04-23 15:47:36 +00:00
|
|
|
|
2022-04-10 22:21:45 +00:00
|
|
|
<a href="/" style="margin-right: 0.5rem; margin-left: 0.5rem">New Pasta</a>
|
2022-04-23 15:47:36 +00:00
|
|
|
|
2022-04-10 22:21:45 +00:00
|
|
|
<a href="/pastalist" style="margin-right: 0.5rem; margin-left: 0.5rem">Pasta List</a>
|
|
|
|
|
2022-06-03 16:24:34 +00:00
|
|
|
<a href="/help" style="margin-right: 0.5rem; margin-left: 0.5rem">Help</a>
|
|
|
|
|
2022-04-23 15:47:36 +00:00
|
|
|
<hr>
|
2022-05-07 21:30:57 +00:00
|
|
|
|
|
|
|
{%- endif %}
|