also add no-JavaScript notice to log in and sharing pages because they do not work without JS either
This commit is contained in:
parent
3db2b11435
commit
bd56619e7a
3 changed files with 4 additions and 2 deletions
|
@ -39,7 +39,7 @@ body {
|
|||
|
||||
|
||||
#nojavascript {
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
z-index: 9000;
|
||||
|
@ -54,7 +54,7 @@ body {
|
|||
display: block;
|
||||
position: relative;
|
||||
width: 50%;
|
||||
top: 30%;
|
||||
top: 35%;
|
||||
margin: 0px auto;
|
||||
}
|
||||
#nojavascript a {
|
||||
|
|
|
@ -31,6 +31,7 @@
|
|||
<?php endforeach; ?>
|
||||
</head>
|
||||
<body id="body-public">
|
||||
<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
|
||||
<?php print_unescaped($_['content']); ?>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -33,6 +33,7 @@
|
|||
<?php endforeach; ?>
|
||||
</head>
|
||||
<body id="body-login">
|
||||
<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and reload the page.')); ?></div></div></noscript>
|
||||
<div class="wrapper"><!-- for sticky footer -->
|
||||
<div class="v-align"><!-- vertically centred box -->
|
||||
<header><div id="header">
|
||||
|
|
Loading…
Reference in a new issue