Fix width and remove hours on date into table
This commit is contained in:
parent
14cb6d73bc
commit
f47f39f69a
@ -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)
|
||||
|
||||
@ -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";
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user