This repository has been archived on 2022-01-08. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gidbig/templates/item.html
T
da 8b2a052422 Web Interface improvements and bug fixes
- Added button for random sounds to each category
- Visual improvements on category separation and a lot more (thanks, Pixeljockey)
- Crash bug fix on playing random sounds with commands without soundnames
2017-02-02 17:29:11 +01:00

2 lines
498 B
HTML

<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="tooltip" data-placement="top" title="{{ .Itemtext }}">{{ .Itemcommand }} {{ .Itemsoundname }}<br/>{{ .Itemshorttext }}<br/><a class="btn btn-primary" href="javascript:playSound('{{ .Itemcommand }}', '{{ .Itemsoundname }}')" role="button">Play!</a><br/></div></div></div>