Files
simple-viewer/viewer/templates/delete.html
Xevion 392aa6a269 better color styling of icons, text, borders, code tag, tag component, remove old unneeded styling code, move inline styling code out as needed, styling comments
inline styling is still very much present and needs to be uplifted out of there, but I'm still not sure of what to name everything. I wish I knew the best practices here. very frustrating that there's no one in the world who cares enough to let me consult for free
2020-11-05 18:29:41 -06:00

41 lines
1.3 KiB
HTML

{% extends 'base.html' %}
{% block head %}
{{ block.super }}
<style>
.card {
top: 50%;
}
.card-content {
padding: 1.25rem;
}
</style>
{% endblock head %}
{% block content %}
<div class="card">
<header class="card-header">
<p class="card-header-title">
Confirm Deletion
</p>
<a href="#" class="card-header-icon" aria-label="more options">
<span class="icon">
<i class="fas fa-angle-down" aria-hidden="true"></i>
</span>
</a>
</header>
<div class="card-content">
<div class="content">
<p>
Are you sure you want to remove this directory from the file server?
{% load humanize %}
<a href="{% url 'browse' directory.id %}"><code>{{ directory.path }}</code></a> contains <b class="has-text-primary">{{ num_files|intcomma }}</b> files.
</p>
</div>
</div>
<footer class="card-footer">
<a href="{% url 'index' %}" class="card-footer-item">Cancel</a>
<a href="{% url 'confirm_delete' directory.id %}" class="card-footer-item">Delete</a>
</footer>
</div>
{% endblock content %}