piler/webui/view/theme/default/templates/common/layout.tpl

73 lines
3.3 KiB
Smarty
Raw Permalink Normal View History

2012-02-08 23:14:28 +01:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2013-08-14 23:40:52 +02:00
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print DEFAULT_LANG; ?>" lang="<?php print DEFAULT_LANG; ?>">
2012-02-08 23:14:28 +01:00
<head>
2013-08-06 06:58:06 +02:00
<title><?php print $title; ?></title>
2013-04-05 10:16:33 +02:00
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
2017-10-31 11:22:53 +01:00
<meta http-equiv="Content-Language" content="<?php print DEFAULT_LANG; ?>" />
2013-07-26 21:24:18 +02:00
<?php if(SITE_KEYWORDS) { ?><meta name="keywords" content="<?php print SITE_KEYWORDS; ?>" /><?php } ?>
<?php if(SITE_DESCRIPTION) { ?><meta name="description" content="<?php print SITE_DESCRIPTION; ?>" /><?php } ?>
<?php if(PROVIDED_BY) { ?><meta name="author" content="<?php print PROVIDED_BY; ?>" /><?php } ?>
2013-04-05 10:16:33 +02:00
<meta name="rating" content="general" />
<meta name="robots" content="all" />
<link href="/view/theme/default/assets/css/metro-bootstrap.css" rel="stylesheet" />
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!-- original location: http://html5shim.googlecode.com/svn/trunk/html5.js -->
<!--[if lt IE 9]>
<script src="/view/theme/default/assets/js/html5.js"></script>
<![endif]-->
<script type="text/javascript" src="/view/javascript/jquery.min.js"></script>
<script type="text/javascript" src="/view/javascript/jquery-ui-custom.min.js"></script>
2013-08-28 09:56:37 +02:00
<script type="text/javascript" src="/view/javascript/jscolor.js"></script>
<script type="text/javascript" src="/view/javascript/fileupload.js"></script>
2013-04-05 10:16:33 +02:00
<script type="text/javascript" src="/view/javascript/rc-splitter.js"></script>
<script type="text/javascript" src="/view/theme/default/assets/js/bootstrap.js"></script>
<script type="text/javascript" src="/view/javascript/piler.js"></script>
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/view/theme/default/assets/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/view/theme/default/assets/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/view/theme/default/assets/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="/view/theme/default/assets/ico/apple-touch-icon-57-precomposed.png">
2013-08-06 06:36:56 +02:00
<?php if(BRANDING_FAVICON) { ?><link rel="shortcut icon" href="<?php print BRANDING_FAVICON; ?>" /><?php } ?>
2012-02-08 23:14:28 +01:00
</head>
2013-07-25 11:56:52 +02:00
<body<?php
if(isset($this->request->get['route'])) {
if($this->request->get['route'] == 'health/health') { ?> onload="Piler.load_health(); setInterval('Piler.load_health()', Piler.health_refresh * 1000);"<?php }
if($this->request->get['route'] == 'stat/online') { ?> onload="setInterval('Piler.reload_page()', Piler.health_refresh * 1000);"<?php }
2013-08-23 13:02:51 +02:00
if($this->request->get['route'] == 'import/jobs') { ?> onload="setInterval('Piler.reload_page()', 10 * 1000);"<?php }
2013-07-25 11:56:52 +02:00
} ?>>
2012-02-08 23:14:28 +01:00
2013-08-14 23:40:52 +02:00
<div id="menu">
<?php print $menu; ?>
</div>
<div id="messagebox1" class="alert alert-info lead"></div>
<div id="piler1" class="container">
2012-02-08 23:14:28 +01:00
2013-04-05 10:16:33 +02:00
<div id="main">
2012-02-08 23:14:28 +01:00
2013-04-05 10:16:33 +02:00
<?php if($title) { ?><h3><?php print $title; ?></h3><?php } ?>
2012-02-08 23:14:28 +01:00
2012-09-06 15:27:20 +02:00
<?php print $content; ?>
2012-02-08 23:14:28 +01:00
2013-02-11 20:24:19 +01:00
</div> <!-- main -->
2012-02-08 23:14:28 +01:00
2012-09-06 15:27:20 +02:00
<div id="footer"><?php print $footer; ?></div>
2012-02-08 23:14:28 +01:00
2012-09-06 15:27:20 +02:00
</div>
2012-02-08 23:14:28 +01:00
2013-09-26 16:15:03 +02:00
<?php if(TRACKING_CODE) { print TRACKING_CODE; } ?>
2012-02-08 23:14:28 +01:00
</body>
</html>