update
This commit is contained in:
@@ -125,6 +125,47 @@
|
||||
transform: translateY(30px);
|
||||
}
|
||||
}
|
||||
|
||||
body.sidebar-collapsed .left.side-menu {
|
||||
width: 80px;
|
||||
/* Riduci la larghezza della sidebar */
|
||||
overflow: hidden;
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
body.sidebar-collapsed .content-page {
|
||||
margin-left: 80px;
|
||||
/* Adatta il contenuto */
|
||||
transition: all 0.3s ease;
|
||||
}
|
||||
|
||||
body.sidebar-collapsed .left.side-menu ul li a span {
|
||||
display: none;
|
||||
/* Nascondi il testo dei link */
|
||||
}
|
||||
|
||||
body.sidebar-collapsed .left.side-menu ul li a {
|
||||
text-align: center;
|
||||
/* Centra le icone */
|
||||
}
|
||||
|
||||
body.sidebar-collapsed .left.side-menu .sidebar-user h6,
|
||||
body.sidebar-collapsed .left.side-menu .sidebar-user p {
|
||||
display: none;
|
||||
/* Nascondi dettagli utente */
|
||||
}
|
||||
|
||||
.button-menu-mobile {
|
||||
display: inline-block;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
font-size: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.mdi-menu {
|
||||
font-size: 24px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<nav class="navbar-custom">
|
||||
@@ -192,9 +233,9 @@
|
||||
</div>
|
||||
|
||||
<!-- item-->
|
||||
<div id="notificationItemDiv">
|
||||
<div id="notificationItemDiv">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<!-- <a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-primary"><i class="mdi mdi-cart-outline"></i></div>
|
||||
<p class="notify-details"><b>Your order is placed</b><small class="text-muted">Dummy text of the printing and typesetting industry.</small></p>
|
||||
@@ -228,9 +269,10 @@
|
||||
|
||||
<ul class="list-inline menu-left mb-0">
|
||||
<li class="float-left">
|
||||
<button class="button-menu-mobile open-left waves-light waves-effect">
|
||||
<button id="toggle-sidebar" class="button-menu-mobile open-left waves-light waves-effect">
|
||||
<i class="mdi mdi-menu"></i>
|
||||
</button>
|
||||
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
@@ -308,13 +350,13 @@
|
||||
$.post("<?php echo USERAREA_PATH; ?>include/getNotifications.php", {
|
||||
method: 'getNotifications'
|
||||
}, function(data) {
|
||||
unseen_notifications =data.unseen_notifications;
|
||||
unseen_notifications = data.unseen_notifications;
|
||||
$("#notificationQuantity").text(unseen_notifications.length);
|
||||
$("#notificationQuantityDropDown").text(unseen_notifications.length);
|
||||
|
||||
$("#notificationItemDiv").empty();
|
||||
|
||||
for(var i=0; i<data.unseen_notifications.length; i++){
|
||||
for (var i = 0; i < data.unseen_notifications.length; i++) {
|
||||
$("#notificationItemDiv").append(`
|
||||
<a href="javascript:void(0);" class="dropdown-item notify-item">
|
||||
<div class="notify-icon bg-primary">
|
||||
@@ -324,20 +366,20 @@
|
||||
</a>
|
||||
`);
|
||||
}
|
||||
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<div class="notification-space" id="mainNotificationDiv">
|
||||
<!-- Notifications will be displayed here -->
|
||||
</div>
|
||||
|
||||
<script src="<?php echo USERAREA_PATH;?>assets/js/popper.min.js"></script>
|
||||
<script src="<?php echo USERAREA_PATH;?>assets/js/bootstrap.min.js"></script>
|
||||
<script src="<?php echo USERAREA_PATH; ?>assets/js/popper.min.js"></script>
|
||||
<script src="<?php echo USERAREA_PATH; ?>assets/js/bootstrap.min.js"></script>
|
||||
|
||||
<script src="../assets/js/jquery.slimscroll.js"></script>
|
||||
<!-- App js -->
|
||||
<script src="<?php echo USERAREA_PATH;?>assets/js/app.js"></script>
|
||||
<script src="<?php echo USERAREA_PATH;?>assets/plugins/alertify/js/alertify.js"></script>
|
||||
<script src="../assets/js/jquery.slimscroll.js"></script>
|
||||
<!-- App js -->
|
||||
<script src="<?php echo USERAREA_PATH; ?>assets/js/app.js"></script>
|
||||
<script src="<?php echo USERAREA_PATH; ?>assets/plugins/alertify/js/alertify.js"></script>
|
||||
<!-- Top Bar End -->
|
||||
Reference in New Issue
Block a user