Add the metadata file path for easy copy+paste

This commit is contained in:
Kylian Schmidt
2025-07-29 11:18:03 +02:00
parent bcb083bbb9
commit fc4928fef1
5 changed files with 243 additions and 8 deletions
+13
View File
@@ -44,6 +44,19 @@
</button>
<div class="metadata-content" id="metadataContent" style="display: none;">
<div class="metadata-header">
<div class="metadata-file-info">
<span class="file-path-label">📁 Metadata file:</span>
<code class="file-path" id="metadata-file-path">{{ metadata_file_path }}</code>
<button class="copy-path-btn" onclick="copyMetadataPath()" title="Copy path to clipboard">
📋 Copy
</button>
<span class="tip-icon" title="Tip: Create this file in the source directory to add folder-level metadata that will be inherited by all plots in this folder and its subdirectories. Supports both YAML (.yaml/.yml) and JSON (.json) formats.">
💡
</span>
</div>
</div>
<div class="metadata-grid">
{% for key, value in folder_metadata.items() %}
<div class="metadata-item">