horizon/openstack_dashboard/static/app
Rob Cresswell 0e957dd41a Add Angular Schema Form
This patch adds Angular Schema Form[1] and its requirements to Horizon.
There are a number of advantages to this over the current methods of
defining forms and workflows:

- All fields have an individual template, making theming improvements,
  bug fixes, and bootstrap conformity easier.
- The file and line count, especially for workflows, is dramatically
  reduced. The Create Net workflow, for example, goes from 12+ files to
  2, with a big reduction in boilerplate HTML.
- All field validation messages are standardised, so we can match them
  across Horizon and plugins

What this patch contains:
- Many common form fields, including things like the themable checkboxes
  and selects.
- A basic modal template that can be passed with ui-bootstraps $modal
  service to take advantage of schema-form

Next steps:
- Remove the other modal templates so we can standardise. A single
  template opened from the $modal service is fine, and we shouldn't need
  several directives. In this case, we should deprecate them, as the
  modal forms will be used elsewhere.
- Map commonly used form items, like transfer tables, to a schema form
  type like array (they serve similar purposes, so maybe thats what
  should be replaced)
- Use themable selects instead of regular ones

1. http://schemaform.io/

Co-Authored-By: Tyr Johanson <tyr@hpe.com>
Implements: blueprint angular-schema-form
Change-Id: Ib22b2d0db2c4d4775fdef62a180cc994e8ae6280
2016-08-04 16:53:41 +00:00
..
core Merge "NG Images Create Volume should use constant from images.module.js" 2016-08-03 12:23:32 +00:00
resources Register Neutron Floating IP and Security Group names 2016-06-24 16:36:06 -06:00
tech-debt Reduce lint warnings 2016-02-25 10:28:42 +01:00
_app.scss Dynamic Themes 2016-02-25 09:49:43 -08:00
app.module.js Add Angular Schema Form 2016-08-04 16:53:41 +00:00
app.module.spec.js Only specify use of html5 locationProvider if base tag 2016-01-22 18:07:37 +00:00
redirect.controller.js Use absUrl, so WEBROOT isn't ignored on redirect 2016-06-30 10:17:46 -06:00
redirect.controller.spec.js Use absUrl, so WEBROOT isn't ignored on redirect 2016-06-30 10:17:46 -06:00