PluginProbe
VikBooking Hotel Booking Engine & PMS / 1.8.16
VikBooking Hotel Booking Engine & PMS v1.8.16
1.8.16 1.8.15 1.8.14 1.8.13 1.8.12 1.8.11 1.8.10 1.8.9 1.8.6 1.8.7 1.8.8 trunk 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.7 1.6.8 1.6.9 1.7.0 1.7.1 1.7.2 All 37 releases
vikbooking / admin / views / cronexec / tmpl / default.php

default.php in VikBooking Hotel Booking Engine & PMS 1.8.16, at admin/views/cronexec/tmpl/default.php

57 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * @package VikBooking
4 * @subpackage com_vikbooking
5 * @author Alessio Gaggii - e4j - Extensionsforjoomla.com
6 * @copyright Copyright (C) 2018 e4j - Extensionsforjoomla.com. All rights reserved.
7 * @license GNU General Public License version 2 or later; see LICENSE
8 * @link https://vikwp.com
9 */
10
11 defined('ABSPATH') or die('No script kiddies please!');
12
13 ?>
14 <style>
15 body {
16 padding: 0 !important;
17 }
18 </style>
19
20 <div class="vbo-shell-wrap">
21 <p class="vbo-shell-top-bar">
22 <?php echo $this->cron->cron_name; ?> - <span><?php echo JText::translate('VBCRONEXECRESULT'); ?>:</span>
23 <?php var_dump($this->response); ?>
24 </p>
25 <div class="vbo-shell-body" style="min-height: 400px;">
26 <?php echo $this->cronModel->get('output'); ?>
27
28 <?php if (strlen($this->cronModel->get('log', ''))): ?>
29 <p>---------- LOG ----------</p>
30
31 <div class="vbo-cronexec-log">
32 <pre><?php echo $this->cronModel->get('log'); ?></pre>
33 </div>
34 <?php endif; ?>
35 </div>
36 </div>
37
38 <script>
39 (function($) {
40 'use strict';
41
42 const checkShellHeight = () => {
43 let pageHeight = $(window).height();
44 let shellHeight = $('.vbo-shell-wrap').height();
45 let bot_offset = 10;
46 if (shellHeight < pageHeight) {
47 let diff = pageHeight - shellHeight - bot_offset;
48 $('.vbo-shell-body').css('height', '+=' + diff + 'px');
49 }
50 }
51
52 $(function() {
53 setTimeout(checkShellHeight, 300);
54 });
55 })(jQuery);
56 </script>
57