make data export a bool config setting

This commit is contained in:
2026-05-13 07:24:16 +02:00
parent 18661e5d2c
commit 5d2dd3aca8
4 changed files with 77 additions and 23 deletions

View File

@@ -257,6 +257,7 @@
@endif
</div>
@if(enable_data_export)
<h2>{{ t('settings.export_data_title') || 'Export Data' }}</h2>
<div class="export-settings-wrapper" style="background: rgba(0,0,0,0.1); padding: 20px; border-radius: 4px; border: 1px solid var(--nav-border-color); margin-bottom: 30px;">
<p>{{ t('settings.export_data_desc') || 'Download a copy of your data. This process happens entirely in your browser to protect your privacy and save server resources.' }}</p>
@@ -295,6 +296,7 @@
<i class="fa-solid fa-download" style="margin-right: 5px;"></i> {{ t('settings.start_export') || 'Generate Export (ZIP)' }}
</button>
</div>
@endif
<h2>{{ t('settings.account') }}</h2>
<div class="account-settings-wrapper"