101 lines
3.7 KiB
Twig
101 lines
3.7 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>
|
||
|
|
||
|
{% 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 template_dir ~ '_header.html.twig' %}
|
||
|
|
||
|
<div class="container-fluid mt-3">
|
||
|
<nav id="sidebar" class="vh-100 me-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>
|
||
|
|
||
|
<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 %}
|
||
|
|
||
|
{% block body %}
|
||
|
<div class="col">
|
||
|
<h1 class="q-title-show">Quote of the Moment</h1>
|
||
|
<div class="q-display p-3">
|
||
|
{# <i class="fa fa-quote-left"></i> #}
|
||
|
<p class="d-inline">
|
||
|
{{ quote | markdown_to_html }}
|
||
|
</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
{% endblock %}
|
||
|
|
||
|
</div>
|
||
|
|
||
|
{% include template_dir ~ '_footer.html.twig' %}
|
||
|
|
||
|
</body>
|
||
|
</html>
|