Add overlay noscript message to fix #6032

This commit is contained in:
ringmaster 2013-12-05 09:19:46 -05:00
parent 125dff8997
commit bdab0409c4
2 changed files with 22 additions and 0 deletions

View File

@ -46,6 +46,27 @@ body { background:#fefefe; font:normal .8em/1.6em "Helvetica Neue",Helvetica,Ari
opacity: 1; opacity: 1;
} }
#nojavascript {
position: absolute;
top: 0;
bottom: 0;
z-index: 999;
width: 100%;
text-align: center;
background-color: rgba(50,0,0,0.5);
color: white;
text-shadow: 0px 0px 5px black;
line-height: 125%;
font-size: x-large;
}
#nojavascript div {
width: 50%;
top: 50%;
position: absolute;
left: 50%;
margin-left: -25%;
}
/* INPUTS */ /* INPUTS */
input[type="text"], input[type="text"],
input[type="password"], input[type="password"],

View File

@ -37,6 +37,7 @@
</head> </head>
<body id="<?php p($_['bodyid']);?>"> <body id="<?php p($_['bodyid']);?>">
<noscript><div id="nojavascript"><div>ownCloud requires JavaScript to be enabled for correct operation. Please enable JavaScript and re-load this interface.</div></div></noscript>
<div id="notification-container"> <div id="notification-container">
<div id="notification"></div> <div id="notification"></div>
<?php if ($_['updateAvailable']): ?> <?php if ($_['updateAvailable']): ?>