mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-14 15:14:31 -04:00
39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
{% load tz core_tags static %}
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title>{{title}}</title>
|
|
<meta charset="utf-8" name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
</style>
|
|
<style>
|
|
html, body {
|
|
width: 100%;
|
|
height: 100%;
|
|
background-color: #ddd;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
ReplayWeb.page for: {{snapshot.url}} ({{timestamp}}) /{{warc_filename}}
|
|
|
|
{{snapshot}}
|
|
|
|
<script>
|
|
// https://cdn.jsdelivr.net/npm/replaywebpage@1.8.14/sw.min.js
|
|
// https://cdn.jsdelivr.net/npm/replaywebpage@1.8.14/ui.min.js
|
|
</script>
|
|
|
|
<style>
|
|
replay-web-page {
|
|
width: 100%;
|
|
height: 900px;
|
|
}
|
|
</style>
|
|
<script src="/static/ui.js"></script>
|
|
|
|
<replay-web-page style="height: 600px" embed="replay-with-info" replayBase="/static/" source="{% static 'test.wacz' %}" url="https://example.com/"></replay-web-page>
|
|
</body>
|
|
</html>
|