102 lines
3.6 KiB
Twig
102 lines
3.6 KiB
Twig
<!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>">
|
|
|
|
{% 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' %}
|
|
|
|
<!-- sidebar -->
|
|
<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">
|
|
<i class="fa fa-lg fa-fw fa-file-code-o" aria-hidden="true" title="Projects"></i>
|
|
<span class="menuText"> Projects</span>
|
|
</a>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action">
|
|
<a href="//git.24unix.net" class="text-decoration-none" target="_blank">
|
|
<i class="fa fa-lg fa-fw fa-gitea" aria-hidden="true" title="Gitea"></i>
|
|
<span class="menuText"> Gitea</span>
|
|
</a>
|
|
<span class="menuText"><i class="fa fa-external-link" aria-hidden="true"></i></span>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action">
|
|
<a href="//cloud.24unix.net" class="text-decoration-none" target="_blank">
|
|
<i class="fa fa-lg fa-fw fa-nextcloud" aria-hidden="true" title="NextCloud"></i>
|
|
<span class="menuText"> NextCloud</span>
|
|
</a>
|
|
<span class="menuText"><i class="fa fa-external-link" aria-hidden="true"></i></span>
|
|
</li>
|
|
<li class="list-group-item list-group-item-action">
|
|
<a href="#" id="toggleSidebar">
|
|
<i id="toggleIcon" class="fa fa-lg fa-caret-square-o-left"></i>
|
|
</a>
|
|
</li>
|
|
<!-- <a href="//pastebin.24unix.net">pastebin.24unix.net</a>-->
|
|
</ul>
|
|
</nav>
|
|
|
|
<div class="container-fluid" id="content">
|
|
{% 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 %}
|
|
|
|
|
|
<div class="col m-3" id="main_content">
|
|
{% block body %}
|
|
|
|
<h1 class="title-show">Quote of the Moment</h1>
|
|
<div class="quote-box p-3">
|
|
<i class="fa fa-quote-left"></i><br>
|
|
{{ quote | raw | nl2br }}
|
|
</div>
|
|
{% endblock %}
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% include '@default/_footer.html.twig' %}
|
|
|
|
</body>
|
|
</html> |