Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@
</mat-card-subtitle>
</mat-card-header>
<mat-card-content>
<div style="overflow-y:scroll; height:80px;margin-top: 10px;color: grey;text-align: center;">
<div class ="description" style="overflow-y:scroll; overflow-x:hidden ;height:80px;margin-top: 10px;color: grey;text-align: center;">
{{catalog.description}}
</div>
<div class="metaproperties" style="overflow-y:scroll;height:60px;margin-top: 12px;text-align: center;">
<div class="metaproperties" style="overflow-y:scroll;overflow-x:hidden ; height:60px;margin-top: 12px;text-align: center;">
<mat-chip-list>
<ng-container *ngFor="let namedMetaProperty of catalog.metaProperties | keyvalue;">
<mat-chip
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ From old alien
}


.description::-webkit-scrollbar {
background: transparent ;
}

.metaproperties::-webkit-scrollbar{
background: transparent ;
}





Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<mat-icon *ngIf="displayGraph">format_align_justify</mat-icon>
</button>
</div>
<div *ngIf="!displayGraph" class="desciption w4c-borders mat-app-background" fxFlex="100%">
<div *ngIf="!displayGraph" class="desciption w4c-borders mat-app-background">
<span>{{ overview.description }}</span>
</div>
<div *ngIf="displayGraph" class="desciption w4c-borders" fxFlex="100%">
Expand Down Expand Up @@ -40,15 +40,15 @@
</ng-container>
<ng-container matColumnDef="typeName">
<th mat-header-cell *matHeaderCellDef> Type </th>
<td mat-cell *matCellDef="let element" matTooltip="{{element.nodeType.description}}">
{{element.nodeType.elementId|w4cToscaTypeShortName}}
</td>
</ng-container>
<ng-container matColumnDef="version">
<th mat-header-cell *matHeaderCellDef> Version </th>
<td mat-cell *matCellDef="let element"
matTooltip="{{element.nodeType.archiveName}}:{{element.nodeType.archiveVersion}}">
{{element.nodeType.archiveVersion}}
<td mat-cell *matCellDef="let element" >
<div fxLayout="column">
<div matTooltip="{{element.nodeType.description}}">
{{element.nodeType.elementId|w4cToscaTypeShortName}}
</div>
<div style="font-size: 10px; color:grey;" matTooltip="{{element.nodeType.archiveName}}:{{element.nodeType.archiveVersion}}">
{{element.nodeType.archiveVersion}}
</div>
</div>
</td>
</ng-container>
<ng-container matColumnDef="icon">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.desciption {
height: 300px;
height: 320px;
overflow-y: scroll;
padding: 5px;
margin: 5px;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import {Component, Input} from '@angular/core';
import {Component, Input, ViewEncapsulation} from '@angular/core';
import {Router} from '@angular/router';
import {TopologyOverview} from "@app/core";

@Component({
selector: 'w4c-topology-overview',
templateUrl: './topology-overview.component.html',
styleUrls: ['./topology-overview.component.scss']
styleUrls: ['./topology-overview.component.scss'],
encapsulation: ViewEncapsulation.None
})
export class TopologyOverviewComponent {

Expand All @@ -15,7 +16,7 @@ export class TopologyOverviewComponent {
private router: Router) {
}

modulesDisplayedColumns = ['icon', 'nodeName', 'typeName', 'version', 'metaproperties'];
modulesDisplayedColumns = ['icon', 'nodeName', 'typeName', 'metaproperties'];

/**
* Inidicates if the graph view should be displayed.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,3 +103,9 @@ $text-primary: #428bca;
fill: white;
stroke: white;
}

.mat-tab-label {
min-width: 15px !important;
max-height: 24px !important;
font-size: 12px !important;
}