adding code colorizing support
[gitmo/moose-website.git] / lib / Moose / Website / Resource / Templates / wrapper / root.tt
index 8cda1f7..b22778a 100644 (file)
@@ -2,8 +2,30 @@
 <head>
 <title>[% loc('moose page title') %]</title>
 <link rel="stylesheet" href="css/style.css" type="text/css">
+<link rel="stylesheet" href="css/facebox.css" type="text/css">
+<script language="javascript" src="js/jquery-1.3.2.min.js"></script>
+<script language="javascript" src="js/facebox.js"></script>
+<script language="javascript">
+
+jQuery(document).ready(function($) {
+    $('a[rel*=facebox]').facebox();
+    $('a[href^=http]').attr('target', '_blank');
+});
+
+</script>
 </head>
 <body>
-[% content %]
+<h1 style="background-image:url('images/header_bg_[% current_page.name %].jpg')">[% loc('header moose') %]</h1>
+<h2>[% loc('header moose subtitle') %]</h2>
+[% INCLUDE 'shared/nav.tt' %]
+<div class="content">
+    [% content %]
+</div>
+<div class="footer">
+    [% INCLUDE 'shared/footer.tt' %]
+</div>
+<div id="code_sample" style="display:none">
+[% INCLUDE 'code/point.tt' %]
+</div>
 </body>
 </html>
\ No newline at end of file