From b9cf2f343399a39ca4b306299b37a741c8a93116 Mon Sep 17 00:00:00 2001 From: harukin Date: Fri, 16 Nov 2018 20:59:16 +0900 Subject: [PATCH] --- view/theme/plusfuture/js/plusfuture.js | 17 -- .../plusfuture/tpl/notifications_widget.tpl | 193 ++++++++++++++++++ 2 files changed, 193 insertions(+), 17 deletions(-) create mode 100644 view/theme/plusfuture/tpl/notifications_widget.tpl diff --git a/view/theme/plusfuture/js/plusfuture.js b/view/theme/plusfuture/js/plusfuture.js index 63d765e..8ed8131 100644 --- a/view/theme/plusfuture/js/plusfuture.js +++ b/view/theme/plusfuture/js/plusfuture.js @@ -126,21 +126,4 @@ function toggleAside() { spacer: '#left_aside_spacer' }); } - $('#notifications-btn-1'); - if ($('main').hasClass('region_3-on')) { - $('html, body').css('overflow-x', ''); - $('main').removeClass('region_3-on') - $('#overlay').remove(); - $('#right_aside_wrapper').trigger("sticky_kit:detach"); - } - else { - $('html, body').css('overflow-x', 'hidden'); - $('main').addClass('region_3-on') - $('
').appendTo('section'); - $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) + 10, - parent: '#region_3', - spacer: '#right_aside_spacer' - }); - } } diff --git a/view/theme/plusfuture/tpl/notifications_widget.tpl b/view/theme/plusfuture/tpl/notifications_widget.tpl new file mode 100644 index 0000000..bd00bc8 --- /dev/null +++ b/view/theme/plusfuture/tpl/notifications_widget.tpl @@ -0,0 +1,193 @@ +{{if $notifications}} + + +
+
+ {{$no_notifications}}... +
+ + + +
+{{/if}}