horizon/openstack_dashboard/templates
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
..
angular Pre-populate the Angular template cache and allow template overrides 2016-07-13 15:38:07 -07:00
context_selection Pass page_url instead of whole request to render 2016-05-31 10:34:52 +00:00
header Remove default event handler from theme switch links 2016-03-10 14:57:21 +11:00
horizon Add Angular Schema Form 2016-08-04 16:53:41 +00:00
themes Dynamic Themes 2016-02-25 09:49:43 -08:00
403.html Use 'trimmed' for blocktrans with multi-line contents 2016-05-19 20:00:40 +00:00
404.html Drop Django 1.7 support 2015-11-16 11:55:38 +00:00
500.html Add optional Report Bug link to Horizon 2015-09-25 17:29:15 -07:00
_footer.html Branding: Horizon needs global footer override 2016-01-14 17:48:36 +00:00
_login_footer.html Branding: Horizon needs global footer override 2016-01-14 17:48:36 +00:00
_stylesheets.html Dynamic Themes 2016-02-25 09:49:43 -08:00
angular.html Generic details display framework 2016-05-16 11:39:57 -06:00
base.html Use breadcrumb nav across Horizon 2016-05-05 23:12:59 +00:00