move ffmpeg command to seperate table

This commit is contained in:
Samuel Lorch 2024-06-23 22:47:50 +02:00
parent 72dfd2408f
commit cdeb266e38
20 changed files with 245 additions and 84 deletions

View file

@ -16,8 +16,14 @@
</select>
<label for="type">Type</label>
<select id="type" name="type">
<option value="0">Health Check</option>
<option value="1">Transcode</option>
<option value="0">Health Check</option>
<option value="1">Transcode</option>
</select>
<label for="ffmpeg_command">FFmpeg Command:</label>
<select id="ffmpeg_command" name="ffmpeg_command">
{{range $l := .FfmpegCommands}}
<option value="{{$l.ID}}">{{$l.Name}}</option>
{{end}}
</select>
<input type="submit" value="Submit">
</form>
@ -42,6 +48,7 @@ Total: {{.Stats.TotalCount}}
<th>Library</th>
<th>Worker</th>
<th>Type</th>
<th>FFmpeg Command</th>
<th>Status</th>
<th>File</th>
<th>Updated At</th>
@ -60,6 +67,9 @@ Total: {{.Stats.TotalCount}}
<td>
{{ $t.Type }}
</td>
<td>
{{ $t.FfmpegCommand }}
</td>
<td>
{{ $t.Status }}
</td>