diff --git a/ampel-firmware/web_server.cpp b/ampel-firmware/web_server.cpp index 07901a845afce1bcf31601918f08227b5b610d09..0bde38d3f94b25d3b34299e37ffe9342f68c54c9 100644 --- a/ampel-firmware/web_server.cpp +++ b/ampel-firmware/web_server.cpp @@ -44,7 +44,7 @@ namespace web_server { "<title>%d ppm - CO2 SENSOR - %s - %s</title>" "<meta charset='UTF-8'>" // HfT Favicon - "<link rel='icon' type='image/png' sizes='16x16' href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAHtJREFUOE9jvMnA+5+BAsBIFQMkl85h+P3kGcOb8jqwW+TPH2H4de0GA29UGNxtfx49YWCRk0HwHz5iuKegwwB2AS4DkA2F6VR6cAWsEQbgBqDY9vARw/ejJ+Au+LxsFcPz6BSwHpwGYPMCSS6gyAAKYhESiKMGjPgwAADopHVhn5ynEwAAAABJRU5ErkJggg=='/>" + "<link rel='icon' type='image/png' sizes='16x16' href='data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAHtJREFUOE9jvMnA+5+BAsBIFQMkl85h+P3kGcOb8jqwW+TPH2H4de0GA29UGNxtfx49YWCRk0HwHz5iuKegwwB2AS4DkA2F6VR6cAWsEQbgBqDY9vARw/ejJ+Au+LxsFcPz6BSwHpwGYPMCSS6gyAAKYhESiKMGjPgwAADopHVhn5ynEwAAAABJRU5ErkJggg=='>" // Responsive grid: "<link rel='stylesheet' href='https://unpkg.com/purecss@2.0.6/build/pure-min.css'>" "<link rel='stylesheet' href='https://unpkg.com/purecss@2.0.6/build/grids-responsive-min.css'>" @@ -101,7 +101,7 @@ namespace web_server { "<div id='log' class='pure-u-1 pure-u-md-1-2'></div>" "<form action='/command'><input type='text' id='send' name='send'><input type='submit' value='Send'></form>" "<form action='/delete_csv' method='POST' onsubmit=\"return confirm('Are you really sure you want to delete all data?') && (document.body.style.cursor = 'wait');\">" - "<input type='submit' value='Delete CSV'/>" + "<input type='submit' value='Delete CSV'>" "</form>" "<button onclick=\"fetch('/command?send=set_time '+Math.floor(Date.now()/1000))\" %s>Set time!</button>" // Can be useful in AP mode "</div>"