]> source.dussan.org Git - nextcloud-server.git/commitdiff
also add no-JavaScript notice to log in and sharing pages because they do not work...
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 8 Sep 2014 16:07:20 +0000 (18:07 +0200)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 8 Sep 2014 20:01:56 +0000 (22:01 +0200)
core/css/styles.css
core/templates/layout.base.php
core/templates/layout.guest.php

index 8dc9bb4780eef27ebb59a268068ad663898e1f0d..906e38bd7f28051eab501ed29ba6a653265e5117 100644 (file)
@@ -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 {
index b99f603fe0bc99f9ebf74151ac671d217f747edd..66abccedd2732331384e4c08f8b6e1e09da79b66 100644 (file)
@@ -32,6 +32,7 @@
        </head>
        <?php flush(); ?>
        <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>
index c4b69a950a0e983839a0412db417803b490f9b43..b802a241eebed11a9d2689eb907dfa052439b2df 100644 (file)
@@ -34,6 +34,7 @@
        </head>
        <?php flush(); ?>
        <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">