From fa1e63683ae32ca4beb0a3b8ca45c5a605771cb4 Mon Sep 17 00:00:00 2001 From: m39-ibrahim <mostafa2.ibrahim@live.uwe.ac.uk> Date: Mon, 24 Apr 2023 17:27:37 +0000 Subject: [PATCH] Upload New File --- search_results.html | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 search_results.html diff --git a/search_results.html b/search_results.html new file mode 100644 index 0000000..9f6df77 --- /dev/null +++ b/search_results.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} +{% block content %} + {% if not results %} + <p>No matches found.</p> + {% else %} + {% for (i, filename, header, matches) in results %} + <h2>{{ filename }}</h2> + <p>{{ header }}</p> + {% for match in matches %} + <li>{{ match }}</li> + {% endfor %} + {% endfor %} + {% endif %} +{% endblock %} -- GitLab