4 <meta charset="utf-8"/>
5 <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
7 <title>{{ title }}</title>
9 <link rel="stylesheet" href="/reset.css" type="text/css" />
10 <link rel="stylesheet" href="/style.css" type="text/css" />
13 function undisplay(element) {
14 element.style.display="none";
17 function add_message(severity, message) {
18 message = `<div class="message ${severity}" onclick="undisplay(this)">
19 <span class="hide-button" onclick="undisplay(this.parentElement)">×</span>
22 const message_area = document.getElementById('message-area');
23 message_area.insertAdjacentHTML('beforeend', message);
34 <div id="message-area">