| Línea 10... |
Línea 10... |
| 10 |
|
10 |
|
| 11 |
$allowImport = $acl->isAllowed($roleName, 'settings/push-templates/import') ? 1 : 0;
|
11 |
$allowImport = $acl->isAllowed($roleName, 'settings/push-templates/import') ? 1 : 0;
|
| Línea 12... |
Línea 12... |
| 12 |
$allowEdit = $acl->isAllowed($roleName, 'settings/push-templates/edit') ? 1 : 0;
|
12 |
$allowEdit = $acl->isAllowed($roleName, 'settings/push-templates/edit') ? 1 : 0;
|
| 13 |
|
13 |
|
| Línea 14... |
Línea 14... |
| 14 |
|
14 |
|
| Línea 15... |
Línea 15... |
| 15 |
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
|
15 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
|
| 16 |
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
|
16 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
|
| 17 |
|
17 |
|
| Línea 18... |
Línea 18... |
| 18 |
$this->inlineScript()->appendFile($this->basePath('plugins/bootstrap-maxlenght/bootstrap-maxlength.js'));
|
18 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-maxlenght/bootstrap-maxlength.js'));
|
| 19 |
|
19 |
|
| Línea 20... |
Línea 20... |
| 20 |
|
20 |
|
| 21 |
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/jquery.validate.js'));
|
21 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/jquery.validate.js'));
|
| 22 |
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/additional-methods.js'));
|
22 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/additional-methods.js'));
|
| 23 |
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/localization/messages_es.js'));
|
23 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/localization/messages_es.js'));
|
| - |
|
24 |
|
| - |
|
25 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.css'));
|
| - |
|
26 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.css'));
|
| - |
|
27 |
|
| Línea 24... |
Línea -... |
| 24 |
|
- |
|
| 25 |
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-bs4/css/dataTables.bootstrap4.min.css'));
|
- |
|
| Línea 26... |
Línea -... |
| 26 |
$this->headLink()->appendStylesheet($this->basePath('plugins/datatables-responsive/css/responsive.bootstrap4.min.css'));
|
- |
|
| 27 |
|
- |
|
| Línea 28... |
Línea 28... |
| 28 |
$this->inlineScript()->appendFile($this->basePath('plugins/datatables/jquery.dataTables.min.js'));
|
28 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net/jquery.dataTables.js'));
|
| Línea 166... |
Línea 166... |
| 166 |
'targets': -3,
|
166 |
'targets': -3,
|
| 167 |
'orderable': false,
|
167 |
'orderable': false,
|
| 168 |
'className' : 'text-center',
|
168 |
'className' : 'text-center',
|
| 169 |
'render' : function ( data, type, row ) {
|
169 |
'render' : function ( data, type, row ) {
|
| Línea 170... |
Línea 170... |
| 170 |
|
170 |
|
| 171 |
checked = data == 'a' ? ' checked="checked" ' : '';
|
171 |
checked = data == 'a' ? 'checked' : '';
|
| 172 |
return '<div class="checkbox checkbox-success">' +
|
172 |
return '<div class="form-check">' +
|
| 173 |
'<input class="styled" type="checkbox" ' + checked + ' disabled="disabled">' +
|
173 |
'<input type="checkbox" class="form-check-input" disabled="" checked="' + checked + '">' +
|
| 174 |
'<label ></label></div>';
|
174 |
'<label class="form-check-label" for="checkCheckedDisabled"></label></div>' ;
|
| 175 |
}
|
175 |
}
|
| 176 |
},
|
176 |
},
|
| 177 |
{
|
177 |
{
|
| 178 |
'targets': -2,
|
178 |
'targets': -2,
|
| Línea 392... |
Línea 392... |
| 392 |
<div class="modal-content">
|
392 |
<div class="modal-content">
|
| Línea 393... |
Línea 393... |
| 393 |
|
393 |
|
| 394 |
<!-- Modal Header -->
|
394 |
<!-- Modal Header -->
|
| 395 |
<div class="modal-header">
|
395 |
<div class="modal-header">
|
| 396 |
<h4 class="modal-title">LABEL_PUSHES_TEMPLATES - <span id="form-title"></span></h4>
|
396 |
<h4 class="modal-title">LABEL_PUSHES_TEMPLATES - <span id="form-title"></span></h4>
|
| 397 |
<button type="button" class="close" data-dismiss="modal">×</button>
|
397 |
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="btn-close"></button>
|
| Línea 398... |
Línea 398... |
| 398 |
</div>
|
398 |
</div>
|
| 399 |
|
399 |
|
| 400 |
<!-- Modal body -->
|
400 |
<!-- Modal body -->
|
| Línea 454... |
Línea 454... |
| 454 |
<?php echo $this->form()->closeTag($form); ?>
|
454 |
<?php echo $this->form()->closeTag($form); ?>
|
| 455 |
</div>
|
455 |
</div>
|
| Línea 456... |
Línea 456... |
| 456 |
|
456 |
|
| 457 |
<!-- Modal footer -->
|
457 |
<!-- Modal footer -->
|
| 458 |
<div class="modal-footer">
|
458 |
<div class="modal-footer">
|
| 459 |
<button type="button" class="btn btn-danger" data-dismiss="modal">Cerrar</button>
|
459 |
<button type="button" class="btn btn-light" data-bs-dismiss="modal">LABEL_CLOSE</button>
|
| Línea 460... |
Línea 460... |
| 460 |
</div>
|
460 |
</div>
|
| 461 |
|
461 |
|
| 462 |
</div>
|
462 |
</div>
|