use tab indents

This commit is contained in:
alexveebee 2025-04-24 17:14:21 +00:00
parent 3b45f4a897
commit 135904ece0

View File

@ -1,57 +1,57 @@
<div style="max-width:700px;margin:auto"> <div style="max-width:700px;margin:auto">
<h2 style="text-align:center">Pre-installation tests</h2> <h2 style="text-align:center">Pre-installation tests</h2>
<table class="modlog" style="margin-top:10px;max-width:600px"> <table class="modlog" style="margin-top:10px;max-width:600px">
<tr> <tr>
<th>Category</th> <th>Category</th>
<th>Test</th> <th>Test</th>
<th>Result</th> <th>Result</th>
</tr> </tr>
{% set errors = 0 %} {% set errors = 0 %}
{% set warnings = 0 %} {% set warnings = 0 %}
{% for test in tests %} {% for test in tests %}
<tr> <tr>
<td class="minimal"><strong>{{ test.category }}</strong></td> <td class="minimal"><strong>{{ test.category }}</strong></td>
<td>{{ test.name }}</td> <td>{{ test.name }}</td>
<td class="minimal" style="text-align:center"> <td class="minimal" style="text-align:center">
{% if test.result %} {% if test.result %}
<i style="font-size:11pt;color:#090" class="fa fa-check"></i> <i style="font-size:11pt;color:#090" class="fa fa-check"></i>
{% else %} {% else %}
{% if test.required %} {% if test.required %}
{% set errors = errors + 1 %} {% set errors = errors + 1 %}
<i style="font-size:11pt;color:#d00" class="fa fa-exclamation"></i> <i style="font-size:11pt;color:#d00" class="fa fa-exclamation"></i>
{% else %} {% else %}
{% set warnings = warnings + 1 %} {% set warnings = warnings + 1 %}
<i style="font-size:11pt;color:#f80" class="fa fa-warning"></i> <i style="font-size:11pt;color:#f80" class="fa fa-warning"></i>
{% endif %} {% endif %}
{% endif %} {% endif %}
</td> </td>
</tr> </tr>
{% endfor %} {% endfor %}
</table> </table>
{% if errors or warnings %} {% if errors or warnings %}
<p><strong>There were {{ errors }} error(s) and {{ warnings }} warning(s).</strong></p> <p><strong>There were {{ errors }} error(s) and {{ warnings }} warning(s).</strong></p>
<ul> <ul>
{% for test in tests %} {% for test in tests %}
{% if not test.result %} {% if not test.result %}
<li style="margin-bottom:5px"> <li style="margin-bottom:5px">
{% if test.required %} {% if test.required %}
<i style="font-size:11pt;color:#d00" class="fa fa-exclamation"></i> <strong>Error:</strong> <i style="font-size:11pt;color:#d00" class="fa fa-exclamation"></i> <strong>Error:</strong>
{% else %} {% else %}
<i style="font-size:11pt;color:#f80" class="fa fa-warning"></i> <strong>Warning:</strong> <i style="font-size:11pt;color:#f80" class="fa fa-warning"></i> <strong>Warning:</strong>
{% endif %} {% endif %}
{{ test.message }} {{ test.message }}
</li> </li>
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</ul> </ul>
{% if errors %} {% if errors %}
<p style="text-align:center;color:#d00"><strong>Warning:</strong> Ignoring these problems is not recommended and may cause installation issues.</p> <p style="text-align:center;color:#d00"><strong>Warning:</strong> Ignoring these problems is not recommended and may cause installation issues.</p>
<p style="text-align:center"><a href="?step=2"><button>Proceed Anyway</button></a></p> <p style="text-align:center"><a href="?step=2"><button>Proceed Anyway</button></a></p>
{% else %} {% else %}
<p style="text-align:center"><a href="?step=2"><button>Next</button></a></p> <p style="text-align:center"><a href="?step=2"><button>Next</button></a></p>
{% endif %} {% endif %}
{% else %} {% else %}
<p>There were no errors or warnings. Good!</p> <p>There were no errors or warnings. Good!</p>
<p style="text-align:center"><a href="?step=2"><button>Next</button></a></p> <p style="text-align:center"><a href="?step=2"><button>Next</button></a></p>
{% endif %} {% endif %}
</div> </div>