mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
basic stuff
This commit is contained in:
22
cookbook/templates/index.html
Normal file
22
cookbook/templates/index.html
Normal file
@@ -0,0 +1,22 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block title %}Rezepte{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h1>Übersicht</h1>
|
||||
|
||||
<table class="table table-bordered table-hover">
|
||||
<tr>
|
||||
<th>Name</th>
|
||||
<th>Kategorie</th>
|
||||
</tr>
|
||||
{% for recipe in recipes %}
|
||||
<tr>
|
||||
<td>{{ recipe.name }}</td>
|
||||
<td>{{ recipe.category }}</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</table>
|
||||
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user