Fix responsive
This commit is contained in:
parent
a7d4aa9fb3
commit
bdb03c8bd0
@ -1315,7 +1315,7 @@ if ($action == 'create') {
|
|||||||
//checkbox create reminder
|
//checkbox create reminder
|
||||||
print '<hr>';
|
print '<hr>';
|
||||||
print '<br>';
|
print '<br>';
|
||||||
print '<label for="addreminder">'.$langs->trans("AddReminder").'</label> <input type="checkbox" id="addreminder" name="addreminder"><br><br>';
|
print '<label for="addreminder">'.img_picto('', 'bell', 'class="pictofixedwidth"').$langs->trans("AddReminder").'</label> <input type="checkbox" id="addreminder" name="addreminder"><br><br>';
|
||||||
|
|
||||||
print '<div class="reminderparameters" style="display: none;">';
|
print '<div class="reminderparameters" style="display: none;">';
|
||||||
|
|
||||||
@ -1332,7 +1332,7 @@ if ($action == 'create') {
|
|||||||
|
|
||||||
//Reminder Type
|
//Reminder Type
|
||||||
print '<tr><td class="titlefieldcreate nowrap">'.$langs->trans("ReminderType").'</td><td colspan="3">';
|
print '<tr><td class="titlefieldcreate nowrap">'.$langs->trans("ReminderType").'</td><td colspan="3">';
|
||||||
print $form->selectarray('selectremindertype', $TRemindTypes, '', 0, 0, 0, '', 0, 0, 0, '', 'mimnwidth200', 1);
|
print $form->selectarray('selectremindertype', $TRemindTypes, '', 0, 0, 0, '', 0, 0, 0, '', 'minwidth200 maxwidth500', 1);
|
||||||
print '</td></tr>';
|
print '</td></tr>';
|
||||||
|
|
||||||
//Mail Model
|
//Mail Model
|
||||||
@ -1347,14 +1347,18 @@ if ($action == 'create') {
|
|||||||
print "\n".'<script type="text/javascript">';
|
print "\n".'<script type="text/javascript">';
|
||||||
print '$(document).ready(function () {
|
print '$(document).ready(function () {
|
||||||
$("#addreminder").click(function(){
|
$("#addreminder").click(function(){
|
||||||
|
console.log("Click on addreminder");
|
||||||
if (this.checked) {
|
if (this.checked) {
|
||||||
$(".reminderparameters").show();
|
$(".reminderparameters").show();
|
||||||
} else {
|
} else {
|
||||||
$(".reminderparameters").hide();
|
$(".reminderparameters").hide();
|
||||||
}
|
}
|
||||||
|
$("#selectremindertype").select2("destroy");
|
||||||
|
$("#selectremindertype").select2();
|
||||||
});
|
});
|
||||||
|
|
||||||
$("#selectremindertype").change(function(){
|
$("#selectremindertype").change(function(){
|
||||||
|
console.log("Change on selectremindertype");
|
||||||
var selected_option = $("#selectremindertype option:selected").val();
|
var selected_option = $("#selectremindertype option:selected").val();
|
||||||
if(selected_option == "email") {
|
if(selected_option == "email") {
|
||||||
$("#select_actioncommsendmodel_mail").closest("tr").show();
|
$("#select_actioncommsendmodel_mail").closest("tr").show();
|
||||||
|
|||||||
@ -3627,7 +3627,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
if (empty($srconly) && in_array($pictowithouttext, array(
|
if (empty($srconly) && in_array($pictowithouttext, array(
|
||||||
'1downarrow', '1uparrow', '1leftarrow', '1rightarrow', '1uparrow_selected', '1downarrow_selected', '1leftarrow_selected', '1rightarrow_selected',
|
'1downarrow', '1uparrow', '1leftarrow', '1rightarrow', '1uparrow_selected', '1downarrow_selected', '1leftarrow_selected', '1rightarrow_selected',
|
||||||
'accountancy', 'accounting_account', 'account', 'accountline', 'action', 'add', 'address', 'angle-double-down', 'angle-double-up', 'asset',
|
'accountancy', 'accounting_account', 'account', 'accountline', 'action', 'add', 'address', 'angle-double-down', 'angle-double-up', 'asset',
|
||||||
'bank_account', 'barcode', 'bank', 'bill', 'billa', 'billr', 'billd', 'bookmark', 'bom', 'bug', 'building',
|
'bank_account', 'barcode', 'bank', 'bell', 'bill', 'billa', 'billr', 'billd', 'bookmark', 'bom', 'bug', 'building',
|
||||||
'calendar', 'calendarmonth', 'calendarweek', 'calendarday', 'calendarperuser', 'calendarpertype',
|
'calendar', 'calendarmonth', 'calendarweek', 'calendarday', 'calendarperuser', 'calendarpertype',
|
||||||
'cash-register', 'category', 'chart', 'check', 'clock', 'close_title', 'cog', 'collab', 'company', 'contact', 'country', 'contract', 'conversation', 'cron', 'cubes',
|
'cash-register', 'category', 'chart', 'check', 'clock', 'close_title', 'cog', 'collab', 'company', 'contact', 'country', 'contract', 'conversation', 'cron', 'cubes',
|
||||||
'multicurrency',
|
'multicurrency',
|
||||||
@ -3659,7 +3659,7 @@ function img_picto($titlealt, $picto, $moreatt = '', $pictoisfullpath = false, $
|
|||||||
$facolor = '';
|
$facolor = '';
|
||||||
$fasize = '';
|
$fasize = '';
|
||||||
$fa = 'fas';
|
$fa = 'fas';
|
||||||
if (in_array($pictowithouttext, array('clock', 'establishment', 'generic', 'minus-square', 'object_generic', 'pdf', 'plus-square', 'timespent', 'note', 'off', 'on', 'object_bookmark', 'bookmark', 'vcard'))) {
|
if (in_array($pictowithouttext, array('bell', 'clock', 'establishment', 'generic', 'minus-square', 'object_generic', 'pdf', 'plus-square', 'timespent', 'note', 'off', 'on', 'object_bookmark', 'bookmark', 'vcard'))) {
|
||||||
$fa = 'far';
|
$fa = 'far';
|
||||||
}
|
}
|
||||||
if (in_array($pictowithouttext, array('black-tie', 'github', 'skype', 'twitter', 'facebook', 'linkedin', 'instagram', 'snapchat', 'stripe', 'stripe-s', 'youtube', 'google-plus-g', 'whatsapp'))) {
|
if (in_array($pictowithouttext, array('black-tie', 'github', 'skype', 'twitter', 'facebook', 'linkedin', 'instagram', 'snapchat', 'stripe', 'stripe-s', 'youtube', 'google-plus-g', 'whatsapp'))) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user