spb/cluster-skill
Public
HTML 57.2%
Shell 19.1%
Python 11.2%
CSS 7.4%
JavaScript 5.1%
1(function(){2 const d = document.querySelector('iframe').contentDocument;3 const h=d.querySelector('input[name=hostname]'), k=d.querySelector('textarea[name=sshKey]'), p=d.querySelector('textarea[name=postInstallationScript]');4 const errs=[...d.querySelectorAll('.oui-field__error, .error, [class*=error]')].map(e=>e.textContent.trim()).filter(Boolean).slice(0,10);5 const val=[...d.querySelectorAll('button')].filter(e=>e.textContent.trim()==='Valider' && e.offsetParent!==null).map(e=>'disabled='+e.disabled);6 return JSON.stringify({hostname:h.value, key:k.value.slice(0,40), scriptLen:p.value.length, scriptHead:p.value.slice(0,60), errs, val});7})()8