Clippy update

Plus some refactors of the templates and styling
This commit is contained in:
2024-02-13 23:44:59 +01:00
parent d77ad8fec9
commit c7bd7fda9b
8 changed files with 226 additions and 130 deletions
+17
View File
@@ -0,0 +1,17 @@
{% load static %}
<script>
function closeclippy(e) {
console.log(e)
e.parentElement.classList.add("hide")
}
</script>
<div class="clippy">
<div class="body">
{{ body }}
<br /><button onclick="closeclippy(this)">Ok</button>
</div>
{% if img %}
<img src="{% static img %}" />
{% endif %}
</div>