oplog error.html update

This commit is contained in:
Max 2021-07-26 20:48:46 -04:00
parent db9e7db946
commit 47052abc1a
1 changed files with 21 additions and 14 deletions

View File

@ -55,31 +55,37 @@
<div class="card mb-3 border-primary" style="max-width: 60rem; text-align: left;"> <div class="card mb-3 border-primary" style="max-width: 60rem; text-align: left;">
<h4 class="card-header bg-danger">OP25 Logs - Database Error (Code {{ code }})</h4> <h4 class="card-header bg-danger">OP25 Logs - Database Error (Code {{ code }})</h4>
<div class="card-body"> <div class="card-body">
{% if code == 1 %}
{% if code == 1 %}
<div class="alert alert-dismissible"> <div class="alert alert-dismissible">
<strong>Database file does not exist.</strong> <br><br> {{ file }}</span> <Br><Br>File not found.<br><br> <strong>Database file does not exist.</strong> <br><br> {{ file }}</span> <Br><Br>File not found.
</div> </div>
{% endif %} {% endif %}
{% if code == 2 %}
{% if code == 2 %}
<div class="alert alert-dismissible"> <div class="alert alert-dismissible">
<strong>Database file is too small. </strong> <br><Br> {{ file }} <br><br>Attributes do not conform. <strong>Database file is too small. </strong> <br><Br> {{ file }} <br><br>Attributes do not conform.
</div> </div>
{% endif %} {% endif %}
{% if code == 4 %}
{% if code == 4 %}
<div class="alert alert-dismissible"> <div class="alert alert-dismissible">
<strong>Database contains no data. </strong> <br><Br> {{ file }} <br><br> Database structure is good, but no data was found. <br><br>0 rows in table 'data_store'. <strong>Database contains no data. </strong> <br><Br> {{ file }} <br><br> Database structure is good, but no data was found. <br><br>0 rows in table 'data_store'.
</div> </div>
{% endif %} {% endif %}
</div><br>
{% if code == 5 %} {% if code == 5 %}
<div class="alert alert-dismissible"> <div class="alert alert-dismissible">
<strong>Database access error. </strong> <br><Br> {{ file }} <br><br> Database might be locked or in use by another process (OP25). <br><br> <strong>Database access error. </strong> <br><Br> {{ file }} <br><br> Database might be locked or in use by another process (OP25). <br><br>
Source: {{ source }} Source: {{ source }}
</div> </div>
{% endif %} {% endif %}
</div><br>
</div>
</div>
<div align="center"> <div align="center">
<button class="btnMain btn btn-outline-info" onclick="window.location.href='/'">Try Again</button> <button class="btnMain btn btn-outline-info" onclick="window.location.href='/'">Try Again</button>
<br><br> <br><br>
@ -96,9 +102,10 @@
{% endif %} {% endif %}
{% if code != 5 %} {% if code != 5 %}
<div class="card mb-3 border-primary">
<div class="card mb-3 border-primary" style="max-width: 60rem;">
<h4 class="card-header bg-primary">../op25/gr-op25_repeater/apps/README</h4> <h4 class="card-header bg-primary">../op25/gr-op25_repeater/apps/README</h4>
<div class="card-body"> <div class="card-body" style="text-align: left;">
<h4>Setup SQL Log Database (Optional)</h4> <h4>Setup SQL Log Database (Optional)</h4>
<p> <p>
@ -181,4 +188,4 @@
{% block extra_javascripts %} {% block extra_javascripts %}
{% endblock %} {% endblock %}