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

Function handleEnableAttacksToggle

web/scripts/ragnar_modern.js:12756–12773  ·  view source on GitHub ↗
(checkbox)

Source from the content-addressed store, hash-verified

12754 }
12755 <span class="text-sm ${isSystemInfo ? 'text-blue-300' : 'text-gray-400'}">${escapeHtml(service.service)}</span>
12756 </div>
12757 ${service.version ? `
12758 <div class="text-sm text-cyan-300 font-mono bg-slate-900 bg-opacity-50 px-2 py-1 rounded inline-block">
12759 ${escapeHtml(service.version)}
12760 </div>
12761 ` : ''}
12762 </div>
12763 </div>
12764
12765 ${hasScripts ? `
12766 <div class="mt-3 space-y-2">
12767 ${service.scripts.map(script => `
12768 <div class="bg-slate-900 bg-opacity-50 rounded p-3">
12769 <div class="text-sm font-semibold text-purple-400 mb-2">
12770 📜 ${escapeHtml(script.name)}
12771 </div>
12772 <pre class="text-xs text-gray-300 font-mono whitespace-pre-wrap overflow-x-auto max-h-96 scrollbar-thin">${escapeHtml(script.output)}</pre>
12773 </div>
12774 `).join('')}
12775 </div>
12776 ` : ''}

Callers

nothing calls this directly

Calls 3

addConsoleMessageFunction · 0.70
showNotificationFunction · 0.70

Tested by

no test coverage detected