DmitrMakeev commited on
Commit
e95bced
·
verified ·
1 Parent(s): f40f030

Update bas_vk_tab.html

Browse files
Files changed (1) hide show
  1. bas_vk_tab.html +30 -23
bas_vk_tab.html CHANGED
@@ -367,29 +367,36 @@ button:hover, #filter-clear:hover, #download-json:hover, #take-for-yourself:hove
367
  }},
368
  {title:"Прогрес по воронке", field:"fin_prog", formatter:"progress", formatterParams:{color:["#ff0000", "orange", "#00dd00"]}, sorter:"number", width:100},
369
  {title:"Бонусы", field:"pr1"},
370
- {title:"Опросы", field:"pr2", cellClick:function(e, cell){
371
- var data = cell.getData();
372
- const notyf = new Notyf({
373
- duration: 5000,
374
- position: {
375
- x: 'right',
376
- y: 'top',
377
- },
378
- types: [
379
- {
380
-
381
- duration: 10000,
382
-
383
- message: 'Опросы: ' + data.pr2,
384
-
385
- }
386
- ]
387
- });
388
- notyf.open({
389
- type: 'warning',
390
- message: 'Опросы: ' + data.pr2
391
- });
392
- }},
 
 
 
 
 
 
 
393
  {title:"Доступы", field:"pr3"},
394
  {title:"Канал трафика", field:"canal"},
395
  {title:"Ключ PR", field:"key_pr"},
 
367
  }},
368
  {title:"Прогрес по воронке", field:"fin_prog", formatter:"progress", formatterParams:{color:["#ff0000", "orange", "#00dd00"]}, sorter:"number", width:100},
369
  {title:"Бонусы", field:"pr1"},
370
+ {
371
+ title: "Опросы",
372
+ field: "pr2",
373
+ cellClick: function(e, cell) {
374
+ var data = cell.getData();
375
+ const notyf = new Notyf({
376
+ duration: 5000,
377
+ position: {
378
+ x: 'right',
379
+ y: 'top',
380
+ },
381
+ types: [
382
+ {
383
+ type: 'warning',
384
+ duration: 10000,
385
+ message: 'Опросы: ' + data.pr2,
386
+ icon: {
387
+ className: 'fas fa-exclamation-triangle', // Класс иконки FontAwesome
388
+ tagName: 'i',
389
+ text: ''
390
+ }
391
+ }
392
+ ]
393
+ });
394
+ notyf.open({
395
+ type: 'warning',
396
+ message: 'Опросы: ' + data.pr2
397
+ });
398
+ }
399
+ }
400
  {title:"Доступы", field:"pr3"},
401
  {title:"Канал трафика", field:"canal"},
402
  {title:"Ключ PR", field:"key_pr"},