Node.js based forum software built for the modern web
interim commit on notifications dropdown
Julian Lam6f4c480cd831
diff --git a/public/templates/footer.tpl b/public/templates/footer.tplindex 75d4086dce..1638f19016 100644--- a/public/templates/footer.tpl+++ b/public/templates/footer.tpl@@ -52,8 +52,6 @@name = document.createElement('span')logoutEl = document.createElement('li');- right_menu.innerHTML = '';-logoutEl.innerHTML = '<a href="/logout">Log out</a>';name.innerHTML = data['username'];@@ -81,7 +79,6 @@}});-// Post window eventsvar postWindowEl = document.getElementById('post_window'),discardEl = document.getElementById('discard-post');@@ -89,6 +86,9 @@$(postWindowEl).slideToggle(250);$(document.body).removeClass('composing');}, false);++ // Notifications dropdown+ // var notifTrigger = document.querySelector('.notifications a');}());</script><!-- END Forum Info -->diff --git a/public/templates/header.tpl b/public/templates/header.tplindex 57c77e730e..259e65ab72 100644--- a/public/templates/header.tpl+++ b/public/templates/header.tpl@@ -45,6 +45,12 @@</li></ul><ul class="nav pull-right nodebb-inline-block" id="right-menu">+ <li class="notifications">+ <a href="#" id="notif_dropdown"><i class="icon-circle-blank"></i></a>+ <ul class="dropdown-menu" aria-labelledby="notif_dropdown">+ <li>nibs!</li>+ </ul>+ </li></ul></div></div>