90 lines
3.6 KiB
HTML
90 lines
3.6 KiB
HTML
$def with (main_block, sidebar_block, game_name)
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>TyeDye control panel for $game_name</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<!-- <link rel='stylesheet' type='text/css' href='/static/main.css'> -->
|
|
<link href="/static/css/bootstrap.min.css" rel="stylesheet">
|
|
<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/css/bootstrap-responsive.css" rel="stylesheet">
|
|
|
|
<!-- 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/ico/apple-touch-icon-144-precomposed.png">
|
|
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="/static/ico/apple-touch-icon-114-precomposed.png">
|
|
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="/static/ico/apple-touch-icon-72-precomposed.png">
|
|
<link rel="apple-touch-icon-precomposed" href="/static/ico/apple-touch-icon-57-precomposed.png">
|
|
<link rel="shortcut icon" href="/static/ico/favicon.png">
|
|
</head>
|
|
<body>
|
|
<!-- 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>
|
|
</div>
|
|
</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>
|
|
</div>
|
|
<hr />
|
|
<footer>
|
|
<p>Under GPL License v3</p>
|
|
</footer>
|
|
</div>
|
|
<!-- Le javascript
|
|
================================================== -->
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
|
<script src="/static/js/jquery.js"></script>
|
|
</body>
|
|
</html>
|
|
|