support export and import
This commit is contained in:
@@ -52,6 +52,13 @@
|
||||
<div id="presetList" class="mt-4 space-y-2 max-h-40 overflow-y-auto pr-1">
|
||||
<!-- Saved presets -->
|
||||
</div>
|
||||
|
||||
<!-- Import/Export Presets -->
|
||||
<div class="flex gap-2 pt-2 border-t border-gray-100">
|
||||
<button id="exportPresets" class="flex-1 bg-white text-gray-600 text-[10px] py-1 rounded border border-gray-300 hover:bg-gray-50 transition-colors font-medium">导出预设</button>
|
||||
<button id="importPresets" class="flex-1 bg-white text-gray-600 text-[10px] py-1 rounded border border-gray-300 hover:bg-gray-50 transition-colors font-medium">导入预设</button>
|
||||
<input type="file" id="importInput" class="hidden" accept=".json">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user