## Dashboard Improvements ### 1. Add Time to Next Backup Display - Add new `/next-backup` endpoint with cron schedule parsing - Display time until next backup in human-readable format (e.g., "16 hours") - Show formatted next backup time (e.g., "07:00am") - Add next backup info to System Health card with schedule details - Include format_time_until helper for readable time formatting ### 2. Reorganize Dashboard Layout - Move "Discovered Containers" section above "Recent Backups" - Improve workflow by showing monitored containers before backup history - Better logical flow for users checking system status ### 3. Add Pagination to Recent Backups - Implement client-side pagination with 10 backups per page - Add pagination controls with Previous/Next buttons and page info - Show "Page X of Y" information when multiple pages exist - Hide pagination when 10 or fewer backups exist - Maintain all existing backup display functionality ### 4. Load Historical Backups on Startup - BackupMonitor now scans existing .meta files on initialization - Loads historical backup data from metadata files into backup history - Estimates duration for historical backups based on file size - Maintains chronological order and 1000-record memory limit - Dashboard now shows complete backup history immediately ### Technical Changes - Add loadNextBackupTime() function with auto-refresh - Implement displayBackupsPage() with pagination logic - Add CSS classes for pagination styling - Update refreshAll() to include next backup time - Remove duplicate loadRecentBackups functions - Add proper error handling for all new endpoints Dashboard now provides comprehensive backup monitoring with improved user experience and complete historical data visibility. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
---|---|---|
.. | ||
baktainer | ||
baktainer.rb |