Pylons/deform — pull request #142 by lmctv (2013-01-07 00:57:30+00:00)
Title: Add support for html5 native time-related widgets

* for the DateInputWidget, the .datepicker interfered with
the native widget shown on field enter

* the DateTimeInputWidget's template defined the input field
as being of type "text" instead of "datetime"; therefore,
the native datitime widget was never shown

To enable the correct behaviour, the jqueryui datepicker will be
activated only after detecting the native support for the respective
input type is missing via a custom generated modernizr.js.

The installed version of modernizr.js was generated enabling only detection
of input types and attributes; this way, the filesize is just 2394 bytes,
instead of 15483 of the full minified distribution.

I'm attaching the screenshots I've taken both from desktop chrome:

**chrome/desktop, date input**: both native and jquery "enhanced" visible
![chrome-both-native-and-jquery-date](https://f.cloud.github.com/assets/1045050/46470/a1010e64-5863-11e2-84af-528a02fb8006.png)

**chrome/desktop, date input**: correct behaviour: only native visible
![chrome-native-date-ok](https://f.cloud.github.com/assets/1045050/46471/a141a08c-5863-11e2-96cf-3b39763f0578.png)

**chrome/android, date input**: both native and jquery "enhanced" visible
![date-android-both-native-and-jqueryui](https://f.cloud.github.com/assets/1045050/46475/d8f0f672-5863-11e2-80d3-9679a9eba186.png)

**chrome/android, date input**: correct behaviour: only native visible
![date-android-native](https://f.cloud.github.com/assets/1045050/46476/d90462de-5863-11e2-8eef-b9f1e3e2899f.png)

**chrome/android, datetime input**: only jquery dialog visible
![datetime-android-no-native](https://f.cloud.github.com/assets/1045050/46473/d8b520d4-5863-11e2-986c-cf4b7162d445.png)

**chrome/android, datetime input**: correct behaviour: only native visible
![datetime-android-native](https://f.cloud.github.com/assets/1045050/46474/d8d47a74-5863-11e2-9c18-47794c955386.png)