LSBC/templates/base.html.twig
2024-02-25 20:34:34 +01:00

26 lines
905 B
Twig

<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}LSBC{% endblock %}</title>
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
{% block stylesheets %}
<style>
img { max-width: 100% }
</style>
{% endblock %}
</head>
<body>
<div class="container">
{% if app.user %}
<nav class="my-3">
<a href="{{ path('app_podcast_index' )}}" class="btn btn-outline-primary">Manage podcasts</a>
<a href="{{ path('app_episode_index' )}}" class="btn btn-outline-primary">Manage episodes</a>
</nav>
{% endif %}
{% block body %}{% endblock %}
</div>
</body>
</html>