'components' => [
'gearman' => [
'class' => 'filsh\yii2\gearman\GearmanComponent',
'servers' => [
['host' => '127.0.0.1', 'port' => 4730],
],
'user' => 'www-data',
'jobs' => [
'syncCalendar' => [
'class' => 'common\jobs\SyncCalendar'
],
]
]
],
...
'controllerMap' => [
'gearman' => [
'class' => 'filsh\yii2\gearman\GearmanController',
'gearmanComponent' => 'gearman'
],
],
var list = document.getElementsByClassName("right-column-dialog")[0];
var list2 = document.getElementsByClassName("left-column-dialog")[0];
list.style.width = "85" - list2.style.width;