remove old table

This commit is contained in:
Balakrishnan Balasubramanian 2022-07-14 16:22:06 -04:00
parent e2ac680121
commit 1a77862e4a

View File

@ -79,41 +79,6 @@
</div> </div>
{{ end }} {{ end }}
</div> </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> </div>
</body> </body>
</html> </html>