diff --git a/dashboard/static/css/base.scss b/dashboard/static/css/base.scss index 6a08bf1c..3f90eb89 100644 --- a/dashboard/static/css/base.scss +++ b/dashboard/static/css/base.scss @@ -641,9 +641,8 @@ footer { } } - .youtube { - width: 520px; - height: 293px; + .bird { + width: 350px; img { display: block; diff --git a/dashboard/static/img/404-birdcage.jpg b/dashboard/static/img/404-birdcage.jpg new file mode 100644 index 00000000..b49d75f5 Binary files /dev/null and b/dashboard/static/img/404-birdcage.jpg differ diff --git a/dashboard/static/img/404.jpg b/dashboard/static/img/404.jpg deleted file mode 100644 index 59779322..00000000 Binary files a/dashboard/static/img/404.jpg and /dev/null differ diff --git a/dashboard/static/js/404.js b/dashboard/static/js/404.js deleted file mode 100644 index 6cd34e2a..00000000 --- a/dashboard/static/js/404.js +++ /dev/null @@ -1,13 +0,0 @@ -/* global _dntEnabled */ - -$(document).ready(function(){ - 'use strict'; - - if (!_dntEnabled()) { - var youtube = $('.youtube'); - var yid = youtube.data('id'); - var iframe_url = 'https://www.youtube.com/embed/' + yid + '?autoplay=1&autohide=1'; - var iframe = $('', {'frameborder': '0', 'src': iframe_url, 'width': $(youtube).width(), 'height': $(youtube).height() }); - $(youtube).replaceWith(iframe); - } -}); diff --git a/dashboard/templates/404.html b/dashboard/templates/404.html index 5e715438..a7a62a52 100644 --- a/dashboard/templates/404.html +++ b/dashboard/templates/404.html @@ -10,7 +10,7 @@