Alert user on JavaScript requirement if it's disabled
Closes-Bug: #1412749 Change-Id: I5265e9c79201c5fa952ced9d9d90668fcf0006ee
This commit is contained in:
parent
354cdc3ea7
commit
a9f82904aa
@ -15,6 +15,11 @@
|
||||
{% include "horizon/_custom_head_js.html" %}
|
||||
</head>
|
||||
<body id="{% block body_id %}{% endblock %}" ng-app='hz'>
|
||||
<noscript>
|
||||
<div class="javascript_disabled_alert">
|
||||
This application requires JavaScript to be enabled on your web browser.
|
||||
</div>
|
||||
</noscript>
|
||||
{% block content %}
|
||||
<div id="container">
|
||||
<div class='topbar'>
|
||||
|
@ -1008,6 +1008,14 @@ tr.terminated {
|
||||
}
|
||||
}
|
||||
|
||||
.javascript_disabled_alert {
|
||||
@extend .alert-danger;
|
||||
border-bottom-style: solid;
|
||||
border-bottom-width: 1px;
|
||||
padding: 8px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
#content_body {
|
||||
padding-left: $sidebar-width + 15px;
|
||||
padding-right: 15px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user