From b4f596d6398c1a5d0b2d7d5b3018f3e8ff99a460 Mon Sep 17 00:00:00 2001 From: annampak Date: Wed, 1 Nov 2017 17:42:01 +0200 Subject: [PATCH] toc responsive --- dmp-frontend/src/app/datasets/dataset.html | 8 ++++---- dmp-frontend/src/app/dmps/dmp.component.ts | 4 ++++ dmp-frontend/src/app/dmps/dmps.html | 14 +++++++------- .../src/app/form/dynamic-form.component.html | 6 +++--- 4 files changed, 18 insertions(+), 14 deletions(-) diff --git a/dmp-frontend/src/app/datasets/dataset.html b/dmp-frontend/src/app/datasets/dataset.html index 8ffe6586f..490077f35 100644 --- a/dmp-frontend/src/app/datasets/dataset.html +++ b/dmp-frontend/src/app/datasets/dataset.html @@ -25,10 +25,7 @@ Label - - - Status - + Uri @@ -38,6 +35,9 @@ Description + + Status + Actions diff --git a/dmp-frontend/src/app/dmps/dmp.component.ts b/dmp-frontend/src/app/dmps/dmp.component.ts index b4f981f99..b4d2a5948 100644 --- a/dmp-frontend/src/app/dmps/dmp.component.ts +++ b/dmp-frontend/src/app/dmps/dmp.component.ts @@ -55,6 +55,7 @@ export class DmpComponent implements OnInit{ @Input() dmpCount = 0; @Input() projectsDropDown:DropdownField; @Input() dataSetVisibe:boolean; + @Input() statusDropDown: DropdownField; //@Input() projects: Project[]; dmpIdforDatasets: string; dmpLabelforDatasets:string; @@ -73,6 +74,9 @@ export class DmpComponent implements OnInit{ private router: Router){ this.projectsDropDown = new DropdownField(); this.projectsDropDown.options = []; + this.statusDropDown = new DropdownField(); + this.statusDropDown.options =[]; + this.statusDropDown.options= [{key:'0', value:"active"},{key:'1', value:"inactive"}] //this.projects = []; this.dmpTableVisible = false; this.dataSetVisibe = false; diff --git a/dmp-frontend/src/app/dmps/dmps.html b/dmp-frontend/src/app/dmps/dmps.html index 14e01277d..b5fd6449a 100644 --- a/dmp-frontend/src/app/dmps/dmps.html +++ b/dmp-frontend/src/app/dmps/dmps.html @@ -99,12 +99,12 @@ - +
+ + +
@@ -115,7 +115,7 @@
- +

Table of contents: