Changeset View
Changeset View
Standalone View
Standalone View
swh/web/ui/templates/search.html
{% extends "layout.html" %} | {% extends "layout.html" %} | ||||
{% block title %}Search SWH{% endblock %} | {% block title %}Search SWH{% endblock %} | ||||
{% block content %} | {% block content %} | ||||
<div class="container"> | <div class="container"> | ||||
<!-- Include the predefined search form--> | <!-- Include the predefined search form--> | ||||
{% include 'search-form.html' %} | {% include 'includes/search-form.html' %} | ||||
{% if search_res is not none %} | {% if search_res is not none %} | ||||
<!-- Search result display --> | <!-- Search result display --> | ||||
{% if search_stats is not none %} | {% if search_stats is not none %} | ||||
<label class="search-stats"> | <label class="search-stats"> | ||||
Files available in SWH: {{ '%.2f' | format(search_stats['pct']) }}% of | Files available in SWH: {{ '%.2f' | format(search_stats['pct']) }}% of | ||||
{{ search_stats['nbfiles'] }} files. | {{ search_stats['nbfiles'] }} files. | ||||
</label> | </label> | ||||
Show All 32 Lines |