cedadev / pyramid-phoenix

Phoenix is a Pyramid web-application to make it easy to interact with WPS services
http://pyramid-phoenix.readthedocs.io/en/latest/
Apache License 2.0
0 stars 0 forks source link

Range slider #8

Closed antony-wilson closed 3 years ago

antony-wilson commented 3 years ago

This branch adds two new widgets with make use of jQRangeSlider:

Currently they are specialisations of LiteralInput data_type='string'

If a string input has an id starting with range_slider then a numeric range slider is created. If the input has defaults in the format of 'nnnn|nnnn' then they are used to set the range of the slider

If a string input has an id starting with date_slider then a date range slider is created. If the input has defaults in the format of 'yyyy/mm/dd|yyyy/mm/dd' then they are used to set the range of the slider

antony-wilson commented 3 years ago

Updated

range_slider:

date_slider: