|
|
@@ -22,14 +22,14 @@
|
|
|
@foreach($course_years as $c)
|
|
|
@php
|
|
|
$selected = '';
|
|
|
- try
|
|
|
+ try
|
|
|
{
|
|
|
list($f, $t) = explode("-", $c);
|
|
|
if ($f == date("Y"))
|
|
|
$selected = 'selected';
|
|
|
} catch (Exception $e) {
|
|
|
-
|
|
|
- }
|
|
|
+
|
|
|
+ }
|
|
|
@endphp
|
|
|
<option value="{{$c}}" {{$selected}}>{{$c}}
|
|
|
@endforeach
|
|
|
@@ -111,7 +111,7 @@
|
|
|
</div>
|
|
|
<div class="row g-3" style="margin-top:20px;">
|
|
|
<div class="col-md-12" style="text-align:right">
|
|
|
- <button class="btn--ui_outline light" onclick="reset()">CANCELLA</button>
|
|
|
+ <button class="btn--ui_outline light" onclick="reset()">RESET</button>
|
|
|
<button class="btn--ui" onclick="loadDataTable()">FILTRA</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -184,7 +184,7 @@
|
|
|
<style>
|
|
|
|
|
|
.scrollTable {
|
|
|
-
|
|
|
+
|
|
|
padding: 15px;
|
|
|
/*max-width: 800px !important;*/
|
|
|
/*overflow-x: auto;
|
|
|
@@ -227,7 +227,7 @@
|
|
|
padding-left:20px !important;
|
|
|
}*/
|
|
|
|
|
|
-
|
|
|
+
|
|
|
</style>
|
|
|
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
|
|
|
<script src="https://cdn.jsdelivr.net/npm/select2@4.1.0-rc.0/dist/js/select2.min.js"></script>
|
|
|
@@ -249,7 +249,7 @@
|
|
|
padding-top:10px;
|
|
|
top: -15px;
|
|
|
left: 0px;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
|
|
|
|
|
|
@@ -843,20 +843,20 @@
|
|
|
z = y + 4;
|
|
|
var c = output_table.column(z).data().toArray();
|
|
|
//console.log(c);
|
|
|
- for (var i = 0; i < c.length; i++)
|
|
|
+ for (var i = 0; i < c.length; i++)
|
|
|
{
|
|
|
var j = c[i].split("§");
|
|
|
- if (j[0] == '0' || j[0] == 'orange')
|
|
|
+ if (j[0] == '0' || j[0] == 'orange')
|
|
|
{
|
|
|
$('row:nth-child('+(i+3)+') [r^="' + letters[y] + '"]', sheet).attr('s', '10');
|
|
|
//sheet.table.body[i+1][z].fillColor = 'orange';
|
|
|
}
|
|
|
- if (j[0] == '1' || j[0] == 'green')
|
|
|
+ if (j[0] == '1' || j[0] == 'green')
|
|
|
{
|
|
|
$('row:nth-child('+(i+3)+') [r^="' + letters[y] + '"]', sheet).attr('s', '40');
|
|
|
//doc.content[1].table.body[i+1][z].fillColor = 'green';
|
|
|
}
|
|
|
- if (j[0] == 'yellow')
|
|
|
+ if (j[0] == 'yellow')
|
|
|
{
|
|
|
$('row:nth-child('+(i+3)+') [r^="' + letters[y] + '"]', sheet).attr('s', '20');
|
|
|
//doc.content[1].table.body[i+1][z].fillColor = 'blue';
|
|
|
@@ -864,7 +864,7 @@
|
|
|
}
|
|
|
}
|
|
|
},
|
|
|
-
|
|
|
+
|
|
|
|
|
|
},
|
|
|
{
|
|
|
@@ -879,18 +879,18 @@
|
|
|
for(z=4; z<=16; z++)
|
|
|
{
|
|
|
var c = output_table.column(z).data().toArray();
|
|
|
- for (var i = 0; i < c.length; i++)
|
|
|
+ for (var i = 0; i < c.length; i++)
|
|
|
{
|
|
|
var j = c[i].split("§");
|
|
|
- if (j[0] == '0' || j[0] == 'orange')
|
|
|
+ if (j[0] == '0' || j[0] == 'orange')
|
|
|
{
|
|
|
doc.content[1].table.body[i+1][z].fillColor = 'orange';
|
|
|
}
|
|
|
- if (j[0] == '1' || j[0] == 'green')
|
|
|
+ if (j[0] == '1' || j[0] == 'green')
|
|
|
{
|
|
|
doc.content[1].table.body[i+1][z].fillColor = 'green';
|
|
|
}
|
|
|
- if (j[0] == 'yellow')
|
|
|
+ if (j[0] == 'yellow')
|
|
|
{
|
|
|
doc.content[1].table.body[i+1][z].fillColor = 'blue';
|
|
|
}
|
|
|
@@ -1073,12 +1073,12 @@
|
|
|
setMaxHeight();
|
|
|
$( window ).bind( "resize", setMaxWidth );
|
|
|
$( window ).bind( "resize", setMaxHeight );
|
|
|
-
|
|
|
+
|
|
|
|
|
|
function setMaxWidth() {
|
|
|
$("#resume-table").width( Math.round( $(window ).width() - size ) ) ;
|
|
|
$(".justify-content-between").css({"width": Math.round( $(window ).width() - size) + "px;"}); //.width( Math.round( $(window ).width() - size ) ) ;
|
|
|
-
|
|
|
+
|
|
|
}
|
|
|
function setMaxHeight() {
|
|
|
console.log('height:' + $(window ).height() + 'px !important');
|