| Línea 12... |
Línea 12... |
| 12 |
$allowAdd = $acl->isAllowed($roleName, 'settings/degrees/add') ? 1 : 0;
|
12 |
$allowAdd = $acl->isAllowed($roleName, 'settings/degrees/add') ? 1 : 0;
|
| 13 |
$allowEdit = $acl->isAllowed($roleName, 'settings/degrees/edit') ? 1 : 0;
|
13 |
$allowEdit = $acl->isAllowed($roleName, 'settings/degrees/edit') ? 1 : 0;
|
| 14 |
$allowDelete = $acl->isAllowed($roleName, 'settings/degrees/delete') ? 1 : 0;
|
14 |
$allowDelete = $acl->isAllowed($roleName, 'settings/degrees/delete') ? 1 : 0;
|
| Línea 15... |
Línea -... |
| 15 |
|
- |
|
| 16 |
|
- |
|
| Línea 17... |
Línea -... |
| 17 |
$this->headLink()->appendStylesheet($this->basePath('plugins/nprogress/nprogress.css'));
|
- |
|
| Línea -... |
Línea 15... |
| - |
|
15 |
|
| - |
|
16 |
|
| Línea -... |
Línea 17... |
| - |
|
17 |
|
| - |
|
18 |
|
| - |
|
19 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
|
| 18 |
$this->inlineScript()->appendFile($this->basePath('plugins/nprogress/nprogress.js'));
|
20 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
|
| 19 |
|
21 |
|
| 20 |
$this->inlineScript()->appendFile($this->basePath('plugins/ckeditor/ckeditor.js'));
|
22 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap-maxlenght/bootstrap-maxlength.js'));
|
| Línea 21... |
Línea 23... |
| 21 |
|
23 |
|
| 22 |
|
24 |
|
| Línea 23... |
Línea 25... |
| 23 |
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/jquery.validate.js'));
|
25 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/jquery.validate.js'));
|
| 24 |
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/additional-methods.js'));
|
26 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/additional-methods.js'));
|
| 25 |
$this->inlineScript()->appendFile($this->basePath('plugins/jquery-validation/localization/messages_es.js'));
|
27 |
$this->inlineScript()->appendFile($this->basePath('assets/vendors/jquery-validation/localization/messages_es.js'));
|
| 26 |
|
28 |
|
| Línea 27... |
Línea -... |
| 27 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.css'));
|
- |
|
| 28 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.css'));
|
29 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.css'));
|
| 29 |
|
30 |
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.css'));
|
| Línea 333... |
Línea 334... |
| 333 |
}).fail(function( jqXHR, textStatus, errorThrown) {
|
334 |
}).fail(function( jqXHR, textStatus, errorThrown) {
|
| 334 |
$.fn.showError(textStatus);
|
335 |
$.fn.showError(textStatus);
|
| 335 |
}).always(function() {
|
336 |
}).always(function() {
|
| 336 |
NProgress.done();
|
337 |
NProgress.done();
|
| 337 |
});
|
338 |
});
|
| - |
|
339 |
}
|
| 338 |
}
|
340 |
});
|
| 339 |
});
|
341 |
});
|
| Línea 340... |
Línea 342... |
| 340 |
|
342 |
|
| 341 |
$('body').on('click', 'button.btn-refresh', function(e) {
|
343 |
$('body').on('click', 'button.btn-refresh', function(e) {
|
| 342 |
e.preventDefault();
|
344 |
e.preventDefault();
|
| 343 |
gridTable.api().ajax.reload(null, false);
|
345 |
gridTable.api().ajax.reload(null, false);
|
| Línea 361... |
Línea 363... |
| 361 |
|
363 |
|
| 362 |
<div class="container">
|
364 |
<div class="container">
|
| 363 |
<div class="row">
|
365 |
<div class="row">
|
| 364 |
<div class="col-12">
|
366 |
<div class="col-12">
|
| 365 |
<div class="card">
|
- |
|
| - |
|
367 |
<div class="card">
|
| 366 |
<h6 class="card-title">LABEL_DEGREES</h6>
|
368 |
|
| - |
|
369 |
<div class="card-body">
|
| 367 |
<div class="card-body">
|
370 |
<h6 class="card-title">LABEL_DEGREES</h6>
|
| 368 |
<div class="row">
|
371 |
<div class="row">
|
| 369 |
<div class="col-12 mb-3 mt-3">
|
372 |
<div class="col-12 mb-3 mt-3">
|
| 370 |
<table id="gridTable" class="table table-hover">
|
373 |
<table id="gridTable" class="table table-hover">
|
| 371 |
<thead>
|
374 |
<thead>
|