Memory leak counter measure test and web ui bug fix + improvements
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -0,0 +1 @@
|
||||
</div>
|
||||
@@ -0,0 +1 @@
|
||||
<div class="row">
|
||||
Reference in New Issue
Block a user