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
|
@ -39,7 +39,7 @@ body {
|
||||||
|
|
||||||
|
|
||||||
#nojavascript {
|
#nojavascript {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 9000;
|
z-index: 9000;
|
||||||
|
@ -54,7 +54,7 @@ body {
|
||||||
display: block;
|
display: block;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
top: 30%;
|
top: 35%;
|
||||||
margin: 0px auto;
|
margin: 0px auto;
|
||||||
}
|
}
|
||||||
#nojavascript a {
|
#nojavascript a {
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</head>
|
</head>
|
||||||
<body id="body-public">
|
<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']); ?>
|
<?php print_unescaped($_['content']); ?>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</head>
|
</head>
|
||||||
<body id="body-login">
|
<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="wrapper"><!-- for sticky footer -->
|
||||||
<div class="v-align"><!-- vertically centred box -->
|
<div class="v-align"><!-- vertically centred box -->
|
||||||
<header><div id="header">
|
<header><div id="header">
|
||||||
|
|
Loading…
Reference in New Issue