mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-05 02:39:46 +02:00
Add a notification central plugin UserNotification
this will be responsible to handle all the top bar bell button
This commit is contained in:
parent
f17bb1ee0c
commit
2f2fdc4923
33 changed files with 1481 additions and 123 deletions
23
plugin/UserNotifications/HTMLMenuRight.php
Normal file
23
plugin/UserNotifications/HTMLMenuRight.php
Normal file
|
@ -0,0 +1,23 @@
|
|||
<!-- right menu start -->
|
||||
<li class="dropdown" id="topMenuUserNotifications" data-toggle="tooltip" title="<?php echo __('Notifications'); ?>" data-placement="bottom">
|
||||
<a href="#" class="faa-parent animated-hover btn btn-default btn-light navbar-btn" data-toggle="dropdown" data-toggle="tooltip" title="<?php echo __('Notifications'); ?>" data-placement="bottom" >
|
||||
<i class="fas fa-bell faa-ring"></i>
|
||||
<span class="badge badge-notify animate_animated animate__bounceIn">0</span>
|
||||
<b class="caret"></b>
|
||||
</a>
|
||||
<ul class="dropdown-menu dropdown-menu-right">
|
||||
<div class="btn-group btn-group-justified">
|
||||
<?php
|
||||
echo AVideoPlugin::getUserNotificationButton();
|
||||
?>
|
||||
</div>
|
||||
<div class="list-group">
|
||||
<?php
|
||||
for($i=1;$i<=10;$i++){
|
||||
echo '<div class="priority priority'.$i.'"></div>';
|
||||
}
|
||||
?>
|
||||
</div>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- right menu start -->
|
Loading…
Add table
Add a link
Reference in a new issue