Memory leak counter measure test and web ui bug fix + improvements

This commit is contained in:
da
2017-01-22 00:20:04 +01:00
parent 1e50475a46
commit 077e3b7a8d
7 changed files with 77 additions and 39 deletions
+6 -7
View File
@@ -15,11 +15,12 @@
body {
padding-top: 50px;
}
.vcenter {
display: inline-block;
vertical-align: middle;
float: none;
}
.itembuffer {
margin: 1px;
padding: 5px;
border: 1px solid black;
background-color: #f2f2f2;
}
</style>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -55,5 +56,3 @@
<h1>Gidbig</h1>
<p class="lead">{{ template "sessionHandler" . }}</p>
{{ end }}
+1
View File
@@ -0,0 +1 @@
<div class="col-sm-3 text-center"><div class="itembuffer">{{ .Itemtext }}<br/><a class="btn btn-default" href="javascript:playSound('{{ .Itemcommand }}', '{{ .Itemsoundname }}')" role="button">Play!</a></div></div>
-5
View File
@@ -1,5 +0,0 @@
<div class="row">
{{ range . }}
<div class="col-sm-3 text-center">{{ .Itemtext }}<br/><a class="btn btn-primary" href="javascript:playSound('{{ .Itemcommand }}', '{{ .Itemsoundname }}')" role="button">Play!</a></div>
{{ end }}
</div>
+1
View File
@@ -0,0 +1 @@
</div>
+1
View File
@@ -0,0 +1 @@
<div class="row">