3 ~ ============LICENSE_START=======================================================
4 ~ Copyright (C) 2022 Nordix Foundation.
5 ~ ================================================================================
6 ~ Licensed under the Apache License, Version 2.0 (the "License");
7 ~ you may not use this file except in compliance with the License.
8 ~ You may obtain a copy of the License at
10 ~ http://www.apache.org/licenses/LICENSE-2.0
12 ~ Unless required by applicable law or agreed to in writing, software
13 ~ distributed under the License is distributed on an "AS IS" BASIS,
14 ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ~ See the License for the specific language governing permissions and
16 ~ limitations under the License.
18 ~ SPDX-License-Identifier: Apache-2.0
19 ~ ============LICENSE_END=========================================================
22 <div class="sdc-workspace-container">
23 <loader [display]="isLoading"></loader>
24 <div class="w-sdc-main-container">
25 <app-workspace-menu [menuHeader]="dataType.name"
26 (onMenuUpdate)="onMenuUpdate($event)"
27 (onClick)="onMenuClick($event)">
30 <div class="w-sdc-main-right-container">
31 <div class="sdc-workspace-top-bar">
32 <div class="progress-container">
34 <div class="sdc-workspace-top-bar-buttons">
35 <span class="sprite-new x-btn" (click)="goToBreadcrumbHome()" sdc-smart-tooltip="Close" [title]="'CLOSE_LABEL' | translate"></span>
39 <div class="w-sdc-main-container-body-content-wrapper">
40 <div class="w-sdc-main-container-body-content-header">
41 <div class="workspace-tab-title">
45 <div class="w-sdc-main-container-body-content" *ngIf="dataType">
46 <app-type-workspace-general *ngIf="currentMenu.state === 'general'" [dataType]="dataType"></app-type-workspace-general>
47 <app-type-workspace-properties *ngIf="currentMenu.state === 'properties'" [dataType]="dataType" [isViewOnly]="false"></app-type-workspace-properties>
48 <app-type-workspace-tosca-artifact *ngIf="currentMenu.state === 'tosca_artifacts'" [dataType]="dataType"></app-type-workspace-tosca-artifact>
55 <top-nav [hideSearch]="true" [menuModel]="breadcrumbsModel" [version]="sdcVersion" [unsavedChanges]="false"></top-nav>