70 lines
2.2 KiB
HTML
70 lines
2.2 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{{.original.Title}}</title>
|
|
<link rel="stylesheet" href="/static/style/common.css">
|
|
<link rel="stylesheet" href="/static/style/video.css">
|
|
{{template "footer-css" .}}
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<h1>{{.original.Title}}</h1>
|
|
|
|
<div class="media-grid">
|
|
{{range .videos}}
|
|
<div class="media-card">
|
|
<h3>{{.Source}} {{.Width}} x {{.Height}} @ {{.FPS}}</h3>
|
|
<div class="video-container">
|
|
<video controls playsinline preload="none">
|
|
<source src="/temp/{{.Token}}" type="video/mp4">
|
|
Your browser does not support the video tag.
|
|
</video>
|
|
</div>
|
|
<div class="media-download">
|
|
<a href="/data/{{.Filename}}" download="{{.DownloadFilename}}">Download ({{.Size}}, {{.StreamRate}})</a>
|
|
</div>
|
|
{{if ne .Source "original"}}
|
|
<div class="media-controls">
|
|
<form action="/delete_video/{{.ID}}" method="post">
|
|
<button type="submit">Delete</button>
|
|
</form>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
<div class="media-grid">
|
|
{{range .audios}}
|
|
<div class="media-card">
|
|
<h3>{{.Kbps}}</h3>
|
|
<div class="audio-container">
|
|
<audio controls playsinline preload="none">
|
|
<source src="/temp/{{.Token}}">
|
|
Your browser does not support the audio tag.
|
|
</audio>
|
|
</div>
|
|
<div class="media-download">
|
|
<a href="/data/{{.Filename}}" download="{{.DownloadFilename}}">Download ({{.Size}}, {{.StreamRate}})</a>
|
|
</div>
|
|
{{if ne .Source "original"}}
|
|
<div class="media-controls">
|
|
<form action="/delete_audio/{{.ID}}" method="post">
|
|
<button type="submit">Delete</button>
|
|
</form>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
|
|
|
|
<script src="/static/script/save-media-progress.js"></script>
|
|
|
|
{{template "footer" .}}
|
|
</body>
|
|
|
|
</html> |