Move import/export buttons to the bottom of the page

This commit is contained in:
Booteille 2025-05-18 19:02:38 +02:00
parent f80054684e
commit f17219f905
No known key found for this signature in database
GPG Key ID: 0AB6C6CA01272646
1 changed files with 23 additions and 21 deletions

View File

@ -25,27 +25,6 @@
<span><%= l('Purge expired files') %></span>
</span>
</button>
<a id="action-export-storage" href="#" class="button">
<span class="icon-text">
<span class="icon fas fa-download"></span>
<span><%= l('Export local data') %></span>
</span>
</a>
<div class="file">
<label class="file-label">
<input id="action-import-storage" type="file" class="file-input" name="import-local-data">
<span class="file-cta">
<span class="file-icon">
<span class="fas fa-upload"></span>
</span>
<span class="file-label">
<%= l('Import local data') %>
</span>
</span>
</label>
</div>
</div>
<div class="table-container">
@ -72,6 +51,29 @@
<tbody id="items-table"></tbody>
</table>
</div>
<div class="buttons">
<a id="action-export-storage" href="#" class="button">
<span class="icon-text">
<span class="icon fas fa-download"></span>
<span><%= l('Export local data') %></span>
</span>
</a>
<div class="file">
<label class="file-label">
<input id="action-import-storage" type="file" class="file-input" name="import-local-data">
<span class="file-cta">
<span class="file-icon">
<span class="fas fa-upload"></span>
</span>
<span class="file-label">
<%= l('Import local data') %>
</span>
</span>
</label>
</div>
</div>
</div>
<template id="item">