Merge branch 'maint/7.0'
[ninja.git] / system / views / kohana / template.php
blobb090fd884ab9aa99d242cd44181564d7fe57b051
1 <?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5 <head>
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
8 <title><?php echo html::specialchars($title) ?></title>
10 <style type="text/css">
11 html { background: #83c018 url(<?php echo url::base(FALSE) ?>kohana.png) 50% 0 no-repeat; }
12 body { width: 52em; margin: 200px auto 2em; font-size: 76%; font-family: Arial, sans-serif; color: #273907; line-height: 1.5; text-align: center; }
13 h1 { font-size: 3em; font-weight: normal; text-transform: uppercase; color: #fff; }
14 a { color: inherit; }
15 code { font-size: 1.3em; }
16 ul { list-style: none; padding: 2em 0; }
17 ul li { display: inline; padding-right: 1em; text-transform: uppercase; }
18 ul li a { padding: 0.5em 1em; background: #69ad0f; border: 1px solid #569f09; color: #fff; text-decoration: none; }
19 ul li a:hover { background: #569f09; }
20 .box { padding: 2em; background: #98cc2b; border: 1px solid #569f09; }
21 .copyright { font-size: 0.9em; text-transform: uppercase; color: #557d10; }
22 </style>
24 </head>
25 <body>
27 <h1><?php echo html::specialchars($title) ?></h1>
28 <?php echo $content ?>
30 <p class="copyright">
31 Rendered in {execution_time} seconds, using {memory_usage} of memory<br />
32 Copyright ©20072008 Kohana Team
33 </p>
35 </body>
36 </html>