diff options
author | Marius Peter <marius.peter@tutanota.com> | 2022-04-22 13:24:41 +0200 |
---|---|---|
committer | Marius Peter <marius.peter@tutanota.com> | 2022-04-22 13:24:41 +0200 |
commit | 9770cf8345d47cb086bd386c0d5c0fca165a6d11 (patch) | |
tree | 90addd86fdc9c1516cdab28b955e6054212bac83 /app/templates/modules |
First commit! :fire:
Diffstat (limited to 'app/templates/modules')
-rw-r--r-- | app/templates/modules/calculator.html | 8 | ||||
-rw-r--r-- | app/templates/modules/catalog.html | 35 | ||||
-rw-r--r-- | app/templates/modules/creator.html | 8 | ||||
-rw-r--r-- | app/templates/modules/logger.html | 8 | ||||
-rw-r--r-- | app/templates/modules/stock.html | 8 |
5 files changed, 67 insertions, 0 deletions
diff --git a/app/templates/modules/calculator.html b/app/templates/modules/calculator.html new file mode 100644 index 0000000..f951a17 --- /dev/null +++ b/app/templates/modules/calculator.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block title %} +Calculator +{% endblock %} + +{% block content %} +<i>insert module content here.</i> +{% endblock %} diff --git a/app/templates/modules/catalog.html b/app/templates/modules/catalog.html new file mode 100644 index 0000000..857c654 --- /dev/null +++ b/app/templates/modules/catalog.html @@ -0,0 +1,35 @@ +<!-- -*- 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 %} diff --git a/app/templates/modules/creator.html b/app/templates/modules/creator.html new file mode 100644 index 0000000..588f428 --- /dev/null +++ b/app/templates/modules/creator.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block title %} +Creator +{% endblock %} + +{% block content %} +<i>insert module content here.</i> +{% endblock %} diff --git a/app/templates/modules/logger.html b/app/templates/modules/logger.html new file mode 100644 index 0000000..7ba93b3 --- /dev/null +++ b/app/templates/modules/logger.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block title %} +Logger +{% endblock %} + +{% block content %} +<i>insert module content here.</i> +{% endblock %} diff --git a/app/templates/modules/stock.html b/app/templates/modules/stock.html new file mode 100644 index 0000000..5d20d5c --- /dev/null +++ b/app/templates/modules/stock.html @@ -0,0 +1,8 @@ +{% extends "base.html" %} +{% block title %} +Stock +{% endblock %} + +{% block content %} +<i>insert module content here.</i> +{% endblock %} |