morffix/tmpl/ffmpeg_commands.tmpl

32 lines
No EOL
668 B
Cheetah

{{template "head"}}
<h2>New FFmpeg Command</h2>
<form method="POST">
<label>Name:</label>
<input type="text" name="name">
<label>Data:</label>
<input type="text" name="data">
<input type="submit" value="Submit">
</form>
<h2>FFmpeg Commands:</h2>
<table>
<tr>
<th>ID</th>
<th>Name</th>
<th>Data</th>
</tr>
{{range $t := .FfmpegCommands}}
<tr onclick="window.location='/ffmpeg_commands/{{ $t.ID }}';">
<td>
{{ $t.ID }}
</td>
<td>
{{ $t.Name }}
</td>
<td>
{{ $t.Data }}
</td>
</tr>
{{end}}
</table>
{{template "tail"}}