Replace Bootstrap switch with Bootstrap4 toggle to improve the performance. Fixes #3051

This commit is contained in:
Khushboo Vashi
2019-02-04 11:31:48 +05:30
committed by Akshay Joshi
parent 93234c86b7
commit dae8186c2a
29 changed files with 1672 additions and 173 deletions

View File

@@ -214,7 +214,7 @@ define('pgadmin.preferences', [
onText: gettext('True'),
offText: gettext('False'),
onColor: 'success',
offColor: 'default',
offColor: 'primary',
size: 'mini',
};
return 'switch';
@@ -223,8 +223,9 @@ define('pgadmin.preferences', [
onText: gettext('Show'),
offText: gettext('Hide'),
onColor: 'success',
offColor: 'default',
offColor: 'primary',
size: 'mini',
width: '56',
};
return 'switch';
case 'integer':