pack/templates/html/mod/base.html

45 lines
1.6 KiB
HTML

<!DOCTYPE html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<title>{% block title %}Pack{% endblock %}</title>
<link rel="icon" href="/assets/favicon.ico?v=2">
<!-- <link rel="stylesheet" href="/assets/index.css"> -->
<link href="https://fonts.googleapis.com/css?family=Quicksand:300,400" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<style>{% block style %}{% endblock %}</style>
</head>
<body>
<div id="themeSwitchContainer">
<input type="checkbox" id="themeSwitch">
<span></span><span></span><span></span>
</div>
<div id="package">
<img src="/assets/fragile.svg">
<img src="/assets/keep_dry.svg">
<img src="/assets/recycle.svg">
<img src="/assets/qr_code.svg">
</div>
{% include "html/mod/svgTape.svg" %}
<div id="packageLabel">
<div id="packageLabelTop">{% include "html/mod/labelTop.html" %}</div>
<div id="packageLabelTitle">
<h1><b></b></h1>
</div>
<div id="packageLabelContent">
{% if force_msg %}
<h1 style="display: block !important;">{{ content_text | upper }}</h1>
{% else %}
<h1>{{ content_text | upper }}</h1>
{% endif %}
{% block content %}{% endblock %}
</div>
<div id="packageLabelBot">
{% include "html/mod/labelBot.svg" %}
<a href="/">{{ config.domain }}</a>
</div>
</div>
</body>
<script>{% block script %}{% endblock %}</script>
</html>