Fix width and remove hours on date into table

This commit is contained in:
Laurent Destailleur 2016-07-26 14:45:22 +02:00
parent 14cb6d73bc
commit f47f39f69a
2 changed files with 2 additions and 2 deletions

View File

@ -91,7 +91,7 @@ if (g.getDivId() != null)
var graphFormat = "day";
g.setDateInputFormat('<?php echo $dateformatinput; ?>'); // Set format of input dates ('mm/dd/yyyy', 'dd/mm/yyyy', does not work with 'yyyy-mm-dd')
g.setDateTaskTableDisplayFormat('<?php echo $datehourformat; ?>'); // Format of date used into line
g.setDateTaskTableDisplayFormat('<?php echo $dateformat; ?>'); // Format of date used into line
g.setDateTaskDisplayFormat('<?php echo $datehourformat; ?>'); // Format of date used into popup, not into line
g.setDayMajorDateDisplayFormat('dd mon');
g.setShowRes(1); // Show/Hide Responsible (0/1)

View File

@ -272,7 +272,7 @@ if (count($tasksarray)>0)
$dateformatinput2="%m/%d/%Y"; // How the date for data are formated
//var_dump($dateformatinput);
//var_dump($dateformatinput2);
print '<div id="tabs" class="gantt" style="border: 1px solid #ACACAC;">'."\n";
print '<div id="tabs" class="gantt" style="width: 80vw; border: 1px solid #ACACAC;">'."\n";
include_once DOL_DOCUMENT_ROOT.'/projet/ganttchart.inc.php';
print '</div>'."\n";
}