2014-06-05 11:51:58 +00:00
|
|
|
<?php Block::put('breadcrumb') ?>
|
|
|
|
|
<ul>
|
2015-02-03 08:57:07 +00:00
|
|
|
<li><a href="<?= Backend::url('system/updates') ?>"><?= e(trans('system::lang.updates.menu_label')) ?></a></li>
|
2014-10-15 08:53:44 +00:00
|
|
|
<li><?= e(trans($this->pageTitle)) ?></li>
|
2014-06-05 11:51:58 +00:00
|
|
|
</ul>
|
|
|
|
|
<?php Block::endPut() ?>
|
|
|
|
|
|
|
|
|
|
<?= $this->listRender('manage') ?>
|
2018-02-02 00:16:31 +00:00
|
|
|
<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>
|