MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / formatDuration

Function formatDuration

web/scripts/ragnar_modern.js:19679–19690  ·  view source on GitHub ↗
(seconds)

Source from the content-addressed store, hash-verified

19677 <div class="flex items-center justify-between mb-2">
19678 <h3 class="text-lg font-semibold text-Ragnar-400 truncate" title="${filename}">${filename}</h3>
19679 <span class="text-xs text-gray-400 ml-2">${size}</span>
19680 </div>
19681 <div class="space-y-2 text-sm text-gray-300">
19682 <p><span class="text-gray-400">Source:</span> ${source}</p>
19683 <p><span class="text-gray-400">Timestamp:</span> ${timestamp}</p>
19684 </div>
19685 ${actionHint}
19686 </button>
19687 `;
19688 }
19689
19690 let html = `<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4" id="loot-preview-items">`;
19691
19692 // Add preview items
19693 previewItems.forEach(item => {

Callers 3

loadTrafficConnectionsFunction · 0.70
updateActiveScansFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected