Spookie/templates/themes/default/base.html.twig

105 lines
3.8 KiB
Twig
Raw Normal View History

2022-10-28 18:48:25 +02:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{% block title %}Spookie{% endblock %}</title>
<link rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
2022-10-28 18:48:25 +02:00
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
<!-- Matomo -->
<script>
let _paq = window._paq = window._paq || []
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(["trackPageView"])
_paq.push(["enableLinkTracking"]);
(function () {
const u = "https://analytics.24unix.net/"
_paq.push(["setTrackerUrl", u + "matomo.php"])
_paq.push(["setSiteId", "1"])
const d = document, g = d.createElement("script"), s = d.getElementsByTagName("script")[0]
g.async = true
g.src = u + "matomo.js"
s.parentNode.insertBefore(g, s)
})()
</script>
<!-- End Matomo Code -->
{% endblock %}
</head>
<body>
{% include '@default/_header.html.twig' %}
2022-10-28 18:48:25 +02:00
<!-- sidebar -->
2022-11-01 14:57:36 +01:00
<nav id="sidebar" class="m-3">
<ul class="list-group ml1" id="main-menu">
<li class="list-group-item list-group-item-action">
<a href="{{ path('app_projects') }}" class="text-decoration-none">
2022-11-05 17:18:04 +01:00
<span class="fa fa-lg fa-fw fa-file-code-o" aria-hidden="true" title="Projects"></span>
2022-11-01 14:57:36 +01:00
<span class="menuText">&nbsp;Projects</span>
</a>
</li>
<li class="list-group-item list-group-item-action">
<a href="//git.24unix.net" class="text-decoration-none" target="_blank">
2022-11-05 17:18:04 +01:00
<span class="fa fa-lg fa-fw fa-gitea" aria-hidden="true" title="Gitea"></span>
2022-11-01 14:57:36 +01:00
<span class="menuText">&nbsp;Gitea</span>
</a>
2022-11-05 17:18:04 +01:00
<span class="menuText"><span class="fa fa-external-link" aria-hidden="true"></span></span>
2022-11-01 14:57:36 +01:00
</li>
<li class="list-group-item list-group-item-action">
<a href="//cloud.24unix.net" class="text-decoration-none" target="_blank">
2022-11-05 17:18:04 +01:00
<span class="fa fa-lg fa-fw fa-nextcloud" aria-hidden="true" title="NextCloud"></span>
2022-11-01 14:57:36 +01:00
<span class="menuText">&nbsp;NextCloud</span>
</a>
2022-11-05 17:18:04 +01:00
<span class="menuText"><span class="fa fa-external-link" aria-hidden="true"></span></span>
2022-11-01 14:57:36 +01:00
</li>
<li class="list-group-item list-group-item-action">
<a href="#" id="toggleSidebar">
2022-11-05 17:18:04 +01:00
<span id="toggleIcon" class="fa fa-lg fa-caret-square-o-left"></span>
2022-11-01 14:57:36 +01:00
</a>
</li>
<!-- <a href="//pastebin.24unix.net">pastebin.24unix.net</a>-->
</ul>
</nav>
2022-10-28 18:48:25 +02:00
<div class="container-fluid" id="content">
2022-11-03 19:19:10 +01:00
2022-11-01 14:57:36 +01:00
<div class="col m-3" id="main_content">
2022-11-10 13:48:29 +01:00
{% for message in app.flashes('success') %}
<div class="alert alert-success">
{{ message }}
</div>
{% endfor %}
{% for message in app.flashes('error') %}
<div class="alert alert-danger">
{{ message }}
</div>
{% endfor %}
{% block body %}
2022-11-05 17:18:04 +01:00
<div class="m-5">
<h1 class="title-show">Quote of the Moment</h1>
<div class="quote-box p-3">
<span class="fa fa-quote-left"></span><br>
{{ quote | raw | nl2br }}
</div>
2022-10-28 18:48:25 +02:00
</div>
{% endblock %}
</div>
2022-10-28 18:48:25 +02:00
</div>
{% include '@default/_footer.html.twig' %}
2022-10-28 18:48:25 +02:00
</body>
</html>