✨ base template (#45)
This commit is contained in:
parent
fda1c18842
commit
83472eeb8d
|
@ -0,0 +1,86 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" dir="ltr">
|
||||
<head>
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1">
|
||||
|
||||
<style media="screen">
|
||||
* {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
body {
|
||||
margin: 8px;
|
||||
|
||||
background-color: #21252b;
|
||||
color: #c5cad3;
|
||||
font-family: "Helvetica Neue", "Segoe UI", Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
}
|
||||
hr {
|
||||
margin: 24px 0;
|
||||
border-color: #5c6370;
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
color: #98c379;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
br {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.gray {
|
||||
color: #828997;
|
||||
}
|
||||
|
||||
.page-container {
|
||||
max-width: 512px;
|
||||
margin: 128px auto;
|
||||
}
|
||||
.page {
|
||||
padding: 32px;
|
||||
margin-bottom: 16px;
|
||||
|
||||
border-radius: 32px;
|
||||
background-color: #2c313a;
|
||||
color: #c5cad3;
|
||||
}
|
||||
.footer center {
|
||||
margin-top: 12px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-container">
|
||||
<div class="page">
|
||||
<center>
|
||||
<table>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><img src="http://sbgg.localhost/static/logo-256.png" alt="" style="height: 64px;" /></td>
|
||||
<td><h1>SBGG.jetzt</h1></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</center>
|
||||
|
||||
<hr />
|
||||
{{main}}
|
||||
<hr />
|
||||
|
||||
<center><a href="http://sbgg.localhost/api/newsletter/unsubscribe?key={{dataset:unsubscribe_key}}">{{text_unsubscribe}}</a></center>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<center>SBGG.jetzt <a href="https://git.tjdev.de/kimendisch/sbgg.jetzt">{{text_sourcecode}}</a> <span class="gray">v{{const:version}}</span></center><br />
|
||||
|
||||
<center>© 2024 Kim Endisch <span class="gray">|</span> <a href="{{link_imprint}}">{{text_imprint}}</a> <span class="gray">|</span> <a href="{{link_privacy_policy}}">{{text_privacy_policy}}</a></center>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -12,7 +12,33 @@
|
|||
* Static content.
|
||||
*/
|
||||
private const STATIC_CONTENT = [
|
||||
"text_sourcecode" => [
|
||||
"de" => "Quellcode",
|
||||
"en" => "Source Code"
|
||||
],
|
||||
|
||||
"text_unsubscribe" => [
|
||||
"de" => "Abbestellen",
|
||||
"en" => "Unsubscribe"
|
||||
],
|
||||
|
||||
"text_imprint" => [
|
||||
"de" => "Impressum",
|
||||
"en" => "Imprint"
|
||||
],
|
||||
"link_imprint" => [
|
||||
"de" => "https://www.tjdev.de/impressum",
|
||||
"en" => "https://www.tjdev.de/imprint"
|
||||
],
|
||||
|
||||
"text_privacy_policy" => [
|
||||
"de" => "Datenschutz­erklärung",
|
||||
"en" => "Privacy Policy"
|
||||
],
|
||||
"link_privacy_policy" => [
|
||||
"de" => "https://www.tjdev.de/datenschutz",
|
||||
"en" => "https://www.tjdev.de/privacy"
|
||||
],
|
||||
];
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue