Clean up the interface with nice buttons

This commit is contained in:
Tim
2023-04-05 00:31:41 +02:00
parent 693f83ca4a
commit 22735cf884
5 changed files with 35 additions and 10 deletions

View File

@ -1,8 +1,12 @@
{% extends 'base/base.html.twig' %}
{% block title %}My snippets{% endblock %}
{% block body %}
<h1>Snippets</h1>
<a class="btn btn-primary" href="{{ path('snip_new') }}">Create a new Snip</a>
<h1>My snippets</h1>
<a class="btn btn-success" href="{{ path('snip_new') }}">
<i class="fa fa-plus"></i> Add
</a><br><br>
<div class="list-group">
{% for snip in snips %}
<a class="list-group-item" href="{{ path('snip_single', {snip: snip.id}) }}">