mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-09 22:00:20 +01:00
added warning message if javascript is disabled
This commit is contained in:
@@ -211,6 +211,15 @@
|
||||
<input type="hidden" id="x-history-field" />
|
||||
<iframe id="x-history-frame"></iframe>
|
||||
</form>
|
||||
|
||||
|
||||
<noscript>
|
||||
<div class="noscript-container">
|
||||
<h1>SCM-Manager</h1>
|
||||
<p>
|
||||
<b>Warning:</b> SCM-Manager requires JavaScript.
|
||||
Please enable JavaScript in your browser and try again.
|
||||
<p>
|
||||
</div>
|
||||
</noscript>
|
||||
</body>
|
||||
</html>
|
||||
@@ -183,3 +183,22 @@ li.scm-removed {
|
||||
background-image: url(../images/delete.png);
|
||||
}
|
||||
|
||||
|
||||
div.noscript-container {
|
||||
background-color: #ffffff;
|
||||
margin: 10px;
|
||||
color: #202020;
|
||||
font-family: Verdana,Helvetica,Arial,sans-serif;
|
||||
font-size: 12px;
|
||||
margin: 1em;
|
||||
}
|
||||
|
||||
div.noscript-container h1 {
|
||||
font-size: 18px;
|
||||
font-family: Arial, "Arial CE", "Lucida Grande CE", lucida, "Helvetica CE", sans-serif;
|
||||
font-weight: bold;
|
||||
margin: 0.5em 0em;
|
||||
padding: 0px;
|
||||
color: #D20005;
|
||||
border-bottom: 1px solid #AFAFAF;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user