mirror of
https://github.com/janeczku/calibre-web
synced 2025-12-08 01:08:07 +00:00
Fix #652
This commit is contained in:
@@ -17,10 +17,34 @@
|
||||
{% endif %}
|
||||
</head>
|
||||
<body>
|
||||
<div class="text-center">
|
||||
<h1>{{ error_code }}</h1>
|
||||
<div class="container-fluid">
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<h1 class="text-center">{{ error_code }}</h1>
|
||||
<h3>{{ error_name }}</h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-offset-4 text-left">
|
||||
{% for element in error_stack %}
|
||||
<div>{{ element }}</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
{% if issue %}
|
||||
<div class="row">
|
||||
<div class="col errorlink">Please report this issue with all related information:
|
||||
<a href="https://github.com/janeczku/calibre-web/issues/new">{{_('Create issue')}}</a>
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div class="row">
|
||||
<div class="col errorlink">
|
||||
<a href="{{url_for('web.index')}}" title="{{ _('Back to home') }}">{{_('Back to home')}}</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user