Merge pull request #10944 from owncloud/fix-nojavascript-style
fix no-JS message, and add it to log in and shared as well cause they don’t work without JS
This commit is contained in:
commit
71e10b66d9
|
@ -39,31 +39,31 @@ body {
|
||||||
|
|
||||||
|
|
||||||
#nojavascript {
|
#nojavascript {
|
||||||
position: absolute;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
z-index: 999;
|
z-index: 9000;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
background-color: rgba(50,0,0,0.5);
|
background-color: rgba(0,0,0,0.5);
|
||||||
color: white;
|
color: #fff;
|
||||||
text-shadow: 0px 0px 5px black;
|
|
||||||
line-height: 125%;
|
line-height: 125%;
|
||||||
font-size: x-large;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
#nojavascript div {
|
#nojavascript div {
|
||||||
|
display: block;
|
||||||
|
position: relative;
|
||||||
width: 50%;
|
width: 50%;
|
||||||
top: 40%;
|
top: 35%;
|
||||||
position: absolute;
|
margin: 0px auto;
|
||||||
left: 50%;
|
|
||||||
margin-left: -25%;
|
|
||||||
}
|
}
|
||||||
#nojavascript a {
|
#nojavascript a {
|
||||||
color: #ccc;
|
color: #fff;
|
||||||
text-decoration: underline;
|
border-bottom: 2px dotted #fff;
|
||||||
}
|
}
|
||||||
#nojavascript a:hover {
|
#nojavascript a:hover,
|
||||||
color: #aaa;
|
#nojavascript a:focus {
|
||||||
|
color: #ddd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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">
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</head>
|
</head>
|
||||||
<body id="<?php p($_['bodyid']);?>">
|
<body id="<?php p($_['bodyid']);?>">
|
||||||
<noscript><div id="nojavascript"><div><?php print_unescaped($l->t('This application requires JavaScript to be enabled for correct operation. Please <a href="http://enable-javascript.com/" target="_blank">enable JavaScript</a> and re-load this interface.')); ?></div></div></noscript>
|
<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 id="notification-container">
|
<div id="notification-container">
|
||||||
<div id="notification"></div>
|
<div id="notification"></div>
|
||||||
<?php if ($_['updateAvailable']): ?>
|
<?php if ($_['updateAvailable']): ?>
|
||||||
|
|
Loading…
Reference in New Issue