refactored

This commit is contained in:
tracer 2022-04-11 17:51:12 +02:00
parent 08597a2ebe
commit abbb6f3d4e

View File

@ -1,43 +1,57 @@
<!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>
<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 %}
</head>
<body>
{% include '_header.html.twig' %}
<div class="container-fluid text-center">
<div class="row content d-flex justify-content-sm-center">
<div class="col-sm-2 sidenav-left box" id="main-menu">
<p>
<a href="{{ path('blogs') }}">Blogs</a><br>
<a href="//git.24unix.net">git.24unix.net</a>
<a href="//pastebin.24unix.net">pastebin.24unix.net</a>
</p>
</div>
<div class="col-sm-9 text-left center-block" id="main-content">
{% block body %} {% endblock %}
</div>
<div class="col-sm-1 sidenav" id="spacer">
</div>
</div>
</div>
{% include '_footer.html.twig' %}
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
</body>
</html>
</head>
<body>
{% include '_header.html.twig' %}
<div class="container-fluid text-center">
<div class="row content d-flex justify-content-md-start">
<div class="col-sm-1 sidenav-left box text-start" id="main-menu">
<i class="fa fa-lg fa-fw fa-file-code-o" aria-hidden="true"></i>&nbsp<a href="/projects">Projects</a><br>
<i class="fa fa-lg fa-fw fa-gitea" aria-hidden="true"></i>&nbsp<a href="//git.24unix.net" target="_blank">Gitea</a>&nbsp;<i class="fa fa-external-link" aria-hidden="true"></i><br>
<i class="fa fa-lg fa-fw fa-nextcloud" aria-hidden="true"></i>&nbsp<a href="//cloud.24unix.net" target="_blank">NextCloud</a>&nbsp;<i class="fa fa-external-link" aria-hidden="true"></i>
<!-- <a href="//pastebin.24unix.net">pastebin.24unix.net</a>-->
</div>
<div class="col-sm-9 text-left center-block" id="main-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 %}
{{ quote }}
{% endblock %}
</div>
<div class="col-sm-1 sidenav" id="spacer">
</div>
</div>
</div>
{% include '_footer.html.twig' %}
</body>
</html>