mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-04 05:39:51 +01:00
interim commit on notifications dropdown
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user