diff --git a/js/component/card/compare_notification.js b/js/component/card/compare_notification.js deleted file mode 100644 index 2163f89..0000000 --- a/js/component/card/compare_notification.js +++ /dev/null @@ -1,33 +0,0 @@ -/** - * Notification at the top of the new compare page to help users along with - * the change. - */ -beestat.component.card.compare_notification = function() { - beestat.component.card.apply(this, arguments); -}; -beestat.extend(beestat.component.card.compare_notification, beestat.component.card); - -beestat.component.card.compare_notification.prototype.decorate_contents_ = function(parent) { - parent.style('background', beestat.style.color.blue.light); - - parent.appendChild($.createElement('p').innerText('The comparisons you\'ve become accustomed to have evolved into a new feature: Metrics! Please be patient over the next few weeks as they are refined.')); - - new beestat.component.button() - .set_icon('information') - .set_text('Learn more and discuss this change') - .set_background_color(beestat.style.color.blue.dark) - .set_background_hover_color(beestat.style.color.blue.base) - .addEventListener('click', function() { - window.open('https://community.beestat.io/t/metrics-are-replacing-scores/347'); - }) - .render(parent); -}; - -/** - * Get the title of the card. - * - * @return {string} The title. - */ -beestat.component.card.compare_notification.prototype.get_title_ = function() { - return 'Things have changed...'; -}; diff --git a/js/js.php b/js/js.php index 7f2ef15..aca7a5a 100755 --- a/js/js.php +++ b/js/js.php @@ -52,7 +52,6 @@ if($setting->get('environment') === 'dev' || $setting->get('environment') === 'd echo '' . PHP_EOL; echo '' . PHP_EOL; echo '' . PHP_EOL; - echo '' . PHP_EOL; echo '' . PHP_EOL; echo '' . PHP_EOL; echo '' . PHP_EOL; diff --git a/js/layer/compare.js b/js/layer/compare.js index bc7c946..aea2fad 100644 --- a/js/layer/compare.js +++ b/js/layer/compare.js @@ -33,13 +33,6 @@ beestat.layer.compare.prototype.decorate_ = function(parent) { ]); } - cards.push([ - { - 'card': new beestat.component.card.compare_notification(), - 'size': 12 - } - ]); - cards.push([ { 'card': new beestat.component.card.comparison_settings(