From ad8c1eeebe0db29b65a70b8f1c3795ffb3001206 Mon Sep 17 00:00:00 2001 From: Kasalehlia <kasalehlia@clonejo.de> Date: Wed, 18 Jan 2017 20:46:16 +0100 Subject: [PATCH] made use of the empty space --- modules/brand.js | 2 +- modules/brand/template.mustache | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/brand.js b/modules/brand.js index 45ecdbb..dad6692 100644 --- a/modules/brand.js +++ b/modules/brand.js @@ -17,7 +17,7 @@ function renderStatus(sock, everything) { sock.emit('brand.status', Mustache.render(TEMPLATES.status, status)); } if (everything) { - sock.emit('brand', Mustache.render(TEMPLATES.template, status)); + sock.emit('brand', Mustache.render(TEMPLATES.template, {random: Math.random()})); setTimeout(sendInner, 3000); } else { sendInner(); diff --git a/modules/brand/template.mustache b/modules/brand/template.mustache index b2be527..35b25e6 100644 --- a/modules/brand/template.mustache +++ b/modules/brand/template.mustache @@ -1,2 +1,3 @@ <img src="/modules/brand/stratum0_logo.svg"><br> <h3 data-infodisplay-outlet="status"></h3> +<img style="width: 470px; height: 310px" src="http://maurudor.de/?rasd={{random}}"></img> -- GitLab