31 lines
918 B
HTML
31 lines
918 B
HTML
<?php Block::put('breadcrumb') ?>
|
|
<ul>
|
|
<li><a href="<?= Backend::url('system/updates') ?>"><?= e(trans('system::lang.updates.menu_label')) ?></a></li>
|
|
<li><?= e(trans($this->pageTitle)) ?></li>
|
|
</ul>
|
|
<?php Block::endPut() ?>
|
|
|
|
<?= $this->listRender('manage') ?>
|
|
<style>
|
|
td {
|
|
vertical-align: middle !important;
|
|
}
|
|
</style>
|
|
<!-- Unable to factor in where to put this script. I want to put it in a js file for global use of switch/checkboxes, but I don't know where.
|
|
ref issue: https://github.com/octobercms/october/issues/2714
|
|
-->
|
|
<script>
|
|
$("[data-check|='oc']").each(function() {
|
|
$(this).find('input').on('change', function() {
|
|
this.value = this.checked ? 1 : 0;
|
|
});
|
|
});
|
|
$(document).ajaxComplete(function() {
|
|
$("[data-check|='oc']").each(function() {
|
|
$(this).find('input').on('change', function() {
|
|
this.value = this.checked ? 1 : 0;
|
|
});
|
|
});
|
|
});
|
|
</script>
|