From d0f08ed8699a2eda867bdab7c89628132bf90a3e Mon Sep 17 00:00:00 2001 From: Willem Renes Date: Wed, 12 May 2021 00:32:14 +0200 Subject: adding the initial files --- templates/base.html | 12 ++++++++++++ templates/entry.html | 17 +++++++++++++++++ templates/results.html | 17 +++++++++++++++++ templates/viewlog.html | 22 ++++++++++++++++++++++ 4 files changed, 68 insertions(+) create mode 100644 templates/base.html create mode 100644 templates/entry.html create mode 100644 templates/results.html create mode 100644 templates/viewlog.html (limited to 'templates') diff --git a/templates/base.html b/templates/base.html new file mode 100644 index 0000000..98eef27 --- /dev/null +++ b/templates/base.html @@ -0,0 +1,12 @@ + + + + {{ the_title }} + + + + {% block body %} + + {% endblock %} + + diff --git a/templates/entry.html b/templates/entry.html new file mode 100644 index 0000000..c54a766 --- /dev/null +++ b/templates/entry.html @@ -0,0 +1,17 @@ +{% extends 'base.html' %} + +{% block body %} + +

{{ the_title }}

+ +
+ +

Use this form to submit a search request:

+ + +
Phrase:
Letters:
+

When you're ready, click this button:

+

+
+ +{% endblock %} diff --git a/templates/results.html b/templates/results.html new file mode 100644 index 0000000..462bfb0 --- /dev/null +++ b/templates/results.html @@ -0,0 +1,17 @@ +{% extends 'base.html' %} + +{% block body %} + +

{{ the_title }}

+ +

You submitted the following data:

+ + + +
Phrase:{{ the_phrase }}
Letters:{{ the_letters }}
+ +

When "{{the_phrase }}" is searched for "{{ the_letters }}", the following +results are returned:

+

{{ the_results }}

+ +{% endblock %} diff --git a/templates/viewlog.html b/templates/viewlog.html new file mode 100644 index 0000000..8a47ccc --- /dev/null +++ b/templates/viewlog.html @@ -0,0 +1,22 @@ +{% extends 'base.html' %} + +{% block body %} + +

{{ the_title }}

+ + + + {% for row_title in the_row_titles %} + + {% endfor %} + + {% for log_row in the_data %} + + {% for item in log_row %} + + {% endfor %} + + {% endfor %} +
{{row_title}}
{{item}}
+ +{% endblock %} -- cgit v1.2.3-70-g09d2