interim commit on notifications dropdown

v1.18.x
Julian Lam 12 years ago
parent 6bae30336a
commit 6f4c480cd8

@ -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 events
var 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 -->

@ -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>

Loading…
Cancel
Save