remove old table
This commit is contained in:
parent
e2ac680121
commit
1a77862e4a
@ -79,41 +79,6 @@
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<table>
|
||||
<caption>All Vidoes</caption>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Date</th>
|
||||
<th>URL</th>
|
||||
<th>Title</th>
|
||||
<th>Link</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range .Items }}
|
||||
<tr>
|
||||
<td>{{ .Date }}</td>
|
||||
<td>{{ .URL }}</td>
|
||||
<td>
|
||||
{{ if eq .Title "Loading" }}
|
||||
<span data-yttitle="" data-ytid="{{.Id}}">Loading...</span>
|
||||
{{ else }}
|
||||
{{ .Title }}
|
||||
{{ end }}
|
||||
</td>
|
||||
<td>
|
||||
{{ if eq .Status "Done" }}
|
||||
<a target="_blank" href="{{ $.VidoesUrl }}/{{ .FileName }}">Watch</a>
|
||||
{{ else if eq .Status "InProgress" }}
|
||||
<span data-ytstatus="progress" data-ytid="{{.Id}}">In Progress</span>
|
||||
{{ else }}
|
||||
{{ .Status }}
|
||||
{{ end }}
|
||||
</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user