diff --git a/css/level2.css b/css/level2.css index 22ac744..433b6eb 100644 --- a/css/level2.css +++ b/css/level2.css @@ -73,7 +73,8 @@ h1, h2, h3, h4, h5, h6 { } .hackers { - font-size: 0.8em; + font-size: 0.4em; + margin-bottom: 1em; } .logo { diff --git a/index.html b/index.html index cd73db8..c23eebc 100644 --- a/index.html +++ b/index.html @@ -16,6 +16,7 @@
diff --git a/js/level2.js b/js/level2.js index 1baef30..e53dbc2 100644 --- a/js/level2.js +++ b/js/level2.js @@ -224,12 +224,13 @@ function l2status() { if (status.state.open) { $('.status') .addClass('open') - .html('

Open

Opened ' + timeStamp + "
" + - '
' +status.sensors.people_now_present[0].value + ' people inside
' ); + .html('

Open

Opened ' + timeStamp); + $('.hackers').html( status.sensors.people_now_present[0].value + ' people inside' ); } else { $('.status') .addClass('closed') .html('

Closed

' + timeStamp); + $('.hackers').html(''); } } });