crowbar/barclamp-crowbar — pull request #609 by cloudedge (2013-07-17 02:17:21+00:00)
Title: Add UI (and tests) for deployments and snapshots [1/1]

This pull improves the deployments page with drill down to snapshots and roles

The snapshot UI page is setup to create a node-role table (but we don't have enough working yet).

I've also updated the erlang simulator dev:pop() to use the latest bdd_crud code.

BDD tests cover the new pages and test the links between them.

BDD/bdd_crud.erl | 5 +++
BDD/bdd_restrat.erl | 2 +-
BDD/dev.erl | 44 +++-----------------
BDD/features/deployment.feature | 8 +++-
BDD/features/role.feature | 10 +++++
BDD/features/snapshot.feature | 17 ++++++++
.../app/controllers/deployments_controller.rb | 2 +-
.../app/controllers/snapshots_controller.rb | 17 +++++++-
.../app/views/deployments/index.html.haml | 11 +++--
crowbar_framework/app/views/roles/index.html.haml | 3 +-
crowbar_framework/app/views/roles/show.html.haml | 3 ++
.../app/views/snapshots/index.html.haml | 2 +-
.../app/views/snapshots/show.html.haml | 14 +++++++
crowbar_framework/config/locales/crowbar/en.yml | 5 +++
14 files changed, 96 insertions(+), 47 deletions(-)

Crowbar-Pull-ID: 276f0e1a3716376355ffe0e0411339acfdd85686

Crowbar-Release: development