From ef72b74ec34e95a38890d542cda298dd6565d5ad Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 2 May 2025 16:37:29 +0300 Subject: Start replacing browser with a chat demo --- browser/templates/base.html.j2 | 19 ------------------- browser/templates/frag_aside.html.j2 | 27 --------------------------- browser/templates/frag_aside_link.html.j2 | 9 --------- browser/templates/frag_error.html.j2 | 16 ---------------- browser/templates/frag_form_delete.html.j2 | 7 ------- browser/templates/frag_form_find.html.j2 | 7 ------- browser/templates/frag_form_range.html.j2 | 21 --------------------- browser/templates/frag_form_upsert.html.j2 | 5 ----- browser/templates/frag_results.html.j2 | 18 ------------------ browser/templates/page_error.html.j2 | 5 ----- browser/templates/page_main.html.j2 | 11 ----------- 11 files changed, 145 deletions(-) delete mode 100644 browser/templates/base.html.j2 delete mode 100644 browser/templates/frag_aside.html.j2 delete mode 100644 browser/templates/frag_aside_link.html.j2 delete mode 100644 browser/templates/frag_error.html.j2 delete mode 100644 browser/templates/frag_form_delete.html.j2 delete mode 100644 browser/templates/frag_form_find.html.j2 delete mode 100644 browser/templates/frag_form_range.html.j2 delete mode 100644 browser/templates/frag_form_upsert.html.j2 delete mode 100644 browser/templates/frag_results.html.j2 delete mode 100644 browser/templates/page_error.html.j2 delete mode 100644 browser/templates/page_main.html.j2 (limited to 'browser/templates') diff --git a/browser/templates/base.html.j2 b/browser/templates/base.html.j2 deleted file mode 100644 index 47b3f6c..0000000 --- a/browser/templates/base.html.j2 +++ /dev/null @@ -1,19 +0,0 @@ - - - - - - - - {% block head_meta %} - Database browser - - {% endblock %} - - -

Database browser

- {% block content %}{% endblock %} - - - - diff --git a/browser/templates/frag_aside.html.j2 b/browser/templates/frag_aside.html.j2 deleted file mode 100644 index 6c5658f..0000000 --- a/browser/templates/frag_aside.html.j2 +++ /dev/null @@ -1,27 +0,0 @@ -{# -Params - selected_form Form fragment to include -#} - - diff --git a/browser/templates/frag_aside_link.html.j2 b/browser/templates/frag_aside_link.html.j2 deleted file mode 100644 index 9cd6041..0000000 --- a/browser/templates/frag_aside_link.html.j2 +++ /dev/null @@ -1,9 +0,0 @@ -{# -Params - text Text to render in the link - href URL to link to -#} - -
- -
diff --git a/browser/templates/frag_error.html.j2 b/browser/templates/frag_error.html.j2 deleted file mode 100644 index c5034cd..0000000 --- a/browser/templates/frag_error.html.j2 +++ /dev/null @@ -1,16 +0,0 @@ -{# -Params - error Error message to display - container (optional) id for a div to wrap the error message in -#} - -{% if container %} -
-{% endif %} - -

Error

-{{ error }} - -{% if container %} -
-{% endif %} diff --git a/browser/templates/frag_form_delete.html.j2 b/browser/templates/frag_form_delete.html.j2 deleted file mode 100644 index 22306c1..0000000 --- a/browser/templates/frag_form_delete.html.j2 +++ /dev/null @@ -1,7 +0,0 @@ -
- - - - - -
diff --git a/browser/templates/frag_form_find.html.j2 b/browser/templates/frag_form_find.html.j2 deleted file mode 100644 index cadd44b..0000000 --- a/browser/templates/frag_form_find.html.j2 +++ /dev/null @@ -1,7 +0,0 @@ -
- - - - - -
diff --git a/browser/templates/frag_form_range.html.j2 b/browser/templates/frag_form_range.html.j2 deleted file mode 100644 index 84b8024..0000000 --- a/browser/templates/frag_form_range.html.j2 +++ /dev/null @@ -1,21 +0,0 @@ -
- - - - - - - - - - - -
diff --git a/browser/templates/frag_form_upsert.html.j2 b/browser/templates/frag_form_upsert.html.j2 deleted file mode 100644 index 68820f5..0000000 --- a/browser/templates/frag_form_upsert.html.j2 +++ /dev/null @@ -1,5 +0,0 @@ -
- - - -
diff --git a/browser/templates/frag_results.html.j2 b/browser/templates/frag_results.html.j2 deleted file mode 100644 index bfb54e9..0000000 --- a/browser/templates/frag_results.html.j2 +++ /dev/null @@ -1,18 +0,0 @@ - - - - {% for field_name in field_names %} - - {% endfor %} - - - - {% for row in rows %} - - {% for field in row %} - - {% endfor %} - - {% endfor %} - -
{{ field_name }}
{{ field }}
diff --git a/browser/templates/page_error.html.j2 b/browser/templates/page_error.html.j2 deleted file mode 100644 index 3233283..0000000 --- a/browser/templates/page_error.html.j2 +++ /dev/null @@ -1,5 +0,0 @@ -{% extends "base.html.j2" %} - -{% block content %} -{% include "frag_error.html.j2" %} -{% endblock %} diff --git a/browser/templates/page_main.html.j2 b/browser/templates/page_main.html.j2 deleted file mode 100644 index 907275f..0000000 --- a/browser/templates/page_main.html.j2 +++ /dev/null @@ -1,11 +0,0 @@ -{% extends "base.html.j2" %} - -{% block content %} -
- {% include "frag_aside.html.j2" %} - -
- {% include "frag_results.html.j2" %} -
-
-{% endblock %} -- cgit v1.3