Skip to content

Commit

Permalink
Wrap in a div
Browse files Browse the repository at this point in the history
  • Loading branch information
rroller committed Nov 19, 2024
1 parent 8f41afe commit 2d9ba57
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions templates/media/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,12 @@ <h1 class="display-4"><a class="text-light" href="/">media roller</a></h1>
<div style="margin-top:20px;">
<h2>Done!</h2>
{{range .media}}
<a style="color: dodgerblue" href="/download?id={{.Id}}">{{.Name}}</a> <small>{{.HumanSize}}</small><br>
<video controls loop width="250">
<source src="/download?id={{.Id}}" type="video/mp4"/>
</video>
<div>
<a style="color: dodgerblue" href="/download?id={{.Id}}">{{.Name}}</a> <small>{{.HumanSize}}</small><br>
<video controls loop width="250">
<source src="/download?id={{.Id}}" type="video/mp4"/>
</video>
</div>
{{ end }}
</div>
{{ end }}
Expand Down

0 comments on commit 2d9ba57

Please sign in to comment.