demo: Improve Bookstore HTML template
<head>
<meta content="Bookstore" name="description">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
- <title>Bookstore App</title>
+ <title>Bookstore</title>
<style>
#navbar {
width: 100%;
font: 1.2em "Consolas", sans-serif;
}
</style>
+ <script>
+ setTimeout(function(){window.location.reload(1);}, 1500);
+ </script>
</head>
<body bgcolor="#fff">
<div id="navbar">
- &#127873; Bookstore
+ &#128218; {{.Identity}}
</div>
<div id="main">
<ul>
- <li>Books sold: <strong>{{.BooksBought}}</strong>
- <li>Backend: <strong>{{.Identity}}</strong>
+ <li>Books sold: <strong>{{.BooksSold}}</strong>
</ul>
</div>
+
+ <br/><br/><br/><br/>
+ <br/><br/><br/><br/>
+ <br/><br/><br/><br/>
+
+ Current Time: <strong>{{.Time}}</strong>
</body>
</html>
