LSBC/templates/base.html.twig

26 lines
905 B
Twig
Raw Normal View History

2023-05-05 21:48:32 +02:00
<!DOCTYPE html>
<html>
2023-10-14 14:09:32 +02:00
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}LSBC{% endblock %}</title>
2024-02-25 20:18:24 +01:00
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
2023-10-14 18:26:09 +02:00
{% block stylesheets %}
2024-02-25 20:34:34 +01:00
<style>
img { max-width: 100% }
</style>
2023-10-14 18:26:09 +02:00
{% endblock %}
2023-10-14 14:09:32 +02:00
</head>
<body>
2024-02-25 20:18:24 +01:00
<div class="container">
2024-02-25 20:34:34 +01:00
{% 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 %}
2024-02-25 20:18:24 +01:00
{% block body %}{% endblock %}
</div>
2023-10-14 14:09:32 +02:00
</body>
2023-05-05 21:48:32 +02:00
</html>