summaryrefslogtreecommitdiffstats
path: root/views/layouts
diff options
context:
space:
mode:
authorMichael Francis <edude03@gmail.com>2011-07-24 23:59:02 -0400
committerMichael Francis <edude03@gmail.com>2011-07-24 23:59:02 -0400
commit02ff642a5ce9461c14cc21d3688529037637951a (patch)
tree60c55439c51d3fb521c6871c18b16acddcc7e263 /views/layouts
parentdd531d3928c25b1288c9369ce2d9ec5ee6bd24d6 (diff)
downloadotakuhub-02ff642a5ce9461c14cc21d3688529037637951a.tar.xz
Implemented a ribbon which displays the current environment
Diffstat (limited to 'views/layouts')
-rw-r--r--views/layouts/default.html.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/views/layouts/default.html.php b/views/layouts/default.html.php
index 9313414..cd179f9 100644
--- a/views/layouts/default.html.php
+++ b/views/layouts/default.html.php
@@ -8,10 +8,16 @@ use \lithium\security\Auth;
<title>OtakuHub<?php $title = $this->title(); if ($title) echo " > $title" ?></title>
<?= $this->html->style(array('style', 'base')) ?>
<?= $this->html->style('themes/light') ?>
+ <?= $this->html->style('ribbon'); ?>
<?= $this->html->style('jquery.fancybox-1.3.4') ?>
<?= $this->html->style('http://fonts.googleapis.com/css?family=Cantarell:regular,bold&amp;v1') ?>
<?= $this->styles(); ?>
</head>
+<div class="right ribbon-holder">
+ <a href="http://github.com/jbalogh" class="orange ribbon">
+ <span class="text"><?= lithium\core\Environment::is('development') ? "Development" : "Production" ?></span>
+ </a>
+ </div>
<header>
<?php
$links = array(