mirror of
https://github.com/Xevion/simple-viewer.git
synced 2025-12-06 01:16:24 -06:00
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
41 lines
1.3 KiB
HTML
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 %}
|