Spaces:
Runtime error
Runtime error
File size: 1,013 Bytes
b75f547 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
{% extends 'layout.html' %}
{% block title %} Home {% endblock %}
{% block content %}
<div id="notfound">
<img src="/static/error2.png" style="height:auto; width:100%;">
</div>
<div id="server">
<p><b>505:<wbr> Internal Server Error</b></p>
<img src="/static/505error.gif" style="height:auto; width:100%;">
</div>
<button class="checkdetail" onclick="show();" style="margin: 20px auto; padding: 20px;">Check Details <span class="arrow"><i class="uil uil-arrow-right"></i></span></button>
<div id="message" style="display:none; text-align:center;"><h3>{{message}}</h3></div>
<script>
const str = "{{message}}";
if (str.includes("404")) {
document.getElementById("notfound").style.display = "block";
} else {
document.getElementById("server").style.display = "block";
}
function show() {
document.getElementById("message").style.display = "block";
}
</script>
{% endblock %} |