Download dashboard/templates/errors.html from afluakd9/Video-downloader-CPU-basic: direct link, hf CLI and curl.
- Browser
- Download file 2.05 kB
-
https://huggingface.co/spaces/afluakd9/Video-downloader-CPU-basic/resolve/main/dashboard/templates/errors.html
- Command line
-
hf download hf://spaces/afluakd9/Video-downloader-CPU-basic/dashboard/templates/errors.html
-
curl -L -o errors.html https://huggingface.co/spaces/afluakd9/Video-downloader-CPU-basic/resolve/main/dashboard/templates/errors.html
2.05 kB
| {% extends "base.html" %} | |
| {% set active = "errors" %} | |
| {% block title %} β errors{% endblock %} | |
| {% block content %} | |
| <h1 class="page-title">Download Errors</h1> | |
| <!-- Date filter --> | |
| <form class="filter-bar" method="get" action="/errors"> | |
| <input type="date" name="date_from" class="filter-input" value="{{ request.query_params.get('date_from', '') }}" /> | |
| <input type="date" name="date_to" class="filter-input" value="{{ request.query_params.get('date_to', '') }}" /> | |
| <button type="submit" class="btn btn-primary">Filter</button> | |
| <a href="/errors" class="btn btn-secondary">Clear</a> | |
| </form> | |
| <div class="card table-card"> | |
| <div class="table-scroll"> | |
| <table class="data-table"> | |
| <thead> | |
| <tr> | |
| <th>Timestamp</th> | |
| <th>User</th> | |
| <th>URL</th> | |
| <th>Platform</th> | |
| <th>Error</th> | |
| </tr> | |
| </thead> | |
| <tbody> | |
| {% if errors %} | |
| {% for row in errors %} | |
| <tr> | |
| <td class="mono text-secondary">{{ row.started_at[:19] if row.started_at else 'β' }}</td> | |
| <td>{{ row.username or row.user_id or 'β' }}</td> | |
| <td> | |
| {% if row.url %} | |
| <a href="{{ row.url }}" target="_blank" rel="noopener" class="url-cell" title="{{ row.url }}"> | |
| {{ row.url[:60] }}{% if row.url|length > 60 %}β¦{% endif %} | |
| </a> | |
| {% else %}β{% endif %} | |
| </td> | |
| <td> | |
| {% if row.platform %} | |
| <span class="badge badge-platform">{{ row.platform }}</span> | |
| {% else %}β{% endif %} | |
| </td> | |
| <td class="error-message">{{ row.error_message or 'β' }}</td> | |
| </tr> | |
| {% endfor %} | |
| {% else %} | |
| <tr> | |
| <td colspan="5" class="empty-state empty-state--success"> | |
| <span class="empty-check">β</span> No errors in the selected period. Nice. | |
| </td> | |
| </tr> | |
| {% endif %} | |
| </tbody> | |
| </table> | |
| </div> | |
| </div> | |
| {% endblock %} | |