Add noscript warning to login page (#1488615)

pull/46/merge
Thomas Bruederli 12 years ago
parent 6199a72c8e
commit b6add5aed0

@ -163,5 +163,6 @@ $messages['invalidimageformat'] = 'Not a valid image format.';
$messages['mispellingsfound'] = 'Spelling errors detected in the message.';
$messages['parentnotwritable'] = 'Unable to create/move folder into selected parent folder. No access rights.';
$messages['messagetoobig'] = 'The message part is too big to process it.';
$messages['noscriptwarning'] = 'Warning: This webmail service requires Javascript! In order to use it please enable Javascript in your browser\'s settings.';
?>

@ -782,6 +782,14 @@ a.rcmContactAddress:hover
color: #666;
}
#login-noscriptwarning
{
margin: 2em auto 0 auto;
width: 400px;
color: #cf2734;
font-weight: bold;
}
#console
{
opacity: 0.8;

@ -24,6 +24,10 @@
</div>
</div>
<noscript>
<p id="login-noscriptwarning"><roundcube:label name="noscriptwarning" /></p>
</noscript>
<div id="login-bottomline">
<roundcube:var name="config:product_name"> <roundcube:object name="version" condition="config:display_version" />
<roundcube:if condition="config:support_url" />

@ -1233,6 +1233,14 @@ ul.proplist li {
padding-top: 10px;
}
#login-form .noscriptwarning {
margin: 0 auto;
width: 430px;
color: #cf2734;
font-size: 110%;
font-weight: bold;
}
#login-form td.input {
width: 80%;
padding: 8px;

@ -21,6 +21,9 @@
<div class="box-bottom">
<roundcube:object name="message" id="message" />
<noscript>
<p class="noscriptwarning"><roundcube:label name="noscriptwarning" /></p>
</noscript>
</div>
<div id="bottomline">

Loading…
Cancel
Save