Clean up the interface with nice buttons
This commit is contained in:
@ -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}) }}">
|
||||
|
Reference in New Issue
Block a user