More minor UI adjustments
This commit is contained in:
@@ -7,6 +7,9 @@
|
|||||||
};
|
};
|
||||||
$.post("/playsound", data, function(data, success) {});
|
$.post("/playsound", data, function(data, success) {});
|
||||||
}
|
}
|
||||||
|
$(document).ready(function(){
|
||||||
|
$('[data-toggle="popover"]').popover();
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
<a href="/logout">Logout</a><br/>
|
<a href="/logout">Logout</a><br/>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
<div class="col-sm-3 text-center"><div class="sounditem" style="background-image: linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8)), url(/static/img/{{ .Itemprefix }}.jpg); background-size: 100%;"><a href="#" data-toggle="tooltip" title="{{ .Itemtext }}">{{ .Itemcommand }} {{ .Itemsoundname }}</a><br/>{{ .Itemshorttext }}<br/><a class="btn btn-default" href="javascript:playSound('{{ .Itemcommand }}', '{{ .Itemsoundname }}')" role="button">Play!</a></div></div>
|
<div class="col-sm-3 text-center"><div class="sounditem" style="background-image: linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8)), url(/static/img/{{ .Itemprefix }}.jpg); background-size: 100%;"><div data-toggle="popover" data-placement="top" data-content="{{ .Itemtext }}">{{ .Itemcommand }} {{ .Itemsoundname }}<br/>{{ .Itemshorttext }}<br/><a class="btn btn-default" href="javascript:playSound('{{ .Itemcommand }}', '{{ .Itemsoundname }}')" role="button">Play!</a></div></div></div>
|
||||||
|
|||||||
Reference in New Issue
Block a user