Select an experiment from the Experiments tab first.
-
+
0.7
@@ -3723,13 +3740,16 @@ function labTab(name) {
}
function toast(msg, ok=true) {
- const t = document.createElement('div');
+ var t = document.createElement('div');
t.className = 'toast ' + (ok ? 'ok' : 'err');
- t.textContent = msg;
+ t.textContent = ok ? '✓ ' + msg : '✗ ' + msg;
document.body.appendChild(t);
- setTimeout(() => t.remove(), 3000);
+ setTimeout(function(){ t.style.opacity='0'; t.style.transition='opacity 0.3s'; setTimeout(function(){t.remove()},300); }, 2500);
}
+// Background grid
+!function(){var c=document.getElementById('bg-grid');if(!c)return;var x=c.getContext('2d');function resize(){c.width=window.innerWidth;c.height=window.innerHeight}resize();window.addEventListener('resize',resize);var t=0;function draw(){x.clearRect(0,0,c.width,c.height);var s=50,ox=(t*0.2)%s,oy=(t*0.1)%s;x.fillStyle='rgba(226,181,90,0.025)';for(var gx=-s+ox;gx