tyedye/views/layout.html

94 lines
3.9 KiB
HTML
Raw Normal View History

2013-06-02 01:06:44 +02:00
$def with (main_block, sidebar_block, game_name)
<!DOCTYPE html>
<html>
<head>
2013-06-04 16:19:46 +02:00
<meta charset="utf-8">
<title>TyeDye control panel for $game_name</title>
2013-06-04 16:19:46 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- <link rel='stylesheet' type='text/css' href='/static/public/main.css'> -->
<link href="/static/static/public/css/bootstrap.min.css" rel="stylesheet">
2013-06-04 16:19:46 +02:00
<style type="text/css">
body {
padding-top: 60px;
padding-bottom: 40px;
}
.sidebar-nav {
padding: 9px 0;
}
@media (max-width: 980px) {
/* Enable use of floated navbar text */
.navbar-text.pull-right {
float: none;
padding-left: 5px;
padding-right: 5px;
}
}
</style>
<link href="/static/public/css/bootstrap-responsive.css" rel="stylesheet">
2013-06-04 16:19:46 +02:00
<!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
<!--[if lt IE 9]>
<script src="../assets/js/html5shiv.js"></script>
<![endif]-->
<!-- Fav and touch icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/static/public/ico/apple-touch-icon-144-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/public/ico/apple-touch-icon-114-precomposed.png">
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/public/ico/apple-touch-icon-72-precomposed.png">
<link rel="apple-touch-icon-precomposed" href="/static/public/ico/apple-touch-icon-57-precomposed.png">
<link rel="shortcut icon" href="/static/public/ico/favicon.png">
2013-06-02 01:06:44 +02:00
</head>
<body>
2013-06-04 16:19:46 +02:00
<!-- begin navbar -->
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container-fluid">
<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="#">TyeDye: $game_name control panel</a>
<div class="navbar-collapse collapse">
<p class="navbar-text pull-right">
Logged in as <a href="#" class="navbar-link">username</a>
</p>
<ul class="nav">
<li class="active"><a href="#">Control Panel</a></li>
<li><a href="#about">About</a></li>
<li><a href="#contact">Contact</a></li>
</ul>
</div>
</div>
2013-06-02 01:06:44 +02:00
</div>
2013-06-04 16:19:46 +02:00
</div>
<!-- end navbar -->
<!-- begin blocks -->
<div class="container-fluid">
<div class="row-fluid">
<div class='span3'>
<div class="well sidebar-nav">
$:sidebar_block
</div>
</div>
<div class='span9'>
$:main_block
</div>
2013-06-02 01:06:44 +02:00
</div>
2013-06-04 16:19:46 +02:00
<hr />
<footer>
<p>Under GPL License v3</p>
</footer>
2013-06-02 01:06:44 +02:00
</div>
2013-06-04 16:19:46 +02:00
<!-- Le javascript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="/static/public/js/jquery.js"></script>
<script src="/static/public/js/underscore.js"></script>
<script src="/static/public/js/backbone.js"></script>
<script src="/static/public/js/app.js"></script>
2013-06-02 01:06:44 +02:00
</body>
</html>