# HG changeset patch # User ymh # Date 1432853464 -7200 # Node ID 8aff7e66e4c7f30d15f0a0735a80a4d7fe31557a # Parent 44ccf39aaf426308c7bc54c92cc0850b234ca5f6 update copyright notices on footers diff -r 44ccf39aaf42 -r 8aff7e66e4c7 src/ldt/ldt/ldt_utils/templates/front/front_base.html --- a/src/ldt/ldt/ldt_utils/templates/front/front_base.html Thu May 28 11:03:58 2015 +0200 +++ b/src/ldt/ldt/ldt_utils/templates/front/front_base.html Fri May 29 00:51:04 2015 +0200 @@ -13,8 +13,8 @@ {% block title %}Lignes de temps{% endblock %} {% block js_import %} - - + + {% endblock %} {% block css_declaration %}{% endblock %} {% block css_import %} @@ -22,17 +22,17 @@ {% endblock %} {% block js_declaration %} + $(document).ready(function () { + $("#id_search").bind('hastext', function () { + $("#search_submit").addClass('search_valid').removeClass('search_invalid'); + $("#search_submit").removeAttr('disabled'); + }); + $("#id_search").bind('notext', function () { + $("#search_submit").addClass('search_invalid').removeClass('search_valid'); + $("#search_submit").attr('disabled', 'disabled'); + }); + }); + {% endblock %} {% endblock %} @@ -67,10 +67,10 @@
  • {% if user.is_authenticated %} - {% trans "Log out" %} + {% trans "Log out" %} {% else %} - {% trans "Log in" %} - {% endif %} + {% trans "Log in" %} + {% endif %}
  • {% block body %} @@ -79,7 +79,7 @@