removed unused stylesheer

This commit is contained in:
eclipse 2025-06-03 10:53:41 +02:00
parent 6d40c1254a
commit d2dba5b815

View File

@ -1,21 +1,18 @@
{% extends 'base.html' %} {% block title %}Alles durchsuchen{% endblock title %}
{% extends 'base.html' %}
{% block title %}Alles durchsuchen{% endblock title %}
{% block head %}
<link
type="text/css"
rel="stylesheet"
href="{{ url_for('static', filename='css/datatables.css') }}"
/>
{% endblock head %} {% block heading %}Alles durchsuchen{% endblock heading %}
{% block content %} {% include "_icons.svg" %}
{% endblock head %}
{% block heading %}Alles durchsuchen{% endblock heading %}
{% block content %}
{% include "_icons.svg" %}
<section>
<label>
<input
type="search"
id="search_all"
aria-label="search"
placeholder="Suchbegriff eingeben …"
value=""
/>
<input type="search" id="search_all" aria-label="search" placeholder="Suchbegriff eingeben …" value="" />
</label>
<label>
Groß-/Kleinschreibung beachten
@ -23,17 +20,14 @@
</label>
</section>
<section id="results"></section>
{% endblock content %} {% block script %}
<section id="results">
</section>
{% endblock content %}
{% block script %}
<script src="{{ url_for('static', filename='js/search_all.js') }}"></script>
<script>
const url = "{{ url_for('home.search_all', _external=True) }}";
window.onload = () => {
document
.getElementById("search_all")
.addEventListener("input", (event) =>
search_all(event.target.value, url)
);
};
window.onload = () => initSearchall(url);
</script>
{% endblock script %}