1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2024-12-22 05:23:41 +01:00

Miglioramento CSS

Aggiunto limite massimo di larghezza per le colonne Datatables (500px).
This commit is contained in:
Thomas Zilio 2017-09-01 13:08:43 +02:00
parent b11f641f24
commit 4d8a35d5da
3 changed files with 16 additions and 14 deletions

View File

@ -199,17 +199,14 @@ a.disabled {
background: transparent url(../img/ajax-loader.gif) top left no-repeat;
}
#tiny-loader {
position: fixed;
position: fixed;
z-index: 9000;
width: 100%;
height: 100%;
top: 50%;
top: 50%;
left: 50%;
background: transparent url(../img/ajax-loader.gif) top left no-repeat;
}
body .header .logo {
@ -541,9 +538,17 @@ span.form-control {
}
}
/* Interventi da pianificare in Dashboard */
#external-events .fc-event{
margin-top:10px;
padding:10px;
cursor:pointer;
}
#external-events .fc-event {
margin-top: 10px;
padding: 10px;
cursor: pointer;
}
div.DTS tbody td,
div.DTS tbody th {
word-wrap: break-word;
max-width: 500px;
}

View File

@ -560,9 +560,6 @@ if (get_var('Utilizzare i tooltip sul calendario') == '1') {
events: {
url: globals.rootdir + "/modules/dashboard/ajaxreq.php?op=get_current_month",
type: 'GET',
success: function(data) {
console.log(data);
},
error: function() {
alert('<?php echo _('Errore durante la creazione degli eventi'); ?>');
}

View File

@ -304,7 +304,7 @@ if (empty($new_codice)) {
$('#add-form').find('[type=submit]').prop("disabled", true).addClass("disabled");
$('#add-form').find('input:disabled, select:disabled, textarea:disabled').removeAttr('disabled');
$.post(globals.rootdir + '/actions.php', $('#add-form').serialize(), function(data,response){
$.post(globals.rootdir + '/actions.php?id_module=<?php echo Modules::getModule('Interventi')['id'] ?>', $('#add-form').serialize(), function(data,response){
if(response=="success"){
// Se l'aggiunta intervento proviene dalla scheda di pianificazione ordini di servizio della dashboard, la ricarico
if(ref == "dashboard"){