1
0
mirror of https://github.com/webrecorder/pywb.git synced 2025-03-26 15:59:23 +01:00
pywb/pywb/templates/query.html
Ilya Kreymer a65bfcf567 query ui: improvements to new query ui from @Fernando-Melo
- move scripts to query.js, fix formatting
- init ui from cdx list, refactor into single script
- use cdx api to retrieve query via ajax
- tests: update query tests to use cdx lookup instead
- remove server-side cdx lookup for /*/ endpoint
2018-01-09 13:10:42 -08:00

18 lines
823 B
HTML

<html>
<head>
<!-- jquery and bootstrap dependencies query view -->
<link rel="stylesheet" href="{{ host_prefix }}/{{ static_path }}/css/query.css">
<link rel="stylesheet" href="{{ host_prefix }}/{{ static_path }}/css/bootstrap.min.css">
<link rel="stylesheet" href="{{ host_prefix }}/{{ static_path }}/css/font-awesome.min.css">
<script src="{{ host_prefix }}/{{ static_path }}/js/jquery-latest.min.js"></script>
<script src="{{ host_prefix }}/{{ static_path }}/js/bootstrap.min.js"></script>
<script src="{{ host_prefix }}/{{ static_path }}/query.js"></script>
</head>
<body>
<h2 class="text-center">pywb Query Results</h2>
<h3 class="text-center"><b id="count"></b> captures of <b>{{ url }}</b></h3>
<div id="captureYears"></div>
<script>new RenderCalendar("{{ prefix }}", "{{ url }}");</script>
</body>
</html>