freeipa/install/ui/less
Petr Vobornik 0d05a50e19 webui: field and widget binding refactoring
This is a Web UI wide change. Fields and Widgets binding was refactored
to enable proper two-way binding between them. This should allow to have
one source of truth (field) for multiple consumers - widgets or something
else. One of the goal is to have fields and widget implementations
independent on each other. So that one could use a widget without field
or use one field for multiple widgets, etc..

Basically a fields logic was split into separate components:
- adapters
- parsers & formatters
- binder

Adapters
- extract data from data source (FreeIPA RPC command result)
- prepares them for commands.

Parsers
- parse extracted data to format expected by field
- parse widget value to format expected by field

Formatters
- format field value to format suitable for widgets
- format field value to format suitable for adapter

Binder
- is a communication bridge between field and widget
- listens to field's and widget's events and call appropriate methods

Some side benefits:
- better validation reporting in multivalued widget

Reviewed-By: Adam Misnyovszki <amisnyov@redhat.com>
2014-04-03 12:40:37 +02:00
..
font-awesome Use only system fonts 2014-01-21 12:05:09 +01:00
plugins Added QRcode generation to Web UI 2014-03-12 17:29:28 +01:00
rcue Use only system fonts 2014-01-21 12:05:09 +01:00
brand.less RCUE Header 2014-01-21 12:04:02 +01:00
dialog.less Use font awesome glyph for dialog close button 2014-01-21 12:04:03 +01:00
forms-override.less webui: field and widget binding refactoring 2014-04-03 12:40:37 +02:00
navbar-white-labeled.less RCUE initial commit 2014-01-21 12:04:02 +01:00
rcue-white-labeled.less RCUE initial commit 2014-01-21 12:04:02 +01:00
rcue.less Added QRcode generation to Web UI 2014-03-12 17:29:28 +01:00
variables.less Use only system fonts 2014-01-21 12:05:09 +01:00