1<?php
2
3/**
4 *
5 * bareos-webui - Bareos Web-Frontend
6 *
7 * @link      https://github.com/bareos/bareos for the canonical source repository
8 * @copyright Copyright (c) 2013-2016 Bareos GmbH & Co. KG (http://www.bareos.org/)
9 * @license   GNU Affero General Public License (http://www.gnu.org/licenses/)
10 *
11 * This program is free software: you can redistribute it and/or modify
12 * it under the terms of the GNU Affero General Public License as published by
13 * the Free Software Foundation, either version 3 of the License, or
14 * (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 * GNU Affero General Public License for more details.
20 *
21 * You should have received a copy of the GNU Affero General Public License
22 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
23 *
24 */
25
26$title = _('Schedules');
27$this->headTitle($title);
28
29?>
30
31<ul class="nav nav-tabs">
32   <li><a href="<?php echo $this->url('schedule', array('action'=>'index')); ?>"><?php echo $this->translate('Show'); ?></a></li>
33   <li class="active"><a href="<?php echo $this->url('schedule', array('action'=>'overview')); ?>"><?php echo $this->translate('Overview'); ?></a></li>
34   <li><a href="<?php echo $this->url('schedule', array('action'=>'status')); ?>"><?php echo $this->translate('Scheduler status'); ?></a></li>
35</ul>
36
37<br />
38
39<?php if($this->acl_alert) : echo $this->ACLAlert($this->invalid_commands); elseif(!$this->acl_alert) : ?>
40
41<div class="row">
42<div class="col-md-8">
43
44<div class="panel panel-default">
45
46<div class="panel-heading">
47   <h3 class="panel-title"><?php echo $this->translate("Schedules"); ?></h3>
48</div>
49
50<div class="panel-body">
51<pre class="dird-messages" style="height: 500px; font-size: 8pt;">
52<code>
53<?php echo $this->result; ?>
54</code>
55</pre>
56</div>
57
58</div>
59</div>
60
61<?php endif; ?>
62