Responsive
This commit is contained in:
parent
fbaba3b81b
commit
f3803bab91
@ -290,7 +290,7 @@ class modMyModule extends DolibarrModules
|
|||||||
'fk_menu'=>'', // '' if this is a top menu. For left menu, use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
|
'fk_menu'=>'', // '' if this is a top menu. For left menu, use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
|
||||||
'type'=>'top', // This is a Top menu entry
|
'type'=>'top', // This is a Top menu entry
|
||||||
'titre'=>'ModuleMyModuleName',
|
'titre'=>'ModuleMyModuleName',
|
||||||
'prefix' => img_picto('', $this->picto, 'class="paddingright pictofixedwidth"'),
|
'prefix' => img_picto('', $this->picto, 'class="paddingright pictofixedwidth valignmiddle"'),
|
||||||
'mainmenu'=>'mymodule',
|
'mainmenu'=>'mymodule',
|
||||||
'leftmenu'=>'',
|
'leftmenu'=>'',
|
||||||
'url'=>'/mymodule/mymoduleindex.php',
|
'url'=>'/mymodule/mymoduleindex.php',
|
||||||
@ -307,7 +307,7 @@ class modMyModule extends DolibarrModules
|
|||||||
'fk_menu'=>'fk_mainmenu=mymodule', // '' if this is a top menu. For left menu, use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
|
'fk_menu'=>'fk_mainmenu=mymodule', // '' if this is a top menu. For left menu, use 'fk_mainmenu=xxx' or 'fk_mainmenu=xxx,fk_leftmenu=yyy' where xxx is mainmenucode and yyy is a leftmenucode
|
||||||
'type'=>'left', // This is a Top menu entry
|
'type'=>'left', // This is a Top menu entry
|
||||||
'titre'=>'MyObject',
|
'titre'=>'MyObject',
|
||||||
'prefix' => img_picto('', $this->picto, 'class="paddingright pictofixedwidth"'),
|
'prefix' => img_picto('', $this->picto, 'class="paddingright pictofixedwidth valignmiddle"'),
|
||||||
'mainmenu'=>'mymodule',
|
'mainmenu'=>'mymodule',
|
||||||
'leftmenu'=>'myobject',
|
'leftmenu'=>'myobject',
|
||||||
'url'=>'/mymodule/mymoduleindex.php',
|
'url'=>'/mymodule/mymoduleindex.php',
|
||||||
|
|||||||
@ -478,7 +478,7 @@ $formproject->selectTasks($socid ? $socid : -1, $taskid, 'taskid', 32, 0, '-- '.
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
print ' ';
|
print ' ';
|
||||||
print $formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid', 0, 'maxwidth150onsmartphone');
|
print $formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid', 0, 'maxwidth150onsmartphone');
|
||||||
print '<input type="submit" class="button valignmiddle" name="assigntask" value="'.dol_escape_htmltag($titleassigntask).'">';
|
print '<input type="submit" class="button valignmiddle" name="assigntask smallonsmartphone" value="'.dol_escape_htmltag($titleassigntask).'">';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
|
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
|
||||||
|
|||||||
@ -396,7 +396,7 @@ $formproject->selectTasks($socid ? $socid : -1, $taskid, 'taskid', 32, 0, '-- '.
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
print ' ';
|
print ' ';
|
||||||
print $formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid', 0, 'maxwidth150onsmartphone');
|
print $formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid', 0, 'maxwidth150onsmartphone');
|
||||||
print '<input type="submit" class="button valignmiddle" name="assigntask" value="'.dol_escape_htmltag($titleassigntask).'">';
|
print '<input type="submit" class="button valignmiddle smallonsmartphone" name="assigntask" value="'.dol_escape_htmltag($titleassigntask).'">';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
|
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
|
||||||
|
|||||||
@ -493,7 +493,7 @@ $formproject->selectTasks($socid ? $socid : -1, $taskid, 'taskid', 32, 0, '-- '.
|
|||||||
print '</div>';
|
print '</div>';
|
||||||
print ' ';
|
print ' ';
|
||||||
print $formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid', 0, 'maxwidth150onsmartphone');
|
print $formcompany->selectTypeContact($object, '', 'type', 'internal', 'rowid', 0, 'maxwidth150onsmartphone');
|
||||||
print '<input type="submit" class="button valignmiddle" name="assigntask" value="'.dol_escape_htmltag($titleassigntask).'">';
|
print '<input type="submit" class="button valignmiddle smallonsmartphone" name="assigntask" value="'.dol_escape_htmltag($titleassigntask).'">';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
|
print '<div class="clearboth" style="padding-bottom: 20px;"></div>';
|
||||||
|
|||||||
@ -1491,6 +1491,10 @@ select.widthcentpercentminusxx, span.widthcentpercentminusxx:not(.select2-select
|
|||||||
input.buttonpayment, button.buttonpayment, div.buttonpayment {
|
input.buttonpayment, button.buttonpayment, div.buttonpayment {
|
||||||
min-width: 270px;
|
min-width: 270px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.smallonsmartphone {
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Force values for small screen 570 */
|
/* Force values for small screen 570 */
|
||||||
|
|||||||
@ -1495,6 +1495,17 @@ table[summary="list_of_modules"] .fa-cog {
|
|||||||
div.divphotoref {
|
div.divphotoref {
|
||||||
padding-right: 10px !important;
|
padding-right: 10px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.poweredbyimg {
|
||||||
|
width: 48px;
|
||||||
|
}
|
||||||
|
input.buttonpayment, button.buttonpayment, div.buttonpayment {
|
||||||
|
min-width: 270px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.smallonsmartphone {
|
||||||
|
font-size: 0.8em;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Force values for small screen 570 */
|
/* Force values for small screen 570 */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user