Show a message if javascript is disabled. Fixes #380

- Legacy-Id: 2536
This commit is contained in:
Emilio A. Sánchez López 2010-09-27 08:26:18 +00:00
parent dad6332923
commit 5f78eda82f
2 changed files with 16 additions and 0 deletions

View file

@ -10,6 +10,15 @@
{% block content %}
<h1>{% if liaison %}Edit liaison: {{ liaison }}{% else %}Send Liaison Statement{% endif %}</h1>
<div class="js-info">
Your browser has Javascript disabled. Please enable javascript and reload the page.
<script type="text/javascript">
(function ($) {
$(".js-info").hide();
})(jQuery);
</script>
</div>
{% if not liaison %}
<ul>
<li>If you wish to submit your liaison statement by e-mail, then please send it to <a href="mailto:statements@ietf.org">statements@ietf.org</a></li>

View file

@ -86,3 +86,10 @@ span.fieldRequired {
list-style: none;
color: red;
}
.js-info {
border: 1px dashed red;
padding: 1em 2em;
font-size: 1.2em;
background-color: #ffdd88;
}