Update to v0.7.0 #30

Merged
serversdown merged 31 commits from dev into main 2026-03-08 03:13:20 -04:00
2 changed files with 7 additions and 3 deletions
Showing only changes of commit 6070d03e83 - Show all commits

View File

@@ -3412,9 +3412,13 @@ def _bulk_parse_rnh(content: bytes) -> dict:
"Serial Number": "serial_number",
"Store Name": "store_name",
"Index Number": "index_number",
# NL-43/NL-53 use "Measurement Start/Stop Time"
"Measurement Start Time": "start_time_str",
"Measurement Stop Time": "stop_time_str",
"Total Measurement Time": "total_time_str",
# AU2/NL-32 use bare "Start Time" / "Stop Time"
"Start Time": "start_time_str",
"Stop Time": "stop_time_str",
}
if key in mapping:
result[mapping[key]] = value

View File

@@ -235,7 +235,7 @@
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16v1a3 3 0 003 3h10a3 3 0 003-3v-1m-4-8l-4-4m0 0L8 8m4-4v12"></path>
</svg>
Upload Days
Upload Data
</button>
<button onclick="htmx.trigger('#unified-files', 'refresh')"
class="px-3 py-2 text-sm bg-gray-100 dark:bg-gray-700 text-gray-700 dark:text-gray-300 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-600 transition-colors">
@@ -248,7 +248,7 @@
</div>
</div>
<!-- Upload Days Panel -->
<!-- Upload Data Panel -->
<div id="upload-all-panel" class="hidden border-b border-gray-200 dark:border-gray-700">
<div class="px-6 py-4 bg-gray-50 dark:bg-gray-800/50">
<p class="text-sm font-medium text-gray-700 dark:text-gray-300 mb-1">Bulk Import — Select Folder</p>
@@ -1631,7 +1631,7 @@ document.getElementById('schedule-modal')?.addEventListener('click', function(e)
}
});
// ── Upload Days ───────────────────────────────────────────────────────────────
// ── Upload Data ───────────────────────────────────────────────────────────────
function toggleUploadAll() {
const panel = document.getElementById('upload-all-panel');