Commit fbb20cc3 authored by Mpro's avatar Mpro

clean layout and homepage

parent 2a3c8752
...@@ -8,10 +8,26 @@ ...@@ -8,10 +8,26 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>{ifset #title}{include title|striptags} | {/ifset}Nette Sandbox</title> <title>{ifset #title}{include title|striptags} | {/ifset}Pig Latin Translator</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="">
<!-- Le styles -->
<link href="{$basePath}/bootstrap/css/bootstrap.css" rel="stylesheet">
<style>
body {
padding-top: 60px; /* 60px to make the container go all the way to the bottom of the topbar */
}
</style>
<link href="{$basePath}/bootstrap/css/bootstrap-responsive.css" rel="stylesheet">
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="{$basePath}/bootstrap/js/html5shiv.js"></script>
<![endif]-->
<link rel="stylesheet" media="screen,projection,tv" href="{$basePath}/css/screen.css">
<link rel="stylesheet" media="print" href="{$basePath}/css/print.css">
<link rel="shortcut icon" href="{$basePath}/favicon.ico"> <link rel="shortcut icon" href="{$basePath}/favicon.ico">
{block head}{/block} {block head}{/block}
</head> </head>
...@@ -19,14 +35,33 @@ ...@@ -19,14 +35,33 @@
<body> <body>
<script> document.documentElement.className+=' js' </script> <script> document.documentElement.className+=' js' </script>
<div n:foreach="$flashes as $flash" class="flash {$flash->type}">{$flash->message}</div>
{include content} <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="brand" href="#">Pig Latin Translator</a>
</div>
</div>
</div>
<div class="container">
<div n:foreach="$flashes as $flash" class="alert alert-{$flash->type}">
<button type="button" class="close" data-dismiss="alert">&times;</button>
{$flash->message}
</div>
{include content}
</div>
{block scripts} {block scripts}
<script src="{$basePath}/js/jquery.js"></script> <script src="{$basePath}/js/jquery.js"></script>
<script src="{$basePath}/js/netteForms.js"></script> <script src="{$basePath}/js/netteForms.js"></script>
<script src="{$basePath}/js/main.js"></script> <script src="{$basePath}/js/main.js"></script>
{/block} {/block}
</body> </body>
</html> </html>
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment