diff options
author | Marius Peter <marius.peter@tutanota.com> | 2022-05-01 21:38:59 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2022-05-01 21:38:59 +0200 |
commit | caa0e1db19c0616031f7879d4298ed152b05f557 (patch) | |
tree | 927a70654c46c27cb9f313ac6020efa863b32035 /app/templates/modules/catalog.html | |
parent | ce73f10a4aaa717de025fd2dc591294fea0db8de (diff) |
Jinja2 templates.
Diffstat (limited to 'app/templates/modules/catalog.html')
-rw-r--r-- | app/templates/modules/catalog.html | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/app/templates/modules/catalog.html b/app/templates/modules/catalog.html deleted file mode 100644 index 857c654..0000000 --- a/app/templates/modules/catalog.html +++ /dev/null @@ -1,35 +0,0 @@ -<!-- -*- mode: jinja2; -*- --> - -{% extends "base.html" %} -{% block title %} - Catalog -{% endblock %} - -{% block content %} - <i>insert module content here.</i> - - <p> - <a href="{{ url_for('add_product') }}" class="button">Add product to your catalog</a> - </p> - - <table> - <thead> - <tr> - <th>Name</th> - <th>Price</th> - <th>Supplier</th> - <th>Updated</th> - </tr> - </thead> - <tbody> - {% for product in catalog %} - <tr> - <td>{{ product.name }}</td> - <td>{{ product.price }}</td> - <td>{{ product.supplier }}</td> - <td>{{ product.updated }}</td> - </tr> - {% endfor %} - </tbody> - </table> -{% endblock %} |