mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-17 03:59:28 +00:00
added mottie tablesorter, removed datatables and datepicker, restyled tablesorter for better bootstrap look, layout changes
This commit is contained in:
@@ -7,12 +7,8 @@
|
||||
'bootstrap' => true,
|
||||
'fontawesome' => true,
|
||||
'sbadmintemplate' => true,
|
||||
'tablesorter' => false,
|
||||
'customCSSs' => 'vendor/FHC-vendor/jquery-tablesorter/css/theme.default.css',
|
||||
'customJSs' => array(
|
||||
'vendor/FHC-vendor/jquery-tablesorter/js/jquery.tablesorter.js',
|
||||
'vendor/FHC-vendor/jquery-tablesorter/js/jquery.tablesorter.widgets.js'
|
||||
)
|
||||
'tablesorter' => true,
|
||||
'customCSSs' => 'skin/tablesort_bootstrap.css'
|
||||
)
|
||||
);
|
||||
?>
|
||||
@@ -48,7 +44,7 @@
|
||||
$("select").addClass("form-control");
|
||||
$("input[type=text]").addClass("form-control");
|
||||
$("input[type=button]").addClass("btn btn-default");
|
||||
$("#tableDataset").addClass('table table-bordered table-responsive table-condensed');
|
||||
$("#tableDataset").addClass('table table-bordered table-striped table-responsive table-condensed');
|
||||
</script>
|
||||
</body>
|
||||
|
||||
|
||||
@@ -1,5 +1,17 @@
|
||||
<?php
|
||||
$this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails', 'jquery3' => true, 'bootstrap' => true, 'fontawesome' => true, 'bootstrapdatepicker' => true, 'datatables' => true, 'sbadmintemplate' => true));
|
||||
$this->load->view(
|
||||
'templates/FHC-Header',
|
||||
array(
|
||||
'title' => 'InfocenterDetails',
|
||||
'jquery3' => true,
|
||||
'bootstrap' => true,
|
||||
'fontawesome' => true,
|
||||
'jqueryui' => true,
|
||||
'tablesorter' => true,
|
||||
'sbadmintemplate' => true,
|
||||
'customCSSs' => 'skin/tablesort_bootstrap.css'
|
||||
)
|
||||
);
|
||||
?>
|
||||
<body>
|
||||
<div id="wrapper">
|
||||
@@ -27,7 +39,7 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<div class="panel-heading text-center"><h4>Stammdaten</h4></div>
|
||||
<div class="panel-body">
|
||||
<div class="row">
|
||||
<div class="col-lg-6">
|
||||
<div class="col-lg-6 table-responsive">
|
||||
<table class="table">
|
||||
<tr>
|
||||
<td><strong>Vorname</strong></td>
|
||||
@@ -69,7 +81,7 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<div class="col-lg-6 table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
@@ -120,12 +132,12 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- ./row -->
|
||||
</div> <!-- ./column -->
|
||||
</div> <!-- ./panel-body -->
|
||||
</div> <!-- ./panel -->
|
||||
</div> <!-- ./main column -->
|
||||
</div> <!-- ./main row -->
|
||||
</section>
|
||||
<section>
|
||||
<div class="row">
|
||||
@@ -134,45 +146,37 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<a name="DokPruef"></a><!-- anchor for jumping to the section -->
|
||||
<div class="panel-heading text-center"><h4>Dokumentenprüfung</h4></div>
|
||||
<div class="panel-body">
|
||||
<table id="doctable" class="table table-striped table-bordered table-condensed">
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
<th>Typ</th>
|
||||
<th>Uploaddatum</th>
|
||||
<th>Ausstellungsnation</th>
|
||||
<th>Formal geprüft</th>
|
||||
<!-- <th>nachzureichen</th>
|
||||
<th>nachgereicht am</th>-->
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach ($dokumente as $dokument):
|
||||
$geprueft = isset($dokument->formal_geprueft_amum) ? "checked" : "";
|
||||
?>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../outputAkteContent/<?php echo $dokument->akte_id ?>"><?php echo empty($dokument->titel) ? $dokument->bezeichnung : $dokument->titel ?></a>
|
||||
</td>
|
||||
<td><?php echo $dokument->dokument_bezeichnung ?></td>
|
||||
<td><?php echo date_format(date_create($dokument->erstelltam), 'd.m.Y') ?></td>
|
||||
<td><?php echo $dokument->langtext ?></td>
|
||||
<td>
|
||||
<input type="checkbox" class="form-check-input"
|
||||
id="prchkbx<?php echo $dokument->akte_id ?>" <?php echo $geprueft ?> />
|
||||
<?php echo isset($dokument->formal_geprueft_amum) ? date_format(date_create($dokument->formal_geprueft_amum), 'd.m.Y') : ''; ?>
|
||||
</td>
|
||||
<!-- <td class="text-center">
|
||||
<?php /*echo $dokument->nachgereicht === true ? 'X' : ''; */
|
||||
<div class="table-responsive">
|
||||
<table id="doctable" class="table table-striped table-bordered">
|
||||
<thead>
|
||||
<th>Name</th>
|
||||
<th>Typ</th>
|
||||
<th>Uploaddatum</th>
|
||||
<th>Ausstellungsnation</th>
|
||||
<th>Formal geprüft</th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
foreach ($dokumente as $dokument):
|
||||
$geprueft = isset($dokument->formal_geprueft_amum) ? "checked" : "";
|
||||
?>
|
||||
</td>
|
||||
<td>
|
||||
<?php /*echo isset($dokument->nachgereicht_am) ? date_format(date_create($dokument->nachgereicht_am), 'd.m.Y') : ''; */
|
||||
?>
|
||||
</td>-->
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<tr>
|
||||
<td>
|
||||
<a href="../outputAkteContent/<?php echo $dokument->akte_id ?>"><?php echo empty($dokument->titel) ? $dokument->bezeichnung : $dokument->titel ?></a>
|
||||
</td>
|
||||
<td><?php echo $dokument->dokument_bezeichnung ?></td>
|
||||
<td><?php echo date_format(date_create($dokument->erstelltam), 'd.m.Y') ?></td>
|
||||
<td><?php echo $dokument->langtext ?></td>
|
||||
<td>
|
||||
<input type="checkbox" class="form-check-input"
|
||||
id="prchkbx<?php echo $dokument->akte_id ?>" <?php echo $geprueft ?> />
|
||||
<?php echo isset($dokument->formal_geprueft_amum) ? date_format(date_create($dokument->formal_geprueft_amum), 'd.m.Y') : ''; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<?php if (count($dokumente_nachgereicht) > 0): ?>
|
||||
<br/>
|
||||
<p>Nachzureichende Dokumente:</p>
|
||||
@@ -195,7 +199,6 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<td>
|
||||
<?php echo $dokument->langtext ?>
|
||||
</td>
|
||||
</td>
|
||||
<td>
|
||||
<?php echo $dokument->anmerkung; ?>
|
||||
</td>
|
||||
@@ -204,10 +207,10 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
</tbody>
|
||||
</table>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div> <!-- ./panel-body -->
|
||||
</div> <!-- ./panel -->
|
||||
</div> <!-- ./column -->
|
||||
</div> <!-- ./row -->
|
||||
</section>
|
||||
<section>
|
||||
<div class="row">
|
||||
@@ -224,11 +227,11 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
$infoonly = $zgvpruefung->infoonly;
|
||||
$firstcolumns = array(3, 2, 2, 2, 3);
|
||||
//set bootstrap columns
|
||||
if($infoonly)
|
||||
if ($infoonly)
|
||||
$columns = array(3, 2, 2, 5);
|
||||
else
|
||||
$columns = array(4, 3, 2, 3);
|
||||
?>
|
||||
?>
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">
|
||||
<h4 class="panel-title">
|
||||
@@ -252,7 +255,7 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<div class="form-group">
|
||||
<label>Letzter Status: </label>
|
||||
<?php
|
||||
if(isset($zgvpruefung->prestudentstatus->status_kurzbz))
|
||||
if (isset($zgvpruefung->prestudentstatus->status_kurzbz))
|
||||
{
|
||||
echo $zgvpruefung->prestudentstatus->status_kurzbz.(isset($zgvpruefung->prestudentstatus->bezeichnung_statusgrund[0]) && $zgvpruefung->prestudentstatus->status_kurzbz === 'Abgewiesener' ? ' ('.$zgvpruefung->prestudentstatus->bezeichnung_statusgrund[0].')' : '');
|
||||
}
|
||||
@@ -267,7 +270,8 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
</div>
|
||||
<div class="col-lg-<?php echo $firstcolumns[3] ?>">
|
||||
<div class="form-group">
|
||||
<label><span style="display: inline-block">Ausbildungs</span><span style="display: inline-block">semester: </span></label>
|
||||
<label><span style="display: inline-block">Ausbildungs</span><span
|
||||
style="display: inline-block">semester: </span></label>
|
||||
<?php echo isset($zgvpruefung->prestudentstatus->ausbildungssemester) ? $zgvpruefung->prestudentstatus->ausbildungssemester : '' ?>
|
||||
</div>
|
||||
</div>
|
||||
@@ -278,8 +282,8 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<?php
|
||||
$separator = (isset($zgvpruefung->prestudentstatus->orgform)) ? ', ' : '';
|
||||
echo (isset($zgvpruefung->prestudentstatus->orgform) ? $zgvpruefung->prestudentstatus->orgform : '')
|
||||
.(isset($zgvpruefung->prestudentstatus->sprachedetails->bezeichnung) ? $separator.$zgvpruefung->prestudentstatus->sprachedetails->bezeichnung[0] : '')
|
||||
.(isset($zgvpruefung->prestudentstatus->alternative) ? ' ('.$zgvpruefung->prestudentstatus->alternative.')' : '') ?>
|
||||
.(isset($zgvpruefung->prestudentstatus->sprachedetails->bezeichnung) ? $separator.$zgvpruefung->prestudentstatus->sprachedetails->bezeichnung[0] : '')
|
||||
.(isset($zgvpruefung->prestudentstatus->alternative) ? ' ('.$zgvpruefung->prestudentstatus->alternative.')' : '') ?>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -592,6 +596,15 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<div id="notizpager" class="pager">
|
||||
<form class="form-inline">
|
||||
<i class="fa fa-step-backward first" style="cursor:pointer"></i>
|
||||
<i class="fa fa-backward prev"></i>
|
||||
<span class="pagedisplay"></span>
|
||||
<i class="fa fa-forward next"></i>
|
||||
<i class="fa fa-step-forward last"></i>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-lg-6">
|
||||
<table id="logtable" class="table table-bordered table-hover">
|
||||
@@ -611,105 +624,84 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
<?php endforeach ?>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="logpager" class="pager">
|
||||
<form class="form-inline">
|
||||
<i class="fa fa-step-backward first"></i>
|
||||
<i class="fa fa-backward prev"></i>
|
||||
<span class="pagedisplay"></span>
|
||||
<i class="fa fa-forward next"></i>
|
||||
<i class="fa fa-step-forward last"></i>
|
||||
</form>
|
||||
</div>
|
||||
</div> <!-- ./column -->
|
||||
</div> <!-- ./row -->
|
||||
</div> <!-- ./panel-body -->
|
||||
</div> <!-- ./panel -->
|
||||
</div> <!-- ./main column -->
|
||||
</div> <!-- ./main row -->
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
|
||||
$(document).ready(function ()
|
||||
{
|
||||
//language for datatables
|
||||
/* var german =
|
||||
{
|
||||
"sEmptyTable": "Keine Daten in der Tabelle vorhanden",
|
||||
"sInfo": "_START_ bis _END_ von _TOTAL_ Einträgen",
|
||||
"sInfoEmpty": "0 bis 0 von 0 Einträgen",
|
||||
"sInfoFiltered": "(gefiltert von _MAX_ Einträgen)",
|
||||
"sInfoPostFix": "",
|
||||
"sInfoThousands": ".",
|
||||
"sLengthMenu": "_MENU_ Einträge anzeigen",
|
||||
"sLoadingRecords": "Wird geladen...",
|
||||
"sProcessing": "Bitte warten...",
|
||||
"sSearch": "Suchen",
|
||||
"sZeroRecords": "Keine Einträge vorhanden.",
|
||||
"oPaginate": {
|
||||
"sFirst": "Erste",
|
||||
"sPrevious": "Zurück",
|
||||
"sNext": "Nächste",
|
||||
"sLast": "Letzte"
|
||||
},
|
||||
"oAria": {
|
||||
"sSortAscending": ": aktivieren, um Spalte aufsteigend zu sortieren",
|
||||
"sSortDescending": ": aktivieren, um Spalte absteigend zu sortieren"
|
||||
},
|
||||
select: {
|
||||
rows: {
|
||||
_: '%d Zeilen ausgewählt',
|
||||
0: 'Zum Auswählen auf eine Zeile klicken',
|
||||
1: '1 Zeile ausgewählt'
|
||||
}
|
||||
}
|
||||
};*/
|
||||
var german = "//cdn.datatables.net/plug-ins/9dcbecd42ad/i18n/German.json";
|
||||
//hack for disabling table pagination if only one page
|
||||
var drawCallback = function (settings)
|
||||
//initialise table sorter
|
||||
addTablesorter("doctable", [[2, 1], [1, 0]]);
|
||||
addTablesorter("nachgdoctable", [[2, 0], [1, 1]]);
|
||||
addTablesorter("logtable", [[0, 1]], ["filter"]);
|
||||
addTablesorter("notiztable", [[0, 1]], ["filter"]);
|
||||
|
||||
//add pager
|
||||
togglePager(23, "logtable", "logpager");
|
||||
togglePager(10, "notiztable", "notizpager");
|
||||
|
||||
function addTablesorter(tableid, sortList, widgets)
|
||||
{
|
||||
var pagination = $(this).closest('.dataTables_wrapper').find('.dataTables_paginate');
|
||||
pagination.toggle(this.api().page.info().pages > 1);
|
||||
};
|
||||
$("#"+tableid).tablesorter(
|
||||
{
|
||||
theme: "default",
|
||||
dateFormat: "ddmmyyyy",
|
||||
sortList: sortList,
|
||||
widgets: widgets
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
//format for sorting dates in tables
|
||||
$.fn.dataTable.moment("DD.MM.YYYY");
|
||||
$.fn.dataTable.moment("DD.MM.YYYY HH:mm:ss");
|
||||
//not show pager if on first table page
|
||||
function togglePager(size, tableid, pagerid)
|
||||
{
|
||||
var rowcount = $("#"+tableid+" tr").length;
|
||||
|
||||
//initialise datatables and datepicker
|
||||
$("#doctable").DataTable({
|
||||
"language": {"url": german},
|
||||
"responsive": true,
|
||||
"paging": false,
|
||||
"searching": false,
|
||||
"info": false,
|
||||
"order": [[2, "desc"], [1, "asc"]]
|
||||
});
|
||||
$("#nachgdoctable").DataTable({
|
||||
"language": {"url": german},
|
||||
"responsive": true,
|
||||
"paging": false,
|
||||
"searching": false,
|
||||
"info": false,
|
||||
"order": [[2, "asc"], [1, "desc"]]
|
||||
});
|
||||
$("#logtable").DataTable({
|
||||
"language": {"url": german},
|
||||
"responsive": false,
|
||||
"lengthChange": false,
|
||||
"info": false,
|
||||
"pageLength": 25,
|
||||
"order": [[0, "desc"]],
|
||||
"drawCallback": drawCallback
|
||||
});
|
||||
$("#notiztable").DataTable({
|
||||
"language": {"url": german},
|
||||
"responsive": false,
|
||||
"lengthChange": false,
|
||||
"info": false,
|
||||
"pageLength": 13,
|
||||
"order": [[0, "desc"], [2, "asc"]],
|
||||
"drawCallback": drawCallback
|
||||
});
|
||||
if (rowcount > size)
|
||||
{
|
||||
$("#"+tableid).tablesorterPager(
|
||||
{
|
||||
container: $("#"+pagerid),
|
||||
size: size,
|
||||
cssDisabled: 'disabled',
|
||||
savePages: false
|
||||
}
|
||||
);
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#"+pagerid).remove();
|
||||
}
|
||||
}
|
||||
|
||||
//initialise datepicker
|
||||
$.datepicker.setDefaults($.datepicker.regional['de']);
|
||||
$(".dateinput").datepicker({
|
||||
"language": "de",
|
||||
"format": "dd.mm.yyyy"
|
||||
"dateFormat": "dd.mm.yy"
|
||||
});
|
||||
|
||||
//javascript hack - not nice!
|
||||
$("select").addClass('form-control');
|
||||
$("table").addClass('table-condensed');
|
||||
$("#logtable, #notiztable").addClass('table-hover');
|
||||
|
||||
//add click events to "formal geprüft" checkboxes
|
||||
<?php foreach($dokumente as $dokument): ?>
|
||||
@@ -726,4 +718,5 @@ $this->load->view('templates/FHC-Header', array('title' => 'InfocenterDetails',
|
||||
);
|
||||
</script>
|
||||
</body>
|
||||
|
||||
<?php $this->load->view('templates/FHC-Footer'); ?>
|
||||
|
||||
@@ -12,8 +12,6 @@ $jquery3 = isset($jquery3) ? $jquery3 : false;
|
||||
$jqueryui = isset($jqueryui) ? $jqueryui : false;
|
||||
$bootstrap = isset($bootstrap) ? $bootstrap : false;
|
||||
$fontawesome = isset($fontawesome) ? $fontawesome : false;
|
||||
$bootstrapdatepicker = isset($bootstrapdatepicker) ? $bootstrapdatepicker : false;
|
||||
$datatables = isset($datatables) ? $datatables : false;
|
||||
$tablesorter = isset($tablesorter) ? $tablesorter : false;
|
||||
$sbadmintemplate = isset($sbadmintemplate) ? $sbadmintemplate : false;
|
||||
|
||||
@@ -96,14 +94,15 @@ function _generateJSsInclude($JSs)
|
||||
if ($bootstrap === true) _generateCSSsInclude('vendor/components/bootstrap/css/bootstrap.min.css');
|
||||
// font awesome CSS
|
||||
if ($fontawesome === true) _generateCSSsInclude('vendor/components/font-awesome/css/font-awesome.min.css');
|
||||
// bootstrap datepicker CSS
|
||||
if ($bootstrapdatepicker === true) _generateCSSsInclude('vendor/eternicode/bootstrap-datepicker/dist/css/bootstrap-datepicker3.min.css');
|
||||
// datatables CSS
|
||||
if ($datatables === true) _generateCSSsInclude('vendor/datatables/datatables/media/css/dataTables.bootstrap.min.css');
|
||||
// Table sorter CSS
|
||||
if ($tablesorter === true) _generateCSSsInclude('skin/tablesort.css');
|
||||
if ($tablesorter === true)
|
||||
{
|
||||
_generateCSSsInclude('vendor/mottie/tablesorter/css/theme.default.css');
|
||||
_generateCSSsInclude('vendor/mottie/tablesorter/addons/pager/jquery.tablesorter.pager.css');
|
||||
}
|
||||
// sb admin template CSS
|
||||
if ($sbadmintemplate === true){
|
||||
if ($sbadmintemplate === true)
|
||||
{
|
||||
_generateCSSsInclude('vendor/BlackrockDigital/startbootstrap-sb-admin-2/vendor/metisMenu/metisMenu.min.css');
|
||||
_generateCSSsInclude('vendor/BlackrockDigital/startbootstrap-sb-admin-2/dist/css/sb-admin-2.min.css');
|
||||
}
|
||||
@@ -117,26 +116,24 @@ function _generateJSsInclude($JSs)
|
||||
// JQuery V3
|
||||
if ($jquery3 === true) _generateJSsInclude('vendor/components/jquery/jquery.min.js');
|
||||
// JQuery UI
|
||||
if ($jqueryui === true) _generateJSsInclude('vendor/components/jqueryui/jquery-ui.min.js');
|
||||
if ($jqueryui === true)
|
||||
{
|
||||
_generateJSsInclude('vendor/components/jqueryui/jquery-ui.min.js');
|
||||
//datepicker german language file
|
||||
_generateJSsInclude('vendor/components/jqueryui/ui/i18n/datepicker-de.js');
|
||||
}
|
||||
// bootstrap JS
|
||||
if ($bootstrap === true) _generateJSsInclude('vendor/components/bootstrap/js/bootstrap.min.js');
|
||||
// bootstrap datepicker JS
|
||||
if ($bootstrapdatepicker === true){
|
||||
_generateJSsInclude('vendor/eternicode/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js');
|
||||
_generateJSsInclude('vendor/eternicode/bootstrap-datepicker/dist/locales/bootstrap-datepicker.de.min.js');
|
||||
}
|
||||
// datatables JS
|
||||
if ($datatables === true)
|
||||
{
|
||||
_generateJSsInclude('vendor/datatables/datatables/media/js/jquery.dataTables.js');
|
||||
_generateJSsInclude('vendor/datatables/datatables/media/js/dataTables.bootstrap.min.js');
|
||||
_generateJSsInclude('vendor/moment/moment/min/moment.min.js');
|
||||
_generateJSsInclude('vendor/datatables/plugins/sorting/datetime-moment.js');
|
||||
}
|
||||
// Table sorter JS
|
||||
if ($tablesorter === true) _generateJSsInclude('vendor/christianbach/tablesorter/jquery.tablesorter.min.js');
|
||||
if ($tablesorter === true)
|
||||
{
|
||||
_generateJSsInclude('vendor/mottie/tablesorter/js/jquery.tablesorter.js');
|
||||
_generateJSsInclude('vendor/mottie/tablesorter/js/jquery.tablesorter.widgets.js');
|
||||
_generateJSsInclude('vendor/mottie/tablesorter/addons/pager/jquery.tablesorter.pager.js');
|
||||
}
|
||||
// sb admin template JS
|
||||
if ($sbadmintemplate === true){
|
||||
if ($sbadmintemplate === true)
|
||||
{
|
||||
_generateJSsInclude('vendor/BlackrockDigital/startbootstrap-sb-admin-2/vendor/metisMenu/metisMenu.min.js');
|
||||
_generateJSsInclude('vendor/BlackrockDigital/startbootstrap-sb-admin-2/dist/js/sb-admin-2.js');
|
||||
}
|
||||
|
||||
+1
-16
@@ -186,18 +186,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
"name": "datatables/plugins",
|
||||
"version": "3.3.7",
|
||||
"source": {
|
||||
"url": "https://github.com/DataTables/Plugins.git",
|
||||
"type": "git",
|
||||
"reference": "master"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "package",
|
||||
"package": {
|
||||
@@ -249,10 +237,7 @@
|
||||
"jquery-archive/jquery-metadata": "^1.0",
|
||||
"BlackrockDigital/startbootstrap-sb-admin-2": "^3.3",
|
||||
"components/font-awesome": "^4.7",
|
||||
"moment/moment": "^2.20",
|
||||
"datatables/datatables": "^1.10",
|
||||
"datatables/plugins": "^3.3",
|
||||
"eternicode/bootstrap-datepicker": "^1.7"
|
||||
"mottie/tablesorter": "^2.29"
|
||||
},
|
||||
"require-dev": {
|
||||
"squizlabs/php_codesniffer": "2.*"
|
||||
|
||||
Generated
+32
-123
@@ -4,8 +4,8 @@
|
||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
|
||||
"This file is @generated automatically"
|
||||
],
|
||||
"hash": "b386e8ea62cfd8c96c6697729860cc5a",
|
||||
"content-hash": "65e7f00446fd7f602e914089cedaa931",
|
||||
"hash": "25135351fcaa90fd7d838614ceb47d37",
|
||||
"content-hash": "702a9ad9bfca6802a7cd586e0d002002",
|
||||
"packages": [
|
||||
{
|
||||
"name": "BlackrockDigital/startbootstrap-sb-admin-2",
|
||||
@@ -680,39 +680,6 @@
|
||||
"description": "jQuery UI is a curated set of user interface interactions, effects, widgets, and themes built on top of the jQuery JavaScript Library. Whether you're building highly interactive web applications or you just need to add a date picker to a form control, jQuery UI is the perfect choice.",
|
||||
"time": "2016-09-16 05:47:55"
|
||||
},
|
||||
{
|
||||
"name": "datatables/datatables",
|
||||
"version": "1.10.16",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DataTables/DataTables.git",
|
||||
"reference": "75a665f64f02982c0f4666b15a25c4670e5e6b18"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/DataTables/DataTables/zipball/75a665f64f02982c0f4666b15a25c4670e5e6b18",
|
||||
"reference": "75a665f64f02982c0f4666b15a25c4670e5e6b18",
|
||||
"shasum": ""
|
||||
},
|
||||
"type": "library",
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
],
|
||||
"description": "DataTables is a plug-in for the jQuery Javascript library. It is a highly flexible tool, based upon the foundations of progressive enhancement, which will add advanced interaction controls to any HTML table.",
|
||||
"homepage": "http://www.datatables.net/",
|
||||
"time": "2017-08-31 13:52:17"
|
||||
},
|
||||
{
|
||||
"name": "datatables/plugins",
|
||||
"version": "3.3.7",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/DataTables/Plugins.git",
|
||||
"reference": "master"
|
||||
},
|
||||
"type": "library"
|
||||
},
|
||||
{
|
||||
"name": "easyrdf/easyrdf",
|
||||
"version": "0.9.1",
|
||||
@@ -775,61 +742,6 @@
|
||||
],
|
||||
"time": "2015-02-27 09:45:49"
|
||||
},
|
||||
{
|
||||
"name": "eternicode/bootstrap-datepicker",
|
||||
"version": "v1.7.1",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/uxsolutions/bootstrap-datepicker.git",
|
||||
"reference": "4c12834aae54782ca41d9409d6334193f200124d"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/uxsolutions/bootstrap-datepicker/zipball/4c12834aae54782ca41d9409d6334193f200124d",
|
||||
"reference": "4c12834aae54782ca41d9409d6334193f200124d",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"components/bootstrap": ">=2.0, <4.0",
|
||||
"components/jquery": ">=1.7.1, <4.0.0",
|
||||
"robloach/component-installer": "*"
|
||||
},
|
||||
"type": "component",
|
||||
"extra": {
|
||||
"component": {
|
||||
"scripts": [
|
||||
"js/bootstrap-datepicker.js"
|
||||
],
|
||||
"styles": [
|
||||
"dist/css/bootstrap-datepicker.css",
|
||||
"dist/css/bootstrap-datepicker3.css"
|
||||
],
|
||||
"files": [
|
||||
"js/locales/bootstrap-datepicker.*.js"
|
||||
]
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"Apache-2.0"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Andrew Rowls",
|
||||
"email": "eternicode@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Community",
|
||||
"homepage": "https://github.com/uxsolutions/bootstrap-datepicker/contributors"
|
||||
}
|
||||
],
|
||||
"description": "A datepicker for Bootstrap",
|
||||
"keywords": [
|
||||
"bootstrap",
|
||||
"datepicker"
|
||||
],
|
||||
"time": "2017-07-06 12:14:34"
|
||||
},
|
||||
{
|
||||
"name": "fgelinas/timepicker",
|
||||
"version": "0.3.3",
|
||||
@@ -1332,58 +1244,55 @@
|
||||
"time": "2016-10-10 08:57:56"
|
||||
},
|
||||
{
|
||||
"name": "moment/moment",
|
||||
"version": "2.20.1",
|
||||
"name": "mottie/tablesorter",
|
||||
"version": "v2.29.4",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/moment/moment.git",
|
||||
"reference": "03073778ec18ee38e179208cd1af899e8d1848dc"
|
||||
"url": "https://github.com/Mottie/tablesorter.git",
|
||||
"reference": "bf7339036ce11c91f55281825b1b601d18b67ed8"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/moment/moment/zipball/03073778ec18ee38e179208cd1af899e8d1848dc",
|
||||
"reference": "03073778ec18ee38e179208cd1af899e8d1848dc",
|
||||
"url": "https://api.github.com/repos/Mottie/tablesorter/zipball/bf7339036ce11c91f55281825b1b601d18b67ed8",
|
||||
"reference": "bf7339036ce11c91f55281825b1b601d18b67ed8",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
"robloach/component-installer": "*"
|
||||
"components/jquery": ">=1.2.6"
|
||||
},
|
||||
"type": "component",
|
||||
"extra": {
|
||||
"component": {
|
||||
"scripts": [
|
||||
"moment.js"
|
||||
"dist/js/jquery.tablesorter.combined.js"
|
||||
],
|
||||
"files": [
|
||||
"min/*.js",
|
||||
"locale/*.js"
|
||||
]
|
||||
"files": "dist/"
|
||||
}
|
||||
},
|
||||
"notification-url": "https://packagist.org/downloads/",
|
||||
"license": [
|
||||
"MIT"
|
||||
"(MIT OR GPL-2.0)"
|
||||
],
|
||||
"authors": [
|
||||
{
|
||||
"name": "Tim Wood",
|
||||
"email": "washwithcare@gmail.com"
|
||||
"name": "Rob Garrison",
|
||||
"email": "wowmotty@gmail.com"
|
||||
},
|
||||
{
|
||||
"name": "Christian Bach"
|
||||
}
|
||||
],
|
||||
"description": "Parse, validate, manipulate, and display dates in JavaScript.",
|
||||
"homepage": "https://github.com/moment/moment",
|
||||
"description": "tablesorter (FORK) is a jQuery plugin for turning a standard HTML table with THEAD and TBODY tags into a sortable table without page refreshes. tablesorter can successfully parse and sort many types of data including linked data in a cell.",
|
||||
"homepage": "https://mottie.github.io/tablesorter/",
|
||||
"keywords": [
|
||||
"date",
|
||||
"ender",
|
||||
"format",
|
||||
"i18n",
|
||||
"l10n",
|
||||
"moment",
|
||||
"parse",
|
||||
"time",
|
||||
"validate"
|
||||
"alphanumeric",
|
||||
"jquery-plugin",
|
||||
"natural",
|
||||
"sort",
|
||||
"sorting",
|
||||
"table"
|
||||
],
|
||||
"time": "2017-12-19 04:36:30"
|
||||
"time": "2018-01-18 23:30:03"
|
||||
},
|
||||
{
|
||||
"name": "netcarver/textile",
|
||||
@@ -2086,16 +1995,16 @@
|
||||
},
|
||||
{
|
||||
"name": "symfony/process",
|
||||
"version": "v3.3.10",
|
||||
"version": "v3.4.3",
|
||||
"source": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/symfony/process.git",
|
||||
"reference": "fdf89e57a723a29baf536e288d6e232c059697b1"
|
||||
"reference": "ff69f110c6b33fd33cd2089ba97d6112f44ef0ba"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https://api.github.com/repos/symfony/process/zipball/fdf89e57a723a29baf536e288d6e232c059697b1",
|
||||
"reference": "fdf89e57a723a29baf536e288d6e232c059697b1",
|
||||
"url": "https://api.github.com/repos/symfony/process/zipball/ff69f110c6b33fd33cd2089ba97d6112f44ef0ba",
|
||||
"reference": "ff69f110c6b33fd33cd2089ba97d6112f44ef0ba",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
@@ -2104,7 +2013,7 @@
|
||||
"type": "library",
|
||||
"extra": {
|
||||
"branch-alias": {
|
||||
"dev-master": "3.3-dev"
|
||||
"dev-master": "3.4-dev"
|
||||
}
|
||||
},
|
||||
"autoload": {
|
||||
@@ -2131,7 +2040,7 @@
|
||||
],
|
||||
"description": "Symfony Process Component",
|
||||
"homepage": "https://symfony.com",
|
||||
"time": "2017-10-02 06:42:24"
|
||||
"time": "2018-01-03 07:37:34"
|
||||
},
|
||||
{
|
||||
"name": "symfony/yaml",
|
||||
|
||||
@@ -0,0 +1,52 @@
|
||||
/*reset font of tables*/
|
||||
.tablesorter-default
|
||||
{
|
||||
font: unset !important;
|
||||
}
|
||||
|
||||
/*reset background color of tables*/
|
||||
.tablesorter-default td
|
||||
{
|
||||
background-color: unset !important;
|
||||
}
|
||||
|
||||
/*reset table colors and backgrounds on hover*/
|
||||
.tablesorter-default tbody > tr:hover > td
|
||||
{
|
||||
color: unset !important;
|
||||
}
|
||||
|
||||
/*remove black border at bottom of table header*/
|
||||
.tablesorter-header
|
||||
{
|
||||
border-bottom: #ccc 2px solid !important;
|
||||
}
|
||||
|
||||
/*remove background color from filter row*/
|
||||
.tablesorter-default .tablesorter-filter-row td
|
||||
{
|
||||
background-color: white !important;
|
||||
}
|
||||
|
||||
/*make filter row more condensed*/
|
||||
.tablesorter-default input.tablesorter-filter, .tablesorter-default select.tablesorter-filter
|
||||
{
|
||||
margin: 0px auto;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
/*add cursor pointer for pager icons*/
|
||||
.pager i
|
||||
{
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
/* .tablesorter-default tr.even > td
|
||||
{
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.tablesorter-default tr.odd > td
|
||||
{
|
||||
background-color: unset;
|
||||
}*/
|
||||
Reference in New Issue
Block a user