aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/templates/wiki/search.html
diff options
context:
space:
mode:
Diffstat (limited to 'pydis_site/templates/wiki/search.html')
-rw-r--r--pydis_site/templates/wiki/search.html64
1 files changed, 0 insertions, 64 deletions
diff --git a/pydis_site/templates/wiki/search.html b/pydis_site/templates/wiki/search.html
deleted file mode 100644
index 154b6934..00000000
--- a/pydis_site/templates/wiki/search.html
+++ /dev/null
@@ -1,64 +0,0 @@
-{% extends "wiki/base.html" %}
-{% load i18n %}
-{% load wiki_tags %}
-
-
-{% block wiki_pagetitle %}Search results for: "{{ search_query }}"{% endblock %}
-
-{% block wiki_contents %}
- <h1 class="page-header">Search results for: "{{ search_query }}"</h1>
-
- <form class="form-search directory-toolbar">
- <p>
- {% if urlpath %}
- Searching: <strong>in {{ urlpath.article }}</strong>
- {% else %}
- Searching: <strong>everywhere</strong>
- {% endif %}
- </p>
-
- <div class="field has-addons">
- <div class="control has-icons-left is-expanded">
- <input type="search" class="input" name="q" value="{{ search_query }}" />
- <span class="icon is-left">
- <i class="fas fa-search"></i>
- </span>
- </div>
- <div class="control">
- <button class="button is-primary" type="submit">
- Search
- </button>
- </div>
- </div>
-
- <p>
- {% blocktrans with paginator.object_list.count as cnt %}
- Your search returned <strong>{{ cnt }}</strong> results.
- {% endblocktrans %}
- </p>
- </form>
-
- {% include "wiki/includes/pagination.html" %}
-
- <table class="table is-striped">
- <tr>
- <th>Title</th>
- <th class="has-text-right">Last modified</th>
- </tr>
-
- {% for article in articles %}
- {% block wiki_search_loop %}
- {% include "wiki/includes/searchresult.html" %}
- {% endblock %}
-
- {% empty %}
- <tr>
- <td colspan="2">
- <em>No articles were found for that search query.</em>
- </td>
- </tr>
- {% endfor %}
- </table>
-
- {% include "wiki/includes/pagination.html" %}
-{% endblock %}