restructure html templates
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
{{define "content"}}
|
||||
<h1 class="my-4">Play {{.Name}}</h1>
|
||||
|
||||
<div class="ratio ratio-4x3" style="max-width: 640px; margin: 0 auto;">
|
||||
<iframe id="gameFrame" src="/play/{{.Name}}/content/index.html" frameborder="0" allowfullscreen></iframe>
|
||||
</div>
|
||||
|
||||
<p style="margin-top: 20px"><a href="/" class="btn btn-primary">Back to Softwares</a></p>
|
||||
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user