aboutsummaryrefslogtreecommitdiffstats
path: root/sdc-workflow-designer-ui/src/app/components/menus
diff options
context:
space:
mode:
authorLvbo163 <lv.bo163@zte.com.cn>2017-09-01 14:31:04 +0800
committerLvbo163 <lv.bo163@zte.com.cn>2017-09-01 14:31:04 +0800
commitb45d377a6114b2e3f6bcfbbaee1ce9668b91e0aa (patch)
tree3d12edc17843fa21dc1e9715897d5e60271e9392 /sdc-workflow-designer-ui/src/app/components/menus
parente0597dc5b0a3718aa3b5991a65096c609d23dba2 (diff)
support setting microservice info
support setting microservice info for workflow Issue-ID: SDC-266 Change-Id: I8c6ad2a95f63a86db0789f9c400be38131404b66 Signed-off-by: Lvbo163 <lv.bo163@zte.com.cn>
Diffstat (limited to 'sdc-workflow-designer-ui/src/app/components/menus')
-rw-r--r--sdc-workflow-designer-ui/src/app/components/menus/menu.component.css19
-rw-r--r--sdc-workflow-designer-ui/src/app/components/menus/menu.component.html20
-rw-r--r--sdc-workflow-designer-ui/src/app/components/menus/menu.component.spec.ts36
-rw-r--r--sdc-workflow-designer-ui/src/app/components/menus/menu.component.ts33
4 files changed, 0 insertions, 108 deletions
diff --git a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.css b/sdc-workflow-designer-ui/src/app/components/menus/menu.component.css
deleted file mode 100644
index 2fa48afa..00000000
--- a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.css
+++ /dev/null
@@ -1,19 +0,0 @@
-/**
- * Copyright (c) 2017 ZTE Corporation.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * and the Apache License 2.0 which both accompany this distribution,
- * and are available at http://www.eclipse.org/legal/epl-v10.html
- * and http://www.apache.org/licenses/LICENSE-2.0
- *
- * Contributors:
- * ZTE - initial API and implementation and/or initial documentation
- */
-
-.btn-right{
- float: right;
-}
-
-button i{
- padding-right: 3px;
-}
diff --git a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.html b/sdc-workflow-designer-ui/src/app/components/menus/menu.component.html
deleted file mode 100644
index edee3618..00000000
--- a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!--
-/**
- * Copyright (c) 2017 ZTE Corporation.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * and the Apache License 2.0 which both accompany this distribution,
- * and are available at http://www.eclipse.org/legal/epl-v10.html
- * and http://www.apache.org/licenses/LICENSE-2.0
- *
- * Contributors:
- * ZTE - initial API and implementation and/or initial documentation
- */
--->
-
-<div class="btn-right">
- <button type="button" class="btn white" (click)="save()" [disabled]="!canSave">
- <i class="fa fa-save"></i>Save
- </button>
- <!-- <button type="button" class="btn white" (click)="test()">test</button> -->
-</div>
diff --git a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.spec.ts b/sdc-workflow-designer-ui/src/app/components/menus/menu.component.spec.ts
deleted file mode 100644
index 52f2c772..00000000
--- a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.spec.ts
+++ /dev/null
@@ -1,36 +0,0 @@
-/**
- * Copyright (c) 2017 ZTE Corporation.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * and the Apache License 2.0 which both accompany this distribution,
- * and are available at http://www.eclipse.org/legal/epl-v10.html
- * and http://www.apache.org/licenses/LICENSE-2.0
- *
- * Contributors:
- * ZTE - initial API and implementation and/or initial documentation
- */
-import { async, ComponentFixture, TestBed } from '@angular/core/testing';
-
-import { MenuComponent } from './menu.component';
-
-describe('MenuComponent', () => {
- let component: MenuComponent;
- let fixture: ComponentFixture<MenuComponent>;
-
- beforeEach(async(() => {
- TestBed.configureTestingModule({
- declarations: [ MenuComponent ]
- })
- .compileComponents();
- }));
-
- beforeEach(() => {
- fixture = TestBed.createComponent(MenuComponent);
- component = fixture.componentInstance;
- fixture.detectChanges();
- });
-
- it('should be created', () => {
- expect(component).toBeTruthy();
- });
-});
diff --git a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.ts b/sdc-workflow-designer-ui/src/app/components/menus/menu.component.ts
deleted file mode 100644
index 347f1a24..00000000
--- a/sdc-workflow-designer-ui/src/app/components/menus/menu.component.ts
+++ /dev/null
@@ -1,33 +0,0 @@
-/**
- * Copyright (c) 2017 ZTE Corporation.
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * and the Apache License 2.0 which both accompany this distribution,
- * and are available at http://www.eclipse.org/legal/epl-v10.html
- * and http://www.apache.org/licenses/LICENSE-2.0
- *
- * Contributors:
- * ZTE - initial API and implementation and/or initial documentation
- */
-import { Component, OnInit, ViewChild } from '@angular/core';
-
-import { WorkflowService } from '../../services/workflow.service';
-
-@Component({
- selector: 'b4t-menu',
- templateUrl: './menu.component.html',
- styleUrls: ['./menu.component.css']
-})
-export class MenuComponent {
-
- public canSave = true;
-
- constructor(private workflowService: WorkflowService) { }
-
- public save(): void {
- this.workflowService.save();
- }
-
- public test() {
- }
-}