| Línea 7... |
Línea 7... |
| 7 |
|
7 |
|
| 8 |
$allowAdd = $acl->isAllowed($roleName, 'microlearning/content/slides/add') ? 1 : 0;
|
8 |
$allowAdd = $acl->isAllowed($roleName, 'microlearning/content/slides/add') ? 1 : 0;
|
| 9 |
$allowEdit = $acl->isAllowed($roleName, 'microlearning/content/slides/edit') ? 1 : 0;
|
9 |
$allowEdit = $acl->isAllowed($roleName, 'microlearning/content/slides/edit') ? 1 : 0;
|
| Línea 10... |
Línea -... |
| 10 |
$allowDelete = $acl->isAllowed($roleName, 'microlearning/content/slides/delete') ? 1 : 0;
|
- |
|
| 11 |
|
10 |
$allowDelete = $acl->isAllowed($roleName, 'microlearning/content/slides/delete') ? 1 : 0;
|
| 12 |
|
11 |
|
| Línea 13... |
Línea -... |
| 13 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
|
- |
|
| 14 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
|
- |
|
| 15 |
|
- |
|
| 16 |
|
- |
|
| 17 |
|
- |
|
| 18 |
|
12 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
|
| 19 |
|
13 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
|
| Línea 20... |
Línea 14... |
| 20 |
|
14 |
|
| 21 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap-fileinput/css/fileinput.min.css'));
|
15 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap-fileinput/css/fileinput.min.css'));
|
| 22 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap-fileinput/themes/explorer-fa/theme.css'));
|
16 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap-fileinput/themes/explorer-fa/theme.css'));
|
| 23 |
|
17 |
|
| 24 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/plugins/piexif.js'));
|
18 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/plugins/piexif.js'));
|
| 25 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/plugins/sortable.js'));
|
19 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/plugins/sortable.js'));
|
| Línea 26... |
Línea -... |
| 26 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/fileinput.js'));
|
- |
|
| 27 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/locales/es.js'));
|
- |
|
| 28 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/fa/theme.js'));
|
- |
|
| 29 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/explorer-fa/theme.js'));
|
- |
|
| 30 |
|
20 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/fileinput.js'));
|
| 31 |
|
21 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/js/locales/es.js'));
|
| Línea 32... |
Línea 22... |
| 32 |
|
22 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/fa/theme.js'));
|
| 33 |
|
23 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-fileinput/themes/explorer-fa/theme.js'));
|
| Línea 41... |
Línea 31... |
| 41 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net/jquery.dataTables.js'));
|
31 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net/jquery.dataTables.js'));
|
| 42 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.js'));
|
32 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.js'));
|
| 43 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/dataTables.responsive.min.js'));
|
33 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/dataTables.responsive.min.js'));
|
| 44 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.min.js'));
|
34 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.min.js'));
|
| Línea 45... |
Línea -... |
| 45 |
|
- |
|
| 46 |
|
35 |
|
| 47 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
|
36 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
|
| Línea 48... |
Línea -... |
| 48 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
|
- |
|
| 49 |
|
- |
|
| 50 |
|
- |
|
| 51 |
|
- |
|
| 52 |
|
- |
|
| 53 |
|
37 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
|
| 54 |
|
38 |
|
| Línea 55... |
Línea -... |
| 55 |
$this->inlineScript()->captureStart();
|
- |
|
| 56 |
echo <<<JS
|
39 |
$this->inlineScript()->captureStart();
|
| 57 |
|
- |
|
| 58 |
|
40 |
echo <<<JS
|
| Línea 59... |
Línea 41... |
| 59 |
jQuery( document ).ready(function( $ ) {
|
41 |
|
| 60 |
|
42 |
jQuery( document ).ready(function( $ ) {
|
| 61 |
var routeAdd = '';
|
43 |
var routeAdd = '';
|
| Línea 74... |
Línea 56... |
| 74 |
|
56 |
|
| 75 |
}
|
57 |
}
|
| Línea 76... |
Línea 58... |
| 76 |
});
|
58 |
});
|
| 77 |
|
59 |
|
| Línea 78... |
Línea 60... |
| 78 |
|
60 |
|
| 79 |
var allowEdit = $allowEdit;
|
61 |
var allowEdit = $allowEdit;
|
| 80 |
var allowDelete = $allowDelete;
|
62 |
var allowDelete = $allowDelete;
|
| Línea 94... |
Línea 76... |
| 94 |
'ajax': {
|
76 |
'ajax': {
|
| 95 |
'url' : '$routeDatatable',
|
77 |
'url' : '$routeDatatable',
|
| 96 |
'type' : 'get',
|
78 |
'type' : 'get',
|
| 97 |
'data': function ( d ) {
|
79 |
'data': function ( d ) {
|
| 98 |
d.capsule_uuid = $('#form-filter #capsule_uuid').val();
|
80 |
d.capsule_uuid = $('#form-filter #capsule_uuid').val();
|
| 99 |
|
- |
|
| 100 |
},
|
81 |
},
|
| 101 |
'beforeSend': function (request) {
|
82 |
'beforeSend': function (request) {
|
| 102 |
NProgress.start();
|
83 |
NProgress.start();
|
| 103 |
},
|
84 |
},
|
| 104 |
'dataFilter': function(response) {
|
85 |
'dataFilter': function(response) {
|
| Línea 1832... |
Línea 1813... |
| 1832 |
removePlugins: 'elementspath,Anchor',
|
1813 |
removePlugins: 'elementspath,Anchor',
|
| 1833 |
heigth: 100
|
1814 |
heigth: 100
|
| 1834 |
});
|
1815 |
});
|
| Línea 1835... |
Línea 1816... |
| 1835 |
|
1816 |
|
| 1836 |
|
1817 |
|
| Línea 1837... |
Línea 1818... |
| 1837 |
$('body').on('click', '.btn-view-image', function(e) {
|
1818 |
$('body').on('click', '.btn-view-image', function(e) {
|
| Línea 1838... |
Línea 1819... |
| 1838 |
e.preventDefault();
|
1819 |
e.preventDefault();
|
| Línea 1839... |
Línea 1820... |
| 1839 |
|
1820 |
|
| 1840 |
$('#modal-view-image-box').modal('show');
|
1821 |
$('#modal-view-image-box').modal('show');
|
| Línea 1841... |
Línea -... |
| 1841 |
|
- |
|
| 1842 |
$('#image-view').attr('src', $(this).data('href'));
|
1822 |
|
| 1843 |
|
1823 |
$('#image-view').attr('src', $(this).data('href'));
|
| Línea 1844... |
Línea 1824... |
| 1844 |
return false;
|
1824 |
|
| 1845 |
});
|
1825 |
return false;
|
| Línea 1899... |
Línea 1879... |
| 1899 |
|
1879 |
|
| 1900 |
return false;
|
1880 |
return false;
|
| Línea 1901... |
Línea 1881... |
| 1901 |
});
|
1881 |
});
|
| Línea 1902... |
Línea 1882... |
| 1902 |
|
1882 |
|
| 1903 |
|
1883 |
|