Files
muzak/playlist/templates/Clippy.html
T
mark fcf31cb896 Template refactor, task update
Banter no longer fails if AI offline. Refactoring of templates.
2024-02-18 23:33:09 +01:00

19 lines
349 B
HTML

{% load static %}
{% if body %}
<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>
{% endif %}