X-Git-Url: http://git.shiar.nl/sc2-widget/blobdiff_plain/345c7759aa9a1ba996ccbea6750fc673626b4788..8fa3495ef2c5ea9cf57cda680cfc65b4404477cf:/widget.html
diff --git a/widget.html b/widget.html
index 88d5285..3fb38c3 100644
--- a/widget.html
+++ b/widget.html
@@ -4,6 +4,9 @@
StarCraft ][ Clan summary
+
+
+
@@ -12,9 +15,18 @@
fetch('/schtarr/inno.json')
.then(res => res.json())
.then(json => {
- let out = document.getElementById('clan');
- out.innerHTML = `${json.tag}
${json.league} #${json.rank}
`
- + json.members.map(member => ``).join('');
+ document.getElementById('clan').innerHTML = `
+ ${json.tag}
+
+ ${json.league} #${json.rank}
+
+ ${json.members.map(member => `
+
+ `).join('')}
+ `
})
.catch(error => console.log(error))