Require javascript

This commit is contained in:
Matt Barringer 2013-02-03 13:01:11 +01:00
parent 5d3864d7da
commit e0f134bb34

View file

@ -23,7 +23,16 @@
.span12 .span12
= render 'layouts/messages' = render 'layouts/messages'
.row-fluid .row-fluid
.span12 %noscript
:css
#yield-span {
display: none;
}
%h2
JavaScript is not enabled
%p
OSEM requires JavaScript to be enabled to function. Please turn on JavaScript in your browser's settings and reload the page to continue.
.span12#yield-span
= yield = yield
#push #push
#footer #footer
@ -32,4 +41,4 @@
OSEM is (C) 2013 OSEM is (C) 2013
= link_to "Matt Barringer", "http://incoherent.de" = link_to "Matt Barringer", "http://incoherent.de"
and released under the GPL. You can get the source code from and released under the GPL. You can get the source code from
= link_to "Github.", "https://github.com/mbarringer/osem" = link_to "Github.", "https://github.com/mbarringer/osem"