Markup fixes and jQuery lib upgrades #16

Closed
wants to merge 14 commits into
from
Commits on Apr 7, 2011
  1. @hellp
  2. @hellp
  3. @hellp
  4. @hellp

    Don't use omit-tag on LI elements; rather use a .hidden class.

    hellp committed Apr 1, 2011
    If you assume to be in a list you must not simply remove the tag as
    that results in invalid HTML, e.g. UL > INPUT.
  5. @hellp

    Make SequenceWidget 'structural' and give it a FIELDSET.

    hellp committed Apr 1, 2011
    This make SequenceWidget and MappingWidget behave more consistent.
    And: it's already stated in the docstring of Widget: "the default
    mapping and sequence widgets are in this category ['structural']".
    And: "Renders a sequence into a set of fields."
    
    Plus: we get rid of the invalid LABEL element pointing to the widget's
    DIV -- which is not valid HTML.
  6. @hellp

    Refactor to valid HTML and upgrade to latest jQuery + libs.

    hellp committed Apr 1, 2011
    Instead of using custom (non-valid) attributes (e.g. prototype) and
    a (non-valid) SPAN inside a sequence's UL to hold min/max variables,
    we use HTML5 data-* attributes now.
    
    For easy access to them (and for the hotness' sake) upgrade to
    jQuery 1.5.2 and a more recent jQuery UI.
  7. @hellp

    Cosmetics.

    hellp committed Apr 1, 2011
  8. @hellp

    Upgrade to latest jquery.form that supports jQuery 1.5 and fix IFRAME…

    hellp committed Apr 1, 2011
    … behavior.
    
    See source comment for details.
Commits on Apr 11, 2011
  1. @hellp

    Fix missing "." in selector.

    hellp committed Apr 11, 2011
  2. @hellp
  3. @hellp

    Pull another INPUT out of an UL.

    hellp committed Apr 11, 2011
  4. @hellp

    Refactor error markup.

    hellp committed Apr 11, 2011
    Use separate DIV for the global form error message instead of just
    another LI.
    
    Use less classes.
Commits on May 11, 2011
  1. @hellp

    Fix markup of readonly sequences.

    hellp committed May 11, 2011
  2. @hellp

    Fix markup of readonly mappings.

    hellp committed May 11, 2011