mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Remove IE8 polyfills
These old browsers are EOL since 2016 [0], let them finally rest in peace. This effectively reverts/replaces commit b8dee5d17056788c2dc9940d14308648e32186d8. [0] https://web.archive.org/web/20160115070611/https://www.microsoft.com/en-us/WindowsForBusiness/End-of-IE-support
This commit is contained in:
parent
54b2c5918f
commit
fee26b84ba
@ -10,8 +10,6 @@
|
||||
"jquery-ui-dist": "^1.12.1",
|
||||
"jquery.quicksearch": "^2.4.0",
|
||||
"jtimeout": "^3.1.0",
|
||||
"multiselect": "^0.9.12",
|
||||
"html5shiv": "^3.7.3",
|
||||
"respond.js": "^1.4.2"
|
||||
"multiselect": "^0.9.12"
|
||||
}
|
||||
}
|
||||
|
@ -64,15 +64,9 @@ js_main = Bundle('node_modules/jquery/dist/jquery.js',
|
||||
filters=(ConcatFilter, 'jsmin'),
|
||||
output='generated/main.js')
|
||||
|
||||
js_ie8 = Bundle('node_modules/html5shiv/dist/html5shiv.js',
|
||||
'node_modules/respond.js/dest/respond.min.js',
|
||||
filters=(ConcatFilter, 'jsmin'),
|
||||
output='generated/ie8.js')
|
||||
|
||||
assets = Environment()
|
||||
assets.register('js_login', js_login)
|
||||
assets.register('js_validation', js_validation)
|
||||
assets.register('css_login', css_login)
|
||||
assets.register('js_main', js_main)
|
||||
assets.register('css_main', css_main)
|
||||
assets.register('js_ie8', js_ie8)
|
||||
|
@ -20,13 +20,6 @@
|
||||
{% if SETTING.get('custom_css') %}
|
||||
<link rel="stylesheet" href="/static/custom/{{ SETTING.get('custom_css') }}">
|
||||
{% endif %}
|
||||
{% assets "js_ie8" -%}
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
||||
<![endif]-->
|
||||
{%- endassets %}
|
||||
{% endblock %}
|
||||
</head>
|
||||
<body class="hold-transition skin-blue sidebar-mini {% if not SETTING.get('fullscreen_layout') %}layout-boxed{% endif %}">
|
||||
|
@ -15,13 +15,6 @@
|
||||
{% if SETTING.get('custom_css') %}
|
||||
<link rel="stylesheet" href="/static/custom/{{ SETTING.get('custom_css') }}">
|
||||
{% endif %}
|
||||
{% assets "js_ie8" -%}
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
||||
<![endif]-->
|
||||
{%- endassets %}
|
||||
</head>
|
||||
|
||||
<body class="hold-transition login-page">
|
||||
|
@ -11,14 +11,6 @@
|
||||
{% assets "css_login" -%}
|
||||
<link rel="stylesheet" href="{{ ASSET_URL }}">
|
||||
{%- endassets %}
|
||||
|
||||
{% assets "js_ie8" -%}
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script type="text/javascript" src="{{ ASSET_URL }}"></script>
|
||||
<![endif]-->
|
||||
{%- endassets %}
|
||||
</head>
|
||||
|
||||
<body class="hold-transition register-page">
|
||||
|
Loading…
Reference in New Issue
Block a user