tyedye/views/layout.html

105 lines
4.5 KiB
HTML
Raw Normal View History

2014-08-11 19:48:22 +02:00
$def with (main_block,sidebar_block, game_name)
2013-06-02 01:06:44 +02:00
<!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'> -->
2014-08-11 19:48:22 +02:00
<link href="/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
2014-08-11 19:48:22 +02:00
<!-- Out main app blocks are now in control of our backbone app -->
<div id="player_list"></div>
<script type="text/template" id="player_list_template">
<h2>$game_name quick summary</h2>
<p>Registered players: <%= player_num %></p>
<p>Registered stats: <%= stats_num %></p>
<p>Player list:<br />
<ul id="player_ul_list">
<%= listUlPlayer(player_collection) %>
</ul>
</script>
2013-06-04 16:19:46 +02:00
</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>