Commit c9657170 authored by Kostis Trantzas's avatar Kostis Trantzas
Browse files

Removed vinni related items (closes #10)

parent f6db52be
Loading
Loading
Loading
Loading
Loading
+501 −201

File changed.

Preview size limit exceeded, changes collapsed.

+1 −4
Original line number Diff line number Diff line
@@ -71,7 +71,6 @@ import { CacheSearchParametersService } from './p_services/admin/shared/cache-se
import { PortalsComponent } from './landing/portals/portals.component';
import { AppService } from './shared/services/app.service';
import { CloneGstTemplateComponent } from './p_services/admin/catalogManagement/edit-service-specs/clone-gst-template/clone-gst-template.component';
import { CloneVinniTemplateComponent } from './p_services/admin/catalogManagement/edit-service-specs/clone-vinni-template/clone-vinni-template.component';
import { PageNotFoundComponent } from './shared/components/page-not-found/page-not-found.component';

import { ListOrganizationsComponent } from './shared/components/partyManagement/list-organizations/list-organizations.component';
@@ -106,7 +105,6 @@ export function initializeAppTheme(bootstrap: BootstrapService) {
    LandingComponent,
    PortalsComponent,
    CloneGstTemplateComponent,
    CloneVinniTemplateComponent,
    PageNotFoundComponent,
    RedirectComponent
  ],
@@ -140,8 +138,7 @@ export function initializeAppTheme(bootstrap: BootstrapService) {
    { provide: OWL_DATE_TIME_LOCALE, useValue: 'en-GB'}
  ],
  entryComponents: [
    CloneGstTemplateComponent,
    CloneVinniTemplateComponent
    CloneGstTemplateComponent
  ],
  bootstrap: [AppComponent]
})
+0 −48
Original line number Diff line number Diff line
<div class="container">

        <h4 mat-dialog-title class="row shadowed mb-3">
            <i class="far fa-copy mr-2"></i>
            <span>Create New VINNI-SB Template</span>
        </h4>
    
        <form [formGroup]="paramsForm">
            <mat-dialog-content>
                <div class="row">
                    <mat-form-field class="col-12">
                        <mat-label>Name of the cloned VINNI-SB Template</mat-label>
                        <input matInput formControlName="serviceName">
                        <mat-error>* Required field</mat-error>
                    </mat-form-field>
        
                    <!-- <mat-form-field class="col-12">
                        <mat-label>Service Specifications to include in Bundle</mat-label>
                        <mat-select formControlName="serviceSpecsToInclude" multiple>
                            <mat-select-trigger>
                                {{paramsForm.controls.serviceSpecsToInclude.value?.length}} Service Specs
                            </mat-select-trigger>
                            <mat-option *ngFor="let spec of availableSpecs" [value]="spec.value">{{spec.display}}</mat-option>
                        </mat-select>
                    </mat-form-field> -->

                    
                    
                    
                </div>

                <h6 class="my-3">Select Service Specifications to include in Bundle</h6> 
                <div *ngFor="let spec of paramsForm.controls.serviceSpecsToInclude['controls'] let i=index" >
                    <mat-checkbox color="primary" type="checkbox" [formControl]="spec">
                        {{availableSpecs[i].display}}
                    </mat-checkbox>
                </div>
            </mat-dialog-content>
        </form>
        
        <div class="container-fluid">
            <div class="row justify-content-end">
                <button type="button" class="btn btn-danger m-2" (click)="closeDialog()">Cancel</button>
                <button type="submit" class="btn btn-success m-2" (click)="submitDialog()">Submit</button>
            </div>
        </div>
    
    </div>
 No newline at end of file
+0 −0

Empty file deleted.

+0 −25
Original line number Diff line number Diff line
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { CloneVinniTemplateComponent } from './clone-vinni-template.component';

describe('CloneVinniTemplateComponent', () => {
  let component: CloneVinniTemplateComponent;
  let fixture: ComponentFixture<CloneVinniTemplateComponent>;

  beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [ CloneVinniTemplateComponent ]
    })
    .compileComponents();
  }));

  beforeEach(() => {
    fixture = TestBed.createComponent(CloneVinniTemplateComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
Loading