Require JavaScript
This commit is contained in:
@@ -1,8 +1,18 @@
|
|||||||
|
.enable-javascript{
|
||||||
|
display:none
|
||||||
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding-top: 60px;
|
padding-top: 60px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
noscript {
|
||||||
|
display: block;
|
||||||
|
max-width: 400px;
|
||||||
|
margin: 0 auto 20px;
|
||||||
|
}
|
||||||
|
|
||||||
.center-content {
|
.center-content {
|
||||||
display: block;
|
display: block;
|
||||||
max-width: 400px;
|
max-width: 400px;
|
||||||
|
|||||||
@@ -1,4 +1,6 @@
|
|||||||
$(function () {
|
$(function () {
|
||||||
|
$('.enable-javascript').show();
|
||||||
|
|
||||||
$("input#Date").datepicker({ maxDate: '+0d' });
|
$("input#Date").datepicker({ maxDate: '+0d' });
|
||||||
|
|
||||||
$("input#CityName").autocomplete({
|
$("input#CityName").autocomplete({
|
||||||
|
|||||||
@@ -11,7 +11,12 @@
|
|||||||
@RenderSection("Styles", false)
|
@RenderSection("Styles", false)
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<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 navbar-fixed-top navbar-inverse">
|
||||||
<div class="navbar-inner">
|
<div class="navbar-inner">
|
||||||
<div class="container-fluid">
|
<div class="container-fluid">
|
||||||
@@ -42,7 +47,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<div id="content" class="container-fluid">
|
<div id="content" class="container-fluid enable-javascript">
|
||||||
@RenderBody()
|
@RenderBody()
|
||||||
</div>
|
</div>
|
||||||
<footer>
|
<footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user