Clippy update
Plus some refactors of the templates and styling
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user