Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16992 | Rev 17248 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 16992 Rev 17178
Línea 13... Línea 13...
13
$allowNotification = $acl->isAllowed($roleName, 'microlearning/access-for-students/notification') ? 1 : 0;
13
$allowNotification = $acl->isAllowed($roleName, 'microlearning/access-for-students/notification') ? 1 : 0;
Línea 14... Línea 14...
14
 
14
 
15
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
15
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/nprogress/nprogress.css'));
Línea 16... Línea -...
16
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
-
 
17
 
-
 
18
 
-
 
19
 
-
 
20
 
-
 
21
 
-
 
22
 
-
 
23
 
-
 
24
 
16
$this->inlineScript()->appendFile($this->basePath('assets/vendors/nprogress/nprogress.js'));
25
 
17
 
Línea 26... Línea 18...
26
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.css'));
18
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.css'));
27
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.css'));
19
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.css'));
28
 
20
 
29
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net/jquery.dataTables.js'));
21
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net/jquery.dataTables.js'));
Línea 30... Línea -...
30
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.js'));
-
 
31
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/dataTables.responsive.min.js'));
-
 
32
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.min.js'));
-
 
33
 
-
 
34
 
-
 
35
 
-
 
36
 
-
 
37
 
22
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5/dataTables.bootstrap5.js'));
38
 
23
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/dataTables.responsive.min.js'));
Línea 39... Línea -...
39
 
-
 
40
 
-
 
41
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
-
 
42
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
24
$this->inlineScript()->appendFile($this->basePath('assets/vendors/datatables.net-bs5-responsive/responsive.bootstrap5.min.js'));
43
 
25
 
44
 
26
$this->headLink()->appendStylesheet($this->basePath('assets/vendors/bootstrap4-toggle/css/bootstrap4-toggle.min.css'));
Línea 45... Línea 27...
45
 
27
$this->inlineScript()->appendFile($this->basePath('assets/vendors/bootstrap4-toggle/js/bootstrap4-toggle.min.js'));
Línea 159... Línea 141...
159
            'responsive': true,
141
            'responsive': true,
160
            'select' : false,
142
            'select' : false,
161
        	'paging': true,
143
        	'paging': true,
162
            'pagingType': 'simple_numbers',
144
            'pagingType': 'simple_numbers',
163
            'lengthMenu': [ [10, 25, 50, -1], [10, 25, 50, 'All'] ],
145
            'lengthMenu': [ [10, 25, 50, -1], [10, 25, 50, 'All'] ],
164
 
-
 
165
    		'ajax': {
146
    		'ajax': {
166
    			'url' : '$routeDatatable',
147
    			'url' : '$routeDatatable',
167
    			'type' : 'get',
148
    			'type' : 'get',
168
                'data': function ( d ) {
149
                'data': function ( d ) {
169
                    d.topic_uuid = $('#form-filter #topic_uuid').val();
150
                    d.topic_uuid = $('#form-filter #topic_uuid').val();
170
                    d.capsule_uuid = $('#form-filter #capsule_uuid').val();
151
                    d.capsule_uuid = $('#form-filter #capsule_uuid').val();
171
               
-
 
172
                },
152
                },
173
                'beforeSend': function (request) {
153
                'beforeSend': function (request) {
174
                  NProgress.start();
154
                  NProgress.start();
175
                },
155
                },
176
                'dataFilter': function(response) {
156
                'dataFilter': function(response) {
Línea 747... Línea 727...
747
                    	
727
                    	
748
	 	         </div>
728
	 	         </div>
749
	 	     </div>
729
	 	     </div>
750
	 	</div>
730
	 	</div>
751
	 	<div class="card-footer text-right">
731
	 	<div class="card-footer text-right">
752
	 	      <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-sync"></i> LABEL_REFRESH  </button>
732
	 	    <button type="button" class="btn btn-info btn-refresh"><i class="fa fa-sync"></i> LABEL_REFRESH  </button>
753
                                    <?php if($allowUpload) : ?>
733
            <?php if($allowUpload) : ?>
754
                                        <button type="button" class="btn btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD  </button>
734
                <button type="button" class="btn btn-primary btn-upload"><i class="fa fa-upload"></i> LABEL_UPLOAD  </button>
755
                                    <?php endif; ?>
735
            <?php endif; ?>
756
                                    <?php if($allowNotification) : ?>
736
            <?php if($allowNotification) : ?>
757
                                        <button type="button" class="btn btn-primary btn-notification"><i class="fa fa-tablet"></i> LABEL_NOTIFICATION </button>
737
                <button type="button" class="btn btn-primary btn-notification"><i class="fa fa-tablet"></i> LABEL_NOTIFICATION </button>
758
                                    <?php endif; ?>
738
            <?php endif; ?>
759
	 	</div>
739
	 	</div>
760
	 	<?php echo $this->form()->closeTag($form); ?>
740
	 	<?php echo $this->form()->closeTag($form); ?>
761
	</div>
741
	</div>