Cleans up html on import status page

This commit is contained in:
Mouse Reeve 2021-08-21 11:06:27 -07:00
parent 270571668d
commit e31783ef6e
2 changed files with 23 additions and 24 deletions

View file

@ -1,4 +1,4 @@
<html> <html lang="{% get_lang %}">
<body> <body>
<div> <div>
<strong>Subject:</strong> {% include subject_path %} <strong>Subject:</strong> {% include subject_path %}

View file

@ -20,10 +20,10 @@
<dt class="has-text-weight-medium">{% trans "Import completed:" %}</dt> <dt class="has-text-weight-medium">{% trans "Import completed:" %}</dt>
<dd class="ml-2">{{ task.date_done | naturaltime }}</dd> <dd class="ml-2">{{ task.date_done | naturaltime }}</dd>
</div> </div>
</dl>
{% elif task.failed %} {% elif task.failed %}
<div class="notification is-danger">{% trans "TASK FAILED" %}</div> <div class="notification is-danger">{% trans "TASK FAILED" %}</div>
{% endif %} {% endif %}
</dl>
</div> </div>
<div class="block"> <div class="block">
@ -84,6 +84,7 @@
<button class="button is-block mt-3" type="submit">{% trans "Retry items" %}</button> <button class="button is-block mt-3" type="submit">{% trans "Retry items" %}</button>
</fieldset> </fieldset>
</form>
<hr> <hr>
@ -103,7 +104,6 @@
{% endfor %} {% endfor %}
</ul> </ul>
{% endif %} {% endif %}
</form>
</div> </div>
{% endif %} {% endif %}
@ -153,7 +153,6 @@
{% endfor %} {% endfor %}
</table> </table>
</div> </div>
</div>
{% endspaceless %}{% endblock %} {% endspaceless %}{% endblock %}
{% block scripts %} {% block scripts %}