Rough in fullscreen mode on montage
This commit is contained in:
parent
30d4900b45
commit
f263da8986
|
@ -317,5 +317,10 @@ function initPage() {
|
||||||
}
|
}
|
||||||
selectLayout('#zmMontageLayout');
|
selectLayout('#zmMontageLayout');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function watchFullscreen() {
|
||||||
|
const content = document.getElementById('content');
|
||||||
|
openFullscreen(content);
|
||||||
|
}
|
||||||
// Kick everything off
|
// Kick everything off
|
||||||
$j(document).ready(initPage);
|
$j(document).ready(initPage);
|
||||||
|
|
|
@ -206,6 +206,9 @@ if ( canView('System') ) {
|
||||||
<?php echo translate('Snapshot') ?>
|
<?php echo translate('Snapshot') ?>
|
||||||
</button>
|
</button>
|
||||||
<?php } ?>
|
<?php } ?>
|
||||||
|
<button type="button" id="fullscreenBtn" title="<?php echo translate('Fullscreen') ?>" class="avail" data-on-click="watchFullscreen">
|
||||||
|
<i class="material-icons md-18">fullscreen</i>
|
||||||
|
</button>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue