Mineplex2018-withcommit/Website/Nautilus.Web.Impulse/Views/Shared/_Layout.cshtml

61 lines
2.7 KiB
Plaintext
Raw Permalink Normal View History

2013-08-27 17:14:08 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>@ViewBag.Title</title>
<meta name="keywords" content="minecraft gaming nautilus pvp hunger games dominate build ctf ctp zombies" />
<meta name="description" content="Nautilus Gaming is a minecraft community for all players." />
<link href=@Url.Content("~/Content/Site.css") rel="stylesheet" type="text/css" />
<link href=@Url.Content("~/Content/css/bootstrap.css") rel="stylesheet" />
<style>
body {
padding-top: 60px; /* When using the navbar-top-fixed */
}
</style>
<script type="text/javascript" src=@Url.Content("~/Scripts/jquery-1.4.4.min.js")> </script>
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner">
<div class="container">
<a 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>
</a>
<a class="brand" href="#">Nautilus Gaming</a>
<div class="nav-collapse">
<ul class="nav" id="ButtonNav">
<li><a href="/Home"><i class="icon-home icon-white"></i>Home</a></li>
<li>@Html.ActionLink("Forums", "Index", "Forums")</li>
<li>@Html.ActionLink("Store", "Index", "Store")</li>
<li>@Html.ActionLink("Stats", "Index", "Stats")</li>
<li>@Html.ActionLink("About", "Index", "About")</li>
</ul>
</div><!-- /.nav-collapse -->
</div><!-- /.container -->
</div><!-- /.navbar-inner -->
</div><!-- /.navbar -->
<div class="container">
@RenderBody()
</div>
<!-- jQuery via Google + local fallback, see h5bp.com -->
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script> window.jQuery || document.write('<script src="js/jquery-1.7.1.min.js"><\/script>')</script>
<!-- Bootstrap jQuery Plugins, compiled and minified -->
<script src=@Url.Content("~/Content/js/bootstrap.min.js")></script>
<script type="text/javascript">
$(document).ready(function () {
$('#ButtonNav').children('li').children('a').each(function (i) {
if ($(this).attr('href') == '/' + '@(ViewContext.RouteData.Values["Controller"])') {
$(this).parent().addClass('active');
}
});
});
</script>
</body>
</html>