mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2026-04-05 07:17:52 +10:00
wip
This commit is contained in:
@@ -3,10 +3,10 @@
|
||||
"type": "object",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"SAVE_ARCHIVE_DOT_ORG": {
|
||||
"ARCHIVE_ORG_ENABLED": {
|
||||
"type": "boolean",
|
||||
"default": true,
|
||||
"x-aliases": ["SUBMIT_ARCHIVE_DOT_ORG"],
|
||||
"x-aliases": ["SAVE_ARCHIVE_DOT_ORG", "USE_ARCHIVE_ORG", "SUBMIT_ARCHIVE_DOT_ORG"],
|
||||
"description": "Submit URLs to archive.org Wayback Machine"
|
||||
},
|
||||
"ARCHIVE_ORG_TIMEOUT": {
|
||||
|
||||
10
archivebox/plugins/archive_org/templates/embed.html
Normal file
10
archivebox/plugins/archive_org/templates/embed.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% load config_tags %}
|
||||
{% get_config "ARCHIVEDOTORG_ENABLED" as enabled %}
|
||||
{% if enabled %}
|
||||
<!-- Archive.org embed - full iframe view -->
|
||||
<iframe src="{{ output_path }}"
|
||||
class="extractor-embed archivedotorg-embed"
|
||||
style="width: 100%; height: 600px; border: 1px solid #ddd;"
|
||||
sandbox="allow-same-origin allow-top-navigation-by-user-activation allow-scripts allow-forms">
|
||||
</iframe>
|
||||
{% endif %}
|
||||
10
archivebox/plugins/archive_org/templates/fullscreen.html
Normal file
10
archivebox/plugins/archive_org/templates/fullscreen.html
Normal file
@@ -0,0 +1,10 @@
|
||||
{% load config_tags %}
|
||||
{% get_config "ARCHIVEDOTORG_ENABLED" as enabled %}
|
||||
{% if enabled %}
|
||||
<!-- Archive.org fullscreen - full page iframe -->
|
||||
<iframe src="{{ output_path }}"
|
||||
class="extractor-fullscreen archivedotorg-fullscreen"
|
||||
style="width: 100%; height: 100vh; border: none;"
|
||||
sandbox="allow-same-origin allow-top-navigation-by-user-activation allow-scripts allow-forms">
|
||||
</iframe>
|
||||
{% endif %}
|
||||
12
archivebox/plugins/archive_org/templates/thumbnail.html
Normal file
12
archivebox/plugins/archive_org/templates/thumbnail.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% load config_tags %}
|
||||
{% get_config "ARCHIVEDOTORG_ENABLED" as enabled %}
|
||||
{% if enabled %}
|
||||
<!-- Archive.org thumbnail - iframe preview of archived page -->
|
||||
<div class="extractor-thumbnail archivedotorg-thumbnail" style="width: 100%; height: 100px; overflow: hidden;">
|
||||
<iframe src="{{ output_path }}"
|
||||
style="width: 100%; height: 100px; border: none; pointer-events: none;"
|
||||
loading="lazy"
|
||||
sandbox="allow-same-origin">
|
||||
</iframe>
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user