2018-10-01 08:35:13 +00:00
|
|
|
<!DOCTYPE html>
|
2021-10-04 15:50:32 +00:00
|
|
|
<html class="http-error">
|
2018-10-01 08:35:13 +00:00
|
|
|
<head>
|
|
|
|
<title>{{ instance }} | HTTP Error ({{ error_code }})</title>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
2022-11-10 16:02:50 +00:00
|
|
|
{% if g.google_site_verification|length > 0 %}
|
2022-12-25 09:32:01 +00:00
|
|
|
<meta name="google-site-verification" content="{{g.google_site_verification}}">
|
2022-11-10 16:02:50 +00:00
|
|
|
{% endif %}
|
2018-10-01 08:35:13 +00:00
|
|
|
|
|
|
|
<!-- Bootstrap -->
|
|
|
|
<link rel="apple-touch-icon" sizes="140x140" href="{{ url_for('static', filename='favicon.ico') }}">
|
|
|
|
<link rel="shortcut icon" href="{{ url_for('static', filename='favicon.ico') }}">
|
|
|
|
<link href="{{ url_for('static', filename='css/libs/bootstrap.min.css') }}" rel="stylesheet" media="screen">
|
|
|
|
<link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" media="screen">
|
2019-01-11 07:36:28 +00:00
|
|
|
{% if g.current_theme == 1 %}
|
2020-10-10 10:22:52 +00:00
|
|
|
<link href="{{ url_for('static', filename='css/caliBlur.css') }}" rel="stylesheet" media="screen">
|
2018-10-01 08:35:13 +00:00
|
|
|
{% endif %}
|
|
|
|
</head>
|
|
|
|
<body>
|
2023-05-28 11:21:26 +00:00
|
|
|
<div class="container-fluid" style="overflow-y: auto">
|
2019-07-21 16:19:07 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
2020-02-03 03:22:00 +00:00
|
|
|
<h1 class="text-center">{{instance}}</h1>
|
2019-07-21 16:19:07 +00:00
|
|
|
<h1 class="text-center">{{ error_code }}</h1>
|
2018-10-01 08:35:13 +00:00
|
|
|
<h3>{{ error_name }}</h3>
|
2019-07-21 16:19:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-offset-4 text-left">
|
2021-05-28 11:56:07 +00:00
|
|
|
{% if unconfigured %}
|
|
|
|
<div>{{_('Calibre-Web Instance is unconfigured, please contact your administrator')}}</div>
|
|
|
|
{% endif %}
|
2019-07-21 16:19:07 +00:00
|
|
|
{% 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:
|
2023-05-08 19:48:04 +00:00
|
|
|
<a href="https://github.com/janeczku/calibre-web/issues/new/choose">{{_('Create Issue')}}</a>
|
2019-07-21 16:19:07 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
2021-05-28 11:56:07 +00:00
|
|
|
<div class="row">
|
|
|
|
<div class="col errorlink">
|
|
|
|
{% if not unconfigured %}
|
2024-11-21 16:13:20 +00:00
|
|
|
{% if goto_admin %}
|
|
|
|
<a href="{{url_for('admin.db_configuration')}}" title="{{ _('Return to Database config') }}">{{_('Return to Database config')}}</a>
|
|
|
|
{% else %}
|
|
|
|
<a href="{{url_for('web.index')}}" title="{{ _('Return to Home') }}">{{_('Return to Home')}}</a>
|
|
|
|
{% endif %}
|
2021-05-28 11:56:07 +00:00
|
|
|
{% else %}
|
|
|
|
<a href="{{url_for('web.logout')}}" title="{{ _('Logout User') }}">{{ _('Logout User') }}</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
2018-10-01 08:35:13 +00:00
|
|
|
</div>
|
2019-07-21 16:19:07 +00:00
|
|
|
</div>
|
2018-10-01 08:35:13 +00:00
|
|
|
</body>
|
|
|
|
</html>
|