Require JavaScript
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
$(function () {
|
||||
$('.enable-javascript').show();
|
||||
|
||||
$("input#Date").datepicker({ maxDate: '+0d' });
|
||||
|
||||
$("input#CityName").autocomplete({
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user