# HG changeset patch # User Branko Majic # Date 2013-11-10 14:22:44 # Node ID d3db3c08591221d5ae08a89bb6593d7aff314f2a # Parent b092ea4cdde0551d2cf33153764f1f0dfa71bc2f CONNT-24: Fix the ampersands in HTML (& instead of &). Fix the headers to be XHTML5-comliant. Make sure that all tags are closed (like input, hr etc). Use non-empty actions for forms. Replace invalid use of width attribute for img with CSS styling. Don't use readonly attribute for select fields. Set an empty label instead (one option in drop-box). diff --git a/conntrackt/static/custom.css b/conntrackt/static/custom.css --- a/conntrackt/static/custom.css +++ b/conntrackt/static/custom.css @@ -42,3 +42,7 @@ parent div instead). */ * END (search suggestions) */ +/* Project diagram should have maximum width */ +#project_diagram { + width: 100%; +} \ No newline at end of file diff --git a/conntrackt/templates/admin/conntrackt/communication/change_list.html b/conntrackt/templates/admin/conntrackt/communication/change_list.html --- a/conntrackt/templates/admin/conntrackt/communication/change_list.html +++ b/conntrackt/templates/admin/conntrackt/communication/change_list.html @@ -7,7 +7,7 @@
  • {# Add the GET parameters from the admin's filter to 'Add entity' button #} {# so we can perform some filtering on source/destination interfaces. #} - + {% blocktrans with cl.opts.verbose_name as name %}Add {{ name }}{% endblocktrans %}
  • diff --git a/conntrackt/templates/conntrackt/base.html b/conntrackt/templates/conntrackt/base.html --- a/conntrackt/templates/conntrackt/base.html +++ b/conntrackt/templates/conntrackt/base.html @@ -1,19 +1,19 @@ {% load conntrackt_tags %} - + {% block title %}Conntrackt{% endblock %} - - + + - - + +