flask-wallapop-watcher/templates/items/programadas.html

30 lines
955 B
HTML
Raw Normal View History

2017-08-06 00:38:21 +02:00
{% extends 'layouts/master.html' %}
{% set active_page = "programadas" %}
{% block title %}Programadas{% endblock %}
{% block body %}
<h1>Programadas</h1>
2017-08-07 19:54:39 +02:00
<table class="table">
<thead>
<tr>
<th scope="col">Imagen</th>
<th scope="col">Titulo</th>
<th scope="col">Precio</th>
<th></th>
</tr>
</thead>
<tbody>
{% for item in programado_all %}
<tr>
<td><img src="{{ item.picture_URL }}" alt="{{ item.title }}"></td>
<td>{{ item.title }}</td>
<td>{{ item.price }}</td>
<td>
<form action="{{ url_for('programadas_borrar') }}" method="post">
<input type="hidden" name="id" value="{{ item.id }}">
<input type="submit" class="btn btn-danger" value="-">
</form>
</tr>
{% endfor %}
</tbody>
</table>
2017-08-06 00:38:21 +02:00
{% endblock %}