reorganized where to show and not to show lookup form
This commit is contained in:
parent
541c0f310c
commit
444f5664bb
@ -21,9 +21,8 @@
|
|||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<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" src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||||||
<script type="text/javascript" charset="utf8"
|
<script type="text/javascript" charset="utf8"
|
||||||
|
@ -1,12 +1,16 @@
|
|||||||
<div class="errors-container">
|
<div class="errors-container">
|
||||||
{% if error in errors %}
|
{% if errors_present %}
|
||||||
|
{% for error in errors %}
|
||||||
<p>
|
<p>
|
||||||
<i>
|
<i>
|
||||||
You may have mistyped: </i><b>{{errors|join(',')}}</b><i>. Try again!</i>
|
You may have mistyped: </i><b>{{errors|join(',')}}</b><i>. Try again!</i>
|
||||||
</i>
|
<!-- </i> -->
|
||||||
|
{% endfor %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
{% if results_present %}
|
||||||
|
{# {% for host in hosts %} #}
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<div class="results-table-new">
|
<div class="results-table-new">
|
||||||
<table id="data" class="table table-striped">
|
<table id="data" class="table table-striped">
|
||||||
@ -72,3 +76,5 @@
|
|||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{# {% endfor %} #}
|
||||||
|
{% endif %}
|
||||||
|
@ -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 #}
|
{# 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 "test.html" %}
|
||||||
|
|
||||||
{# {% include "results-overview.html" %} #}
|
|
||||||
|
|
||||||
{% include "history.html" %}
|
|
||||||
|
|
||||||
{% include "results-overview-new.html" %}
|
{% include "results-overview-new.html" %}
|
||||||
|
|
||||||
{% include "results-detail.html" %}
|
{% include "results-detail.html" %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user