2019-03-08 16:11:07 -08:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
|
|
|
{{ _('Search Results') }}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block head %}
|
|
|
|
{{ super() }}
|
2021-08-31 21:17:01 -07:00
|
|
|
|
|
|
|
{% if not ui.vue_calendar_ui %}
|
2019-09-04 14:57:09 -04:00
|
|
|
<link rel="stylesheet" href="{{ static_prefix }}/css/query.css">
|
2020-07-10 20:22:58 -07:00
|
|
|
<script src="{{ static_prefix }}/js/url-polyfill.min.js"></script>
|
2019-03-08 16:11:07 -08:00
|
|
|
<script src="{{ static_prefix }}/query.js"></script>
|
2021-08-31 21:17:01 -07:00
|
|
|
{% else %}
|
|
|
|
|
|
|
|
<script src="{{ static_prefix }}/vue/vueui.js"></script>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2019-03-08 16:11:07 -08:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
|
|
{% block body %}
|
2021-08-31 21:17:01 -07:00
|
|
|
|
|
|
|
{% if not ui.vue_calendar_ui %}
|
2019-02-18 13:26:29 -05:00
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row justify-content-center">
|
2019-11-01 18:30:23 -04:00
|
|
|
<h4 class="display-4 text-center text-sm-left p-0">{{ _('Search Results') }}</h4>
|
2019-02-18 13:26:29 -05:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container">
|
2019-11-01 18:30:23 -04:00
|
|
|
<div class="row justify-content-center text-center text-sm-left mt-1" id="display-query-type-info"></div>
|
2019-02-18 13:26:29 -05:00
|
|
|
</div>
|
|
|
|
<div class="container mt-3 q-display" id="captures"></div>
|
2021-08-31 21:17:01 -07:00
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
2019-02-18 13:26:29 -05:00
|
|
|
<script>
|
2019-03-08 16:11:07 -08:00
|
|
|
var text = {
|
|
|
|
months: {
|
|
|
|
'01': "{{ _('January') }}",
|
|
|
|
'02': "{{ _('February') }}",
|
|
|
|
'03': "{{ _('March') }}",
|
|
|
|
'04': "{{ _('April') }}",
|
|
|
|
'05': "{{ _('May') }}",
|
|
|
|
'06': "{{ _('June') }}",
|
|
|
|
'07': "{{ _('July') }}",
|
|
|
|
'08': "{{ _('August') }}",
|
|
|
|
'09': "{{ _('September') }}",
|
|
|
|
'10': "{{ _('October') }}",
|
|
|
|
'11': "{{ _('November') }}",
|
|
|
|
'12': "{{ _('December') }}",
|
|
|
|
},
|
2022-08-19 08:27:22 +02:00
|
|
|
version: "{{ _('capture of') }}",
|
|
|
|
versions: "{{ _('captures of') }}",
|
2019-03-08 16:11:07 -08:00
|
|
|
result: "{{ _('result') }}",
|
|
|
|
results: "{{ _('results') }}",
|
2022-08-19 08:27:22 +02:00
|
|
|
matching: "{{ _('for matching') }}",
|
|
|
|
by: "{{ _('by') }}",
|
2019-03-08 16:11:07 -08:00
|
|
|
viewAllCaptures: "{{ _('View All Captures') }}",
|
|
|
|
dateTime: "{{ _('Date Time: ') }}",
|
2022-08-19 08:27:22 +02:00
|
|
|
mimeType: "{{ _('Mime Type: ') }}",
|
|
|
|
httpStatus: "{{ _('HTTP Status: ') }}",
|
|
|
|
types: {
|
|
|
|
'prefix': "{{ _('prefix') }}",
|
|
|
|
'host': "{{ _('host') }}",
|
|
|
|
'domain': "{{ _('domain') }}",
|
|
|
|
},
|
2019-03-08 16:11:07 -08:00
|
|
|
};
|
|
|
|
|
2021-08-31 21:17:01 -07:00
|
|
|
{% if not ui.vue_calendar_ui %}
|
|
|
|
|
2019-03-08 16:11:07 -08:00
|
|
|
var renderCal = new RenderCalendar({ prefix: "{{ prefix }}", staticPrefix: "{{ static_prefix }}", text: text });
|
2019-02-18 13:26:29 -05:00
|
|
|
renderCal.init();
|
2021-08-31 21:17:01 -07:00
|
|
|
|
|
|
|
{% else %}
|
2022-01-23 17:55:24 -08:00
|
|
|
VueUI.main("{{ static_prefix }}", "{{ url }}", "{{ prefix }}", undefined, "{{ ui.logo }}");
|
2021-08-31 21:17:01 -07:00
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
2019-02-18 13:26:29 -05:00
|
|
|
</script>
|
2021-08-31 21:17:01 -07:00
|
|
|
|
|
|
|
{% if ui.vue_calendar_ui %}
|
|
|
|
<div id="app" style="width: 100%; height: 100%"></div>
|
|
|
|
{% endif %}
|
|
|
|
|
2019-03-08 16:11:07 -08:00
|
|
|
{% endblock %}
|