Require JavaScript

This commit is contained in:
2014-05-30 19:12:36 -04:00
parent 631e546f5a
commit fd439b2a20
3 changed files with 19 additions and 2 deletions
+10
View File
@@ -1,8 +1,18 @@
.enable-javascript{
display:none
}
body {
position: relative;
padding-top: 60px;
}
noscript {
display: block;
max-width: 400px;
margin: 0 auto 20px;
}
.center-content {
display: block;
max-width: 400px;
+2
View File
@@ -1,4 +1,6 @@
$(function () {
$('.enable-javascript').show();
$("input#Date").datepicker({ maxDate: '+0d' });
$("input#CityName").autocomplete({
+7 -2
View File
@@ -11,7 +11,12 @@
@RenderSection("Styles", false)
</head>
<body>
<header>
<noscript>
This site requires JavaScript.
Here are the <a href="http://www.enable-javascript.com/" target="_blank">
instructions how to enable JavaScript in your web browser</a>.
</noscript>
<header>
<div class="navbar navbar-fixed-top navbar-inverse">
<div class="navbar-inner">
<div class="container-fluid">
@@ -42,7 +47,7 @@
</div>
</div>
</header>
<div id="content" class="container-fluid">
<div id="content" class="container-fluid enable-javascript">
@RenderBody()
</div>
<footer>