MINOR: Reinstate noscript tag for no javascript warning message on loading screen

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@115120 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Saophalkun Ponlu 2010-12-16 05:16:57 +00:00
parent d97cfcbc7f
commit 2afc2e99dd
2 changed files with 1 additions and 4 deletions

View File

@ -10,9 +10,6 @@ var ss_MainLayout;
(function($) {
$.entwine('ss', function($){
$('.nojs-warning').hide();
/**
* Position the loading spinner animation below the ss logo
*/

View File

@ -12,7 +12,7 @@
<div class="ss-loading-screen">
<div class="loading-logo" style="background-image: url($LoadingImage);">
<img class="loading-animation" src="cms/images/spinner.gif" alt="<% _t('LOADING','Loading...',PR_HIGH) %>" />
<p class="nojs-warning"><span class="message notice"><% _t('REQUIREJS','The CMS requires that you have JavaScript enabled.',PR_HIGH) %></span></p>
<noscript><p class="nojs-warning"><span class="message notice"><% _t('REQUIREJS','The CMS requires that you have JavaScript enabled.',PR_HIGH) %></span></p></noscript>
</div>
</div>