kopia lustrzana https://github.com/wagtail/wagtail
noscript message added to address issue #727
rodzic
f1111f640e
commit
9fe9369524
|
@ -38,15 +38,15 @@ body{
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.browsermessage{
|
.capabilitymessage{
|
||||||
|
display:block;
|
||||||
background-color:$color-red;
|
background-color:$color-red;
|
||||||
color:white;
|
color:white;
|
||||||
padding:1em 2em;
|
padding:1em 2em;
|
||||||
margin:0;
|
margin:0;
|
||||||
position:relative;
|
position:relative;
|
||||||
left:0;
|
width:100%;
|
||||||
top:0;
|
text-align:center;
|
||||||
right:0;
|
|
||||||
|
|
||||||
a{
|
a{
|
||||||
color:white;
|
color:white;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
{% load compress %}
|
{% load compress i18n %}
|
||||||
<html class="no-js" lang="{{ LANGUAGE_CODE|default:"en-gb" }}">
|
<html class="no-js" lang="{{ LANGUAGE_CODE|default:"en-gb" }}">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
|
@ -18,8 +18,9 @@
|
||||||
</head>
|
</head>
|
||||||
<body class="{% block bodyclass %}{% endblock %} {% if messages %}has-messages{% endif %}">
|
<body class="{% block bodyclass %}{% endblock %} {% if messages %}has-messages{% endif %}">
|
||||||
<!--[if lt IE 9]>
|
<!--[if lt IE 9]>
|
||||||
<p class="browsermessage">You are using an <strong>outdated</strong> browser not supported by this software. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a>.</p>
|
<p class="capabilitymessage">{% blocktrans %}You are using an <strong>outdated</strong> browser not supported by this software. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a>.{% endblocktrans %}</p>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
|
<noscript class="capabilitymessage">{% trans 'Javascript is required to use Wagtail, but it is currently disabled' %}</noscript>
|
||||||
|
|
||||||
{% block js %}{% endblock %}
|
{% block js %}{% endblock %}
|
||||||
|
|
||||||
|
|
Ładowanie…
Reference in New Issue