backup before mayor changes

This commit is contained in:
2026-08-05 16:35:09 -05:00
parent f5954247fc
commit 203ff88af1
8 changed files with 145 additions and 15 deletions
+20
View File
@@ -48,6 +48,11 @@
<a href="{% url 'announcements:list' %}">
<i class="fas fa-bullhorn"></i><span class="nav-text"> Announcements</span>
</a>
{% if user.is_authenticated %}
<a href="{% url 'library:project_create' %}">
<i class="fas fa-upload"></i><span class="nav-text"> Upload</span>
</a>
{% endif %}
{% endif %}
</nav>
</div>
@@ -146,6 +151,21 @@
</div>
{% endif %}
{% endif %}
<script>
(function () {
const banner = document.querySelector('.messages-banner');
if (!banner) return;
const dismiss = () => {
if (banner.dataset.dismissing) return;
banner.dataset.dismissing = '1';
banner.style.transition = 'opacity 0.4s ease';
banner.style.opacity = '0';
setTimeout(() => banner.remove(), 450);
};
banner.addEventListener('click', dismiss);
setTimeout(dismiss, 6000);
})();
</script>
{% block extra_js %}{% endblock %}
</body>
</html>