This repository has been archived by the owner on Mar 19, 2021. It is now read-only.
/
layout.phtml
139 lines (111 loc) · 4.98 KB
/
layout.phtml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?php
/**
*
* Barbossa - A Web-Frontend to manage Bareos
*
* @link http://github.com/fbergkemper/barbossa for the canonical source repository
* @copyright Copyright (c) 2013-2014 dass-IT GmbH (http://www.dass-it.de/)
* @license GNU Affero General Public License (http://www.gnu.org/licenses/)
* @author Frank Bergkemper
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
echo $this->doctype();
?>
<html lang="en">
<head>
<meta charset="utf-8">
<?php echo $this->headTitle('Bareos Web-Frontend | '. $this->translate('Version 0.0.1'))->setSeparator(' - ')->setAutoEscape(false) ?>
<?php echo $this->headMeta()
->appendName('viewport', 'width=device-width, initial-scale=1.0')
->appendHttpEquiv('X-UA-Compatible', 'IE=edge')
?>
<!-- Styles -->
<?php echo $this->headLink(array('rel' => 'shortcut icon', 'type' => 'image/vnd.microsoft.icon', 'href' => $this->basePath() . '/img/favicon.ico'))
->prependStylesheet($this->basePath() . '/css/style.css')
->prependStylesheet($this->basePath() . '/css/bootstrap-theme.min.css')
->prependStylesheet($this->basePath() . '/css/bootstrap.min.css')
->prependStylesheet($this->basePath() . '/css/jquery.jqplot.min.css')
?>
<!-- Scripts -->
<?php echo $this->headScript()
->prependFile($this->basePath() . '/js/bootstrap.min.js')
->prependFile($this->basePath() . '/js/excanvas.min.js')
->prependFile($this->basePath() . '/js/jqplot.pieRenderer.min.js')
->prependFile($this->basePath() . '/js/jqplot.barRenderer.min.js')
->prependFile($this->basePath() . '/js/jqplot.categoryAxisRenderer.min.js')
->prependFile($this->basePath() . '/js/jqplot.pointLabels.min.js')
->prependFile($this->basePath() . '/js/jquery.jqplot.min.js')
->prependFile($this->basePath() . '/js/jquery.min.js')
->prependFile($this->basePath() . '/js/respond.min.js', 'text/javascript', array('conditional' => 'lt IE 9',))
->prependFile($this->basePath() . '/js/html5shiv.js', 'text/javascript', array('conditional' => 'lt IE 9',));
?>
</head>
<body>
<!-- Navigation start -->
<nav class="navbar navbar-justified navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="<?php echo $this->url('dashboard') ?>">
<?php echo $this->escapeHtml('Bareos') ?>
</a>
</div>
<!-- TODO -->
<!--<div class="container">-->
<!-- <div class="collapse navbar-collapse"> -->
<?php
echo $this->navigation('navigation')
->menu()
->setMinDepth(0)
->setMaxDepth(0)
->setUlClass('nav navbar-nav');
?>
<!--
<ul class="nav navbar-nav">
<li class="active"><a href="<?php echo $this->url('home') ?>"><?php echo $this->translate('Home') ?></a></li>
<li class="active"><a href="<?php echo $this->url('job') ?>"><?php echo $this->translate('Jobs') ?></a></li>
</ul>
-->
<!-- </div> -->
<!--</div>-->
</div>
</nav>
<!-- Navigation end -->
<div class="container">
<!-- TODO CLEANUP BREADCRUMBS -->
<!-- Breadcrumbs start
<p>
<?php echo $this->navigation('navigation')
->breadcrumbs()
->setMinDepth(0)
->setPartial(array('partial/breadcrumb.phtml', 'Home'));
?>
</p>
Breadcrumbs end -->
<?php echo $this->content; ?>
<hr />
<footer>
<p class="text-muted">© 2013 - <?php echo date('Y') ?> dass IT GmbH, GNU Affero General Public License Version 3</p>
</footer>
</div> <!-- /container -->
<?php echo $this->inlineScript() ?>
</body>
</html>