style fixes

This commit is contained in:
dece 2024-02-25 20:34:34 +01:00
parent be579da23c
commit 0e8d02c2ef
2 changed files with 10 additions and 7 deletions

View file

@ -6,16 +6,19 @@
<title>{% block title %}LSBC{% endblock %}</title> <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"> <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 %} {% block stylesheets %}
<style>
img { max-width: 100% }
</style>
{% endblock %} {% endblock %}
</head> </head>
<body> <body>
<div class="container">
{% if app.user %} {% if app.user %}
<nav class="my-3"> <nav class="my-3">
<a href="{{ path('app_podcast_index' )}}" class="btn btn-outline-primary">Manage podcasts</a> <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> <a href="{{ path('app_episode_index' )}}" class="btn btn-outline-primary">Manage episodes</a>
</nav> </nav>
{% endif %} {% endif %}
<div class="container">
{% block body %}{% endblock %} {% block body %}{% endblock %}
</div> </div>
</body> </body>

View file

@ -48,7 +48,7 @@
</tr> </tr>
<tr> <tr>
<th>Logo</th> <th>Logo</th>
<td><img src="{{ podcast.logoPath }}" alt="{{ podcast.name }} logo"></td> <td><img src="{{ podcast.logoPath }}" alt="{{ podcast.name }} logo" style="max-width: 300px"></td>
</tr> </tr>
<tr> <tr>
<th>Owner</th> <th>Owner</th>