Fix responsive design
This commit is contained in:
parent
8487f0fc96
commit
1562df8f93
@ -30,6 +30,7 @@ require '../main.inc.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/contact/class/contact.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent.class.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/member.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/core/lib/functions2.lib.php';
|
||||
require_once DOL_DOCUMENT_ROOT.'/adherents/class/adherent_type.class.php';
|
||||
|
||||
$langs->load("companies");
|
||||
|
||||
@ -684,6 +684,7 @@ else
|
||||
{
|
||||
$num = $db->num_rows($resql);
|
||||
|
||||
print '<div class="div-table-responsive">';
|
||||
print '<table class="noborder" width="100%">';
|
||||
|
||||
$param="&id=".$object->id;
|
||||
@ -760,6 +761,7 @@ else
|
||||
$i++;
|
||||
}
|
||||
print "</table>";
|
||||
print "</div>";
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
@ -1171,6 +1171,8 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon='', $noprint=
|
||||
if (get_class($filterobj) == 'Societe') $out.='<input type="hidden" name="socid" value="'.$filterobj->id.'" />';
|
||||
|
||||
$out.="\n";
|
||||
|
||||
$out.='<div class="div-table-responsive-no-min">';
|
||||
$out.='<table class="noborder" width="100%">';
|
||||
$out.='<tr class="liste_titre">';
|
||||
if ($donetodo)
|
||||
@ -1201,7 +1203,7 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon='', $noprint=
|
||||
$out.='<td class="liste_titre"></td>';
|
||||
}
|
||||
$out.='<td class="liste_titre"></td>';
|
||||
$out.='<td class="liste_titre maxwidth100onsmartphone"><input type="text" name="search_agenda_label" value="'.$filters['search_agenda_label'].'"></td>';
|
||||
$out.='<td class="liste_titre maxwidth100onsmartphone"><input type="text" class="maxwidth100onsmartphone" name="search_agenda_label" value="'.$filters['search_agenda_label'].'"></td>';
|
||||
$out.='<td class="liste_titre"></td>';
|
||||
$out.='<td class="liste_titre">';
|
||||
$out.=$formactions->select_type_actions($actioncode, "actioncode", '', empty($conf->global->AGENDA_USE_EVENT_TYPE)?1:-1, 0, 0, 1);
|
||||
@ -1373,7 +1375,7 @@ function show_actions_done($conf, $langs, $db, $filterobj, $objcon='', $noprint=
|
||||
$i++;
|
||||
}
|
||||
$out.="</table>\n";
|
||||
//$out.="<br>\n";
|
||||
$out.="</div>\n";
|
||||
}
|
||||
|
||||
$out.='</form>';
|
||||
|
||||
@ -1441,7 +1441,7 @@ else if ($id || $ref)
|
||||
print '<div class="fichehalfleft">';
|
||||
print '<div class="underbanner clearboth"></div>';
|
||||
|
||||
print '<table class="border" width="100%">';
|
||||
print '<table class="border" width="100%">';
|
||||
|
||||
// Linked documents
|
||||
if ($typeobject == 'commande' && $object->$typeobject->id && ! empty($conf->commande->enabled))
|
||||
@ -1681,7 +1681,10 @@ else if ($id || $ref)
|
||||
/*
|
||||
* Lines of products
|
||||
*/
|
||||
print '<br><table class="noborder" width="100%">';
|
||||
print '<br>';
|
||||
|
||||
print '<div class="div-table-responsive-no-min">';
|
||||
print '<table class="noborder" width="100%">';
|
||||
print '<tr class="liste_titre">';
|
||||
if (! empty($conf->global->MAIN_VIEW_LINE_NUMBER))
|
||||
{
|
||||
@ -1955,10 +1958,9 @@ else if ($id || $ref)
|
||||
}
|
||||
|
||||
// TODO Show also lines ordered but not delivered
|
||||
|
||||
|
||||
|
||||
print "</table>\n";
|
||||
print '</div>';
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -78,7 +78,7 @@ if (! empty($conf->global->PROJECT_USE_OPPORTUNITIES))
|
||||
{
|
||||
print '<tr class="impair"><td align="center" colspan="2">';
|
||||
$data=array('series'=>$dataseries);
|
||||
dol_print_graph('stats',400,180,$data,1,'pie',0,'',0,$totaloppnb?0:1);
|
||||
dol_print_graph('stats',360,180,$data,1,'pie',0,'',0,$totaloppnb?0:1);
|
||||
print '</td></tr>';
|
||||
}
|
||||
//if ($totalinprocess != $total)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user