planarian
This commit is contained in:
@@ -3,7 +3,8 @@
|
||||
|
||||
{% block columns %}{% endblock %}
|
||||
|
||||
{% block sidebar_list %}
|
||||
{#% block sidebar_list %#}
|
||||
<!--
|
||||
<a href="/" class="w3-bar-item w3-btn w3-hover-opacity"><i class="fa-solid fa-house w3-text-orange w3-xlarge"></i> {% trans "Retour accueil" %}</a>
|
||||
<form method="post" class="w3-bar-item" action="">
|
||||
{% csrf_token %}
|
||||
@@ -28,7 +29,8 @@
|
||||
<i class="fa-solid fa-film w3-text-green w3-xlarge""></i> {% trans "Balayage multi-puits" %}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
-->
|
||||
{#% endblock %#}
|
||||
|
||||
{% block js_footer %}
|
||||
{{ block.super }}
|
||||
@@ -46,8 +48,8 @@
|
||||
setTimeout(function() {
|
||||
message.remove();
|
||||
}, 500);
|
||||
}, 5000); // 5 seconds
|
||||
}, 15000); // 15 seconds
|
||||
});
|
||||
});
|
||||
</script>
|
||||
{% endblock %}
|
||||
{% endblock %}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
{% load i18n home_tags scanner_tags %}
|
||||
|
||||
{% block content %}
|
||||
<div class="w3-container w3-padding-32" style="max-width:1200px; margin:auto;">
|
||||
<div class="w3-container w3-padding" style="max-width:1200px; margin:auto;">
|
||||
|
||||
<!-- En-tête -->
|
||||
<div class="w3-panel w3-teal w3-round-large w3-padding-16 w3-margin-bottom">
|
||||
@@ -24,11 +24,12 @@
|
||||
|
||||
<!-- Messages Django -->
|
||||
{% for message in messages %}
|
||||
<div class="w3-panel w3-round
|
||||
<div class="w3-panel w3-round alert
|
||||
{% if message.tags == 'success' %}w3-green
|
||||
{% elif message.tags == 'error' %}w3-red
|
||||
{% elif message.tags == 'warning' %}w3-orange
|
||||
{% else %}w3-blue{% endif %}">
|
||||
<button class="w3-btn w3-right w3-bold w3-black w3-round w3-margin" onclick="s('.alert').remove()">X</button>
|
||||
<p>{{ message }}</p>
|
||||
</div>
|
||||
{% endfor %}
|
||||
|
||||
Reference in New Issue
Block a user