reorganized where to show and not to show lookup form

This commit is contained in:
Joost Agterhoek 2025-05-29 21:14:19 +02:00
parent 541c0f310c
commit 444f5664bb
3 changed files with 9 additions and 9 deletions

View File

@ -21,9 +21,8 @@
</head>
<body>
{% include "navbar.html" %}
{% block content %} {% endblock %}
{% block content %} {% endblock %}
<script type="text/javascript" charset="utf8" src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script type="text/javascript" charset="utf8"

View File

@ -1,12 +1,16 @@
<div class="errors-container">
{% if error in errors %}
{% if errors_present %}
{% for error in errors %}
<p>
<i>
You may have mistyped: </i><b>{{errors|join(',')}}</b><i>. Try again!</i>
</i>
<!-- </i> -->
{% endfor %}
{% endif %}
</div>
{% if results_present %}
{# {% for host in hosts %} #}
<div class="table-container">
<div class="results-table-new">
<table id="data" class="table table-striped">
@ -72,3 +76,5 @@
</table>
</div>
</div>
{# {% endfor %} #}
{% endif %}

View File

@ -4,13 +4,8 @@
{# For multiple results, maybe make a top results overview and then a navigation menu to specific URL pages? See: https://realpython.com/primer-on-jinja-templating/#include-a-navigation-menu #}
<!-- {% include "forms.html" %} -->
{% include "test.html" %}
{# {% include "results-overview.html" %} #}
{% include "history.html" %}
{% include "results-overview-new.html" %}
{% include "results-detail.html" %}