diff --git a/src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html b/src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html new file mode 100644 index 0000000..f9393a4 --- /dev/null +++ b/src/colab-spb-theme-plugin/colab_spb_theme/templates/search/search.html @@ -0,0 +1,128 @@ +{% extends "base.html" %} +{% load i18n highlight superarchives %} +{% load static from staticfiles %} + +{% block title %}{% trans 'search'|title %}{% endblock %} + +{% block head_js %} + +{% if use_language %} + +{% endif %} + + +{% endblock head_js %} + +{% block head_css %} + +{% endblock %} + +{% block main-content %} +
+
+
+

{% trans "Search" %}

+
+
+

+

+ {{ page.paginator.count }} {% trans "documents found" %} +

+
+
+ +
+ +
+ + +
+ +
+ {% for result in page.object_list %} + {% include "message-preview.html" %} + {% empty %} +
    +
  • + {% trans "No results for your search." %} + {% if request.GET.q %} +

    {% trans "You are searching for" %} {{ request.GET.q }}

    + {% endif %} +
  • +
+ {% endfor %} + + {% if page.has_other_pages %} +
+ +
+ {% endif %} +
+ +
+
+{% endblock main-content %} \ No newline at end of file -- libgit2 0.21.2