Fix grafici minori

This commit is contained in:
Luca 2023-03-13 22:56:37 +01:00
parent 914f9a7ff8
commit 292439448c
4 changed files with 18 additions and 3 deletions

View File

@ -746,11 +746,13 @@ input.small-width {
.fc-event-primary {
background-color: #3a87ad;
border: 1px solid #3a87ad;
color:white;
}
.fc-event-danger {
background-color: #dd4b46;
border: 1px solid #dd4b46;
color: white;
}
.fc-event .fc-event-main {

View File

@ -334,9 +334,14 @@ switch (filter('op')) {
$rs = $dbo->fetchArray($query);
$tooltip = '<b>Prev. '.$rs[0]['numero'].'</b> '.$rs[0]['nome'].''.(($rs[0]['have_attachments']) ? ' <i class="fa fa-paperclip" aria-hidden="true"></i>' : '').'<br><b>'.tr('Cliente').':</b> '.$rs[0]['cliente'];
if (!empty($rs[0]['cliente'])){
$tooltip = '<b>Prev. '.$rs[0]['numero'].'</b> '.$rs[0]['nome'].''.(($rs[0]['have_attachments']) ? ' <i class="fa fa-paperclip" aria-hidden="true"></i>' : '').'<br><b>'.tr('Cliente').':</b> '.$rs[0]['cliente'];
}else{
$tooltip = tr('Rilascia per aggiungere l\'attività...');
}
}
$tooltip .= '
<script type="text/javascript">
$(".shorten").shorten({
@ -345,8 +350,10 @@ switch (filter('op')) {
showChars : 200
});
</script>';
echo $tooltip;
}
break;

View File

@ -1,3 +1,4 @@
<?php
/*
* OpenSTAManager: il software gestionale open source per l'assistenza tecnica e la fatturazione
@ -516,6 +517,10 @@ globals.dashboard = {
//aspectRatio: 1.8,
stickyHeaderDates: true,
expandRows: true,
//themeSystem: "bootstrap5",
showNonCurrentDates: false,
dayMaxEvents: false,
eventMaxStack: 4,
schedulerLicenseKey: "GPL-My-Project-Is-Open-Source",
hiddenDays: globals.dashboard.show_sunday ? [] : [0],
headerToolbar: {

View File

@ -3,6 +3,7 @@
"main": "gulpfile.js",
"dependencies": {
"@fullcalendar/moment": "^6.1.4",
"@fullcalendar/moment-timezone": "^6.1.4",
"admin-lte": "^2.4.18",
"autocompleter": "^6.1.1",
"autonumeric": "^4.6.0",
@ -21,7 +22,7 @@
"dropzone": "^5.7.2",
"eonasdan-bootstrap-datetimepicker": "^4.17.49",
"font-awesome": "^4.7.0",
"fullcalendar-scheduler": "^6.0.3",
"fullcalendar-scheduler": "^6.1.4",
"geocomplete": "^1.7.0",
"hotkeys-js": "^3.8.5",
"html5sortable": "^0.13.2",