From 1d9c108bfbaeb957893ad6b001ba4241f1b509c7 Mon Sep 17 00:00:00 2001 From: Florian Hartwich Date: Wed, 5 Apr 2017 02:43:17 +0200 Subject: [PATCH] Add model driven form form 'forms' app --- project-manager/projects-server/db.json | 10 +- project-manager/src/app/app.component.html | 3 + project-manager/src/app/app.module.ts | 4 + project-manager/src/app/app.routing.ts | 7 +- .../src/app/login/login.component.spec.ts | 5 +- .../model-driven-form.component.html | 87 +++++++++++++ .../model-driven-form.component.spec.ts | 66 ++++++++++ .../model-driven-form.component.ts | 117 ++++++++++++++++++ .../model-driven-form.routing.ts | 3 + .../src/app/models/app-validators.ts | 25 +++- .../app/services/user-service/user.service.ts | 8 ++ .../show-error-model-driven.component.ts | 61 +++++++++ .../src/app/tasks/tasks.routing.ts | 1 - 13 files changed, 384 insertions(+), 13 deletions(-) create mode 100644 project-manager/src/app/model-driven-form/model-driven-form.component.html create mode 100644 project-manager/src/app/model-driven-form/model-driven-form.component.spec.ts create mode 100644 project-manager/src/app/model-driven-form/model-driven-form.component.ts create mode 100644 project-manager/src/app/model-driven-form/model-driven-form.routing.ts create mode 100644 project-manager/src/app/services/user-service/user.service.ts create mode 100644 project-manager/src/app/show-error/show-error-model-driven.component.ts diff --git a/project-manager/projects-server/db.json b/project-manager/projects-server/db.json index 8e0ccd8..04df9ed 100644 --- a/project-manager/projects-server/db.json +++ b/project-manager/projects-server/db.json @@ -5,9 +5,9 @@ "title": "Ersten Prototyp mit Angular 2.0 entwickeln", "description": "Der Prototyp soll zeigen, wie Routing und HTTP-Anbindung umgesetzt werden können.", "tags": [], - "state": "IN_PROGRESS", + "state": "BACKLOG", "assignee": { - "name": "Christoph Höller", + "name": "Christoph Höllers", "email": "" } }, @@ -40,18 +40,18 @@ "change_settings": true }, { - "id" : 302, + "id": 302, "name": "user_edit", "password": "ea847988ba59727dbf4e34ee75726dc3", "edit_tasks": true, "change_settings": false }, { - "id" : 303, + "id": 303, "name": "user", "password": "5ebe2294ecd0e0f08eab7690d2a6ee69", "edit_tasks": false, "change_settings": false } ] -} +} \ No newline at end of file diff --git a/project-manager/src/app/app.component.html b/project-manager/src/app/app.component.html index 10b7a87..e9cc263 100644 --- a/project-manager/src/app/app.component.html +++ b/project-manager/src/app/app.component.html @@ -31,6 +31,9 @@
  • Blog
  • +
  • + Model Form +