toggle bar stats

This commit is contained in:
2026-10-13 14:29:00 +02:00
parent b7ed6c64ed
commit bb3d1b1aa1
2 changed files with 28 additions and 2 deletions
+14 -1
View File
@@ -727,7 +727,7 @@ if ($action === 'order') {
</head> </head>
<body> <body>
<div class="wrapper" id="appWrapper"> <div class="wrapper toggled" id="appWrapper">
<?php include('include/navbar.php'); ?> <?php include('include/navbar.php'); ?>
<?php include('include/topbar.php'); ?> <?php include('include/topbar.php'); ?>
@@ -1021,6 +1021,19 @@ if ($action === 'order') {
</div> </div>
<?php include('jsinclude.php'); ?> <?php include('jsinclude.php'); ?>
<script>
// Navbar collassata all'apertura: si espande al passaggio del mouse (come dopo il click sulla freccia)
$(function() {
$('.sidebar-wrapper').hover(
function() {
$('.wrapper.toggled').addClass('sidebar-hovered');
},
function() {
$('.wrapper').removeClass('sidebar-hovered');
}
);
});
</script>
<script> <script>
(function() { (function() {
const STATUS_LABEL = { const STATUS_LABEL = {
+14 -1
View File
@@ -557,7 +557,7 @@ if ($action === 'data') {
</head> </head>
<body> <body>
<div class="wrapper" id="appWrapper"> <div class="wrapper toggled" id="appWrapper">
<?php include('include/navbar.php'); ?> <?php include('include/navbar.php'); ?>
<?php include('include/topbar.php'); ?> <?php include('include/topbar.php'); ?>
@@ -686,6 +686,19 @@ if ($action === 'data') {
</div> </div>
<?php include('jsinclude.php'); ?> <?php include('jsinclude.php'); ?>
<script>
// Navbar collassata all'apertura: si espande al passaggio del mouse (come dopo il click sulla freccia)
$(function() {
$('.sidebar-wrapper').hover(
function() {
$('.wrapper.toggled').addClass('sidebar-hovered');
},
function() {
$('.wrapper').removeClass('sidebar-hovered');
}
);
});
</script>
<script> <script>
(function() { (function() {
const MONTHS = ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic']; const MONTHS = ['gen', 'feb', 'mar', 'apr', 'mag', 'giu', 'lug', 'ago', 'set', 'ott', 'nov', 'dic'];