mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-14 01:20:27 +00:00
Convert 40X and 500 error pages to new template.
This commit is contained in:
parent
6db41d42c4
commit
26c4606834
@ -1,59 +1,37 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block head %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
<link href="{{ url_for('static', filename='admin/pages/css/error.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
|
|
||||||
<!-- BEGIN THEME STYLES -->
|
|
||||||
<!-- DOC: To use 'rounded corners' style just load 'components-rounded.css' stylesheet instead of 'components.css' in the below style tag -->
|
|
||||||
<link href="{{ url_for('static', filename='global/css/components-md.css') }}" id="style_components" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='global/css/plugins-md.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/layout.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/themes/grey.css') }}" rel="stylesheet" type="text/css" id="style_color"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/custom.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END THEME STYLES -->
|
|
||||||
{% endblock %}
|
|
||||||
{% block title %}<title>DNS Control Panel - 400 Error</title>{% endblock %}
|
{% block title %}<title>DNS Control Panel - 400 Error</title>{% endblock %}
|
||||||
|
|
||||||
{% block dashboard_stat %}
|
{% block dashboard_stat %}
|
||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<section class="content-header">
|
||||||
|
<h1>
|
||||||
|
400
|
||||||
|
<small>Error</small>
|
||||||
|
</h1>
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li><a href="{{ url_for('dashboard') }}"><i class="fa fa-dashboard"></i>Home</a></li>
|
||||||
|
<li>400</li>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="clearfix">
|
<!-- Main content -->
|
||||||
</div>
|
<section class="content">
|
||||||
|
<div class="error-page">
|
||||||
<!-- BEGIN PAGE CONTENT-->
|
<h2 class="headline text-yellow">400</h2>
|
||||||
<div class="row">
|
<div class="error-content">
|
||||||
<div class="col-md-12 page-500">
|
<h3>
|
||||||
<div class=" number">
|
<i class="fa fa-warning text-yellow"></i> Oops! Bad request
|
||||||
400
|
</h3>
|
||||||
</div>
|
|
||||||
<div class=" details">
|
|
||||||
<h3>Bad Request</h3>
|
|
||||||
<p>
|
<p>
|
||||||
{% if msg %}
|
The server refused to process your request and return a 400 error.
|
||||||
<p>Message: {{ msg }}<p>
|
You may <a href="{{ url_for('dashboard') }}">return to the dashboard</a>.
|
||||||
{% endif %}
|
|
||||||
<a href="{{ url_for('index')}}"><strong>Click here</strong></a> to go home<br/><br/>
|
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.error-content -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- /.error-page -->
|
||||||
<!-- END PAGE CONTENT-->
|
</section>
|
||||||
{% endblock %}
|
<!-- /.content -->
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL SCRIPTS -->
|
|
||||||
<script src="{{ url_for('static', filename='global/scripts/metronic.js') }}" type="text/javascript"></script>
|
|
||||||
<script src="{{ url_for('static', filename='admin/layout2/scripts/layout.js') }}" type="text/javascript"></script>
|
|
||||||
<script>
|
|
||||||
jQuery(document).ready(function() {
|
|
||||||
Metronic.init(); // init metronic core componets
|
|
||||||
Layout.init(); // init layout
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!-- END JAVASCRIPTS -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,56 +1,37 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block head %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
<link href="{{ url_for('static', filename='admin/pages/css/error.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
|
|
||||||
<!-- BEGIN THEME STYLES -->
|
|
||||||
<!-- DOC: To use 'rounded corners' style just load 'components-rounded.css' stylesheet instead of 'components.css' in the below style tag -->
|
|
||||||
<link href="{{ url_for('static', filename='global/css/components-md.css') }}" id="style_components" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='global/css/plugins-md.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/layout.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/themes/grey.css') }}" rel="stylesheet" type="text/css" id="style_color"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/custom.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END THEME STYLES -->
|
|
||||||
{% endblock %}
|
|
||||||
{% block title %}<title>DNS Control Panel - 401 Error</title>{% endblock %}
|
{% block title %}<title>DNS Control Panel - 401 Error</title>{% endblock %}
|
||||||
|
|
||||||
{% block dashboard_stat %}
|
{% block dashboard_stat %}
|
||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<section class="content-header">
|
||||||
|
<h1>
|
||||||
|
401
|
||||||
|
<small>Error</small>
|
||||||
|
</h1>
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li><a href="{{ url_for('dashboard') }}"><i class="fa fa-dashboard"></i>Home</a></li>
|
||||||
|
<li>401</li>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="clearfix">
|
<!-- Main content -->
|
||||||
</div>
|
<section class="content">
|
||||||
|
<div class="error-page">
|
||||||
<!-- BEGIN PAGE CONTENT-->
|
<h2 class="headline text-yellow">401</h2>
|
||||||
<div class="row">
|
<div class="error-content">
|
||||||
<div class="col-md-12 page-500">
|
<h3>
|
||||||
<div class=" number">
|
<i class="fa fa-warning text-yellow"></i> Oops! Access denied
|
||||||
401
|
</h3>
|
||||||
</div>
|
|
||||||
<div class=" details">
|
|
||||||
<h3>You don't have permission to access this page.</h3>
|
|
||||||
<p>
|
<p>
|
||||||
<a href="{{ url_for('index')}}"><strong>Click here</strong></a> to go home<br/><br/>
|
You don't have permission to access this page
|
||||||
|
You may <a href="{{ url_for('dashboard') }}">return to the dashboard</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.error-content -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- /.error-page -->
|
||||||
<!-- END PAGE CONTENT-->
|
</section>
|
||||||
{% endblock %}
|
<!-- /.content -->
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL SCRIPTS -->
|
|
||||||
<script src="{{ url_for('static', filename='global/scripts/metronic.js') }}" type="text/javascript"></script>
|
|
||||||
<script src="{{ url_for('static', filename='admin/layout2/scripts/layout.js') }}" type="text/javascript"></script>
|
|
||||||
<script>
|
|
||||||
jQuery(document).ready(function() {
|
|
||||||
Metronic.init(); // init metronic core componets
|
|
||||||
Layout.init(); // init layout
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!-- END JAVASCRIPTS -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,57 +1,37 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block head %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
<link href="{{ url_for('static', filename='admin/pages/css/error.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
|
|
||||||
<!-- BEGIN THEME STYLES -->
|
|
||||||
<!-- DOC: To use 'rounded corners' style just load 'components-rounded.css' stylesheet instead of 'components.css' in the below style tag -->
|
|
||||||
<link href="{{ url_for('static', filename='global/css/components-md.css') }}" id="style_components" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='global/css/plugins-md.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/layout.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/themes/grey.css') }}" rel="stylesheet" type="text/css" id="style_color"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/custom.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END THEME STYLES -->
|
|
||||||
{% endblock %}
|
|
||||||
{% block title %}<title>DNS Control Panel - 404 Error</title>{% endblock %}
|
{% block title %}<title>DNS Control Panel - 404 Error</title>{% endblock %}
|
||||||
|
|
||||||
{% block dashboard_stat %}
|
{% block dashboard_stat %}
|
||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<section class="content-header">
|
||||||
|
<h1>
|
||||||
|
404
|
||||||
|
<small>Error</small>
|
||||||
|
</h1>
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li><a href="{{ url_for('dashboard') }}"><i class="fa fa-dashboard"></i>Home</a></li>
|
||||||
|
<li>404</li>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="clearfix">
|
<!-- Main content -->
|
||||||
</div>
|
<section class="content">
|
||||||
|
<div class="error-page">
|
||||||
<!-- BEGIN PAGE CONTENT-->
|
<h2 class="headline text-yellow">404</h2>
|
||||||
<div class="row">
|
<div class="error-content">
|
||||||
<div class="col-md-12 page-500">
|
<h3>
|
||||||
<div class=" number">
|
<i class="fa fa-warning text-yellow"></i> Oops! You're lost
|
||||||
404
|
</h3>
|
||||||
</div>
|
|
||||||
<div class=" details">
|
|
||||||
<h3>Oops! You're lost.</h3>
|
|
||||||
<p>
|
<p>
|
||||||
We can not find the page you're looking for.<br/>
|
The page you requested could not be found.
|
||||||
<a href="{{ url_for('index')}}"><strong>Click here</strong></a> to go home<br/><br/>
|
You may <a href="{{ url_for('dashboard') }}">return to the dashboard</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.error-content -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- /.error-page -->
|
||||||
<!-- END PAGE CONTENT-->
|
</section>
|
||||||
{% endblock %}
|
<!-- /.content -->
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL SCRIPTS -->
|
|
||||||
<script src="{{ url_for('static', filename='global/scripts/metronic.js') }}" type="text/javascript"></script>
|
|
||||||
<script src="{{ url_for('static', filename='admin/layout2/scripts/layout.js') }}" type="text/javascript"></script>
|
|
||||||
<script>
|
|
||||||
jQuery(document).ready(function() {
|
|
||||||
Metronic.init(); // init metronic core componets
|
|
||||||
Layout.init(); // init layout
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!-- END JAVASCRIPTS -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
@ -1,57 +1,37 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "base.html" %}
|
||||||
{% block head %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
<link href="{{ url_for('static', filename='admin/pages/css/error.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END PAGE LEVEL PLUGIN STYLES -->
|
|
||||||
|
|
||||||
<!-- BEGIN THEME STYLES -->
|
|
||||||
<!-- DOC: To use 'rounded corners' style just load 'components-rounded.css' stylesheet instead of 'components.css' in the below style tag -->
|
|
||||||
<link href="{{ url_for('static', filename='global/css/components-md.css') }}" id="style_components" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='global/css/plugins-md.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/layout.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/themes/grey.css') }}" rel="stylesheet" type="text/css" id="style_color"/>
|
|
||||||
<link href="{{ url_for('static', filename='admin/layout2/css/custom.css') }}" rel="stylesheet" type="text/css"/>
|
|
||||||
<!-- END THEME STYLES -->
|
|
||||||
{% endblock %}
|
|
||||||
{% block title %}<title>DNS Control Panel - 500 Error</title>{% endblock %}
|
{% block title %}<title>DNS Control Panel - 500 Error</title>{% endblock %}
|
||||||
|
|
||||||
{% block dashboard_stat %}
|
{% block dashboard_stat %}
|
||||||
|
<!-- Content Header (Page header) -->
|
||||||
|
<section class="content-header">
|
||||||
|
<h1>
|
||||||
|
500
|
||||||
|
<small>Error</small>
|
||||||
|
</h1>
|
||||||
|
<ol class="breadcrumb">
|
||||||
|
<li><a href="{{ url_for('dashboard') }}"><i class="fa fa-dashboard"></i>Home</a></li>
|
||||||
|
<li>500</li>
|
||||||
|
</ol>
|
||||||
|
</section>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="clearfix">
|
<!-- Main content -->
|
||||||
</div>
|
<section class="content">
|
||||||
|
<div class="error-page">
|
||||||
<!-- BEGIN PAGE CONTENT-->
|
<h2 class="headline text-yellow">500</h2>
|
||||||
<div class="row">
|
<div class="error-content">
|
||||||
<div class="col-md-12 page-500">
|
<h3>
|
||||||
<div class=" number">
|
<i class="fa fa-warning text-yellow"></i> Oops! Something went wrong
|
||||||
500
|
</h3>
|
||||||
</div>
|
|
||||||
<div class=" details">
|
|
||||||
<h3>Oops! Something went wrong.</h3>
|
|
||||||
<p>
|
<p>
|
||||||
Please come back in a while.<br/>
|
Try again later.
|
||||||
<a href="{{ url_for('index')}}"><strong>Click here</strong></a> to go home<br/><br/>
|
You may <a href="{{ url_for('dashboard') }}">return to the dashboard</a>.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- /.error-content -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!-- /.error-page -->
|
||||||
<!-- END PAGE CONTENT-->
|
</section>
|
||||||
{% endblock %}
|
<!-- /.content -->
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
{{ super() }}
|
|
||||||
<!-- BEGIN PAGE LEVEL SCRIPTS -->
|
|
||||||
<script src="{{ url_for('static', filename='global/scripts/metronic.js') }}" type="text/javascript"></script>
|
|
||||||
<script src="{{ url_for('static', filename='admin/layout2/scripts/layout.js') }}" type="text/javascript"></script>
|
|
||||||
<script>
|
|
||||||
jQuery(document).ready(function() {
|
|
||||||
Metronic.init(); // init metronic core componets
|
|
||||||
Layout.init(); // init layout
|
|
||||||
});
|
|
||||||
</script>
|
|
||||||
<!-- END JAVASCRIPTS -->
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
Loading…
Reference in New Issue
Block a user