Remove features that were not working: Metadata, export button and reloading the website from the website itself

This commit is contained in:
Kylian Schmidt
2025-07-22 12:37:33 +02:00
parent 6eeacdc9b7
commit dced82a56f
5 changed files with 3 additions and 71 deletions
+1 -5
View File
@@ -41,11 +41,7 @@
<a href="{{ item.pdf_href }}">
<img src="{{ item.png_href }}" alt="{{ item.name }}">
</a>
<button class="metadata-btn"
data-plot-name="{{ item.name|e }}"
data-metadata="{{ item.metadata|tojson|e if item.metadata is not none and item.metadata|length > 0 else '{}' }}"
onclick="event.stopPropagation(); showMetadataPopup(this, this.dataset.plotName, JSON.parse(this.dataset.metadata))"
title="View metadata">
<button class="metadata-btn" onclick="event.stopPropagation(); showMetadataPopup(this, '{{ item.name|e }}', {{ (item.metadata or {})|tojson }})" title="View metadata">
</button>
<div class="plot-name" title="{{ item.name }}">{{ item.name }}</div>