2020-08-27 01:44:06 +00:00
|
|
|
{% extends "base.html" %}
|
2021-04-10 08:19:30 +00:00
|
|
|
{% load static tz %}
|
2020-08-20 14:04:34 +00:00
|
|
|
|
2020-08-27 01:44:06 +00:00
|
|
|
{% block body %}
|
2021-01-29 03:28:10 +00:00
|
|
|
<div id="toolbar">
|
|
|
|
<form id="changelist-search" action="{% url 'public-index' %}" method="get">
|
|
|
|
<div>
|
|
|
|
<label for="searchbar"><img src="/static/admin/img/search.svg" alt="Search"></label>
|
2021-01-29 14:08:03 +00:00
|
|
|
<input type="text" size="40" name="q" value="" id="searchbar" autofocus placeholder="Title, URL, tags, timestamp, or content...".>
|
2021-01-29 03:28:10 +00:00
|
|
|
<input type="submit" value="Search" style="height: 36px; padding-top: 6px; margin: 8px"/>
|
|
|
|
<input type="button"
|
|
|
|
value="♺"
|
|
|
|
title="Refresh..."
|
|
|
|
onclick="location.href='{% url 'public-index' %}'"
|
|
|
|
style="background-color: rgba(121, 174, 200, 0.8); height: 30px; font-size: 0.8em; margin-top: 12px; padding-top: 6px; float:right">
|
|
|
|
</input>
|
2021-04-10 08:19:30 +00:00
|
|
|
|
|
|
|
|
|
|
|
{{ page_obj.start_index }}-{{ page_obj.end_index }} of {{ page_obj.paginator.count }} total
|
|
|
|
|
|
|
|
(Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }})
|
2021-01-29 03:28:10 +00:00
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
2021-04-10 08:19:30 +00:00
|
|
|
<div style="width: 100%; overflow-x: auto;">
|
|
|
|
<table id="table-bookmarks" style="width: 100%; table-layout: fixed">
|
|
|
|
<thead>
|
|
|
|
<tr>
|
2021-04-10 10:38:33 +00:00
|
|
|
<th style="width: 132px">Bookmarked</th>
|
2021-04-10 08:19:30 +00:00
|
|
|
<th>Snapshot ({{page_obj.paginator.count}})</th>
|
2021-04-10 10:38:33 +00:00
|
|
|
<th style="width: 280px">Files</th>
|
2021-04-10 08:19:30 +00:00
|
|
|
<th>Original URL</th>
|
|
|
|
</tr>
|
|
|
|
</thead>
|
2020-12-02 21:56:16 +00:00
|
|
|
<tbody>
|
|
|
|
{% for link in object_list %}
|
2021-01-30 10:35:07 +00:00
|
|
|
{% include 'index_row.html' with link=link %}
|
2020-12-02 21:56:16 +00:00
|
|
|
{% endfor %}
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2021-04-10 08:19:30 +00:00
|
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<center>
|
|
|
|
Showing {{ page_obj.start_index }}-{{ page_obj.end_index }} of {{ page_obj.paginator.count }} total
|
|
|
|
<br/>
|
|
|
|
<span class="step-links">
|
|
|
|
{% if page_obj.has_previous %}
|
|
|
|
<a href="{% url 'public-index' %}?page=1">« first</a>
|
|
|
|
<a href="{% url 'public-index' %}?page={{ page_obj.previous_page_number }}">previous</a>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<span class="current">
|
|
|
|
Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}
|
2020-08-20 20:43:28 +00:00
|
|
|
</span>
|
2021-04-10 08:19:30 +00:00
|
|
|
|
|
|
|
{% if page_obj.has_next %}
|
|
|
|
|
|
|
|
<a href="{% url 'public-index' %}?page={{ page_obj.next_page_number }}">next </a>
|
|
|
|
<a href="{% url 'public-index' %}?page={{ page_obj.paginator.num_pages }}">last »</a>
|
|
|
|
{% endif %}
|
2020-11-28 06:07:02 +00:00
|
|
|
</span>
|
|
|
|
<br>
|
2020-08-20 20:43:28 +00:00
|
|
|
</center>
|
2020-11-28 06:07:02 +00:00
|
|
|
{% endblock %}
|