Initial commit: Markov Economics Simulation App
This commit is contained in:
35
app/templates/error.html
Normal file
35
app/templates/error.html
Normal file
@@ -0,0 +1,35 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<div class="row justify-content-center">
|
||||
<div class="col-md-6">
|
||||
<div class="text-center">
|
||||
<div class="card shadow">
|
||||
<div class="card-body p-5">
|
||||
<div class="mb-4">
|
||||
<i class="text-danger" style="font-size: 4rem;">❌</i>
|
||||
</div>
|
||||
|
||||
<h2 class="card-title text-danger">Oops!</h2>
|
||||
<p class="card-text lead">{{ error_message }}</p>
|
||||
|
||||
<div class="mt-4">
|
||||
<a href="{{ url_for('main.index') }}" class="btn btn-primary btn-lg me-2">
|
||||
🏠 Go Home
|
||||
</a>
|
||||
<button onclick="history.back()" class="btn btn-outline-secondary">
|
||||
← Go Back
|
||||
</button>
|
||||
</div>
|
||||
|
||||
<div class="mt-4">
|
||||
<small class="text-muted">
|
||||
If this problem persists, the simulation may have encountered an unexpected error.
|
||||
</small>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
Reference in New Issue
Block a user