-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DSP-1110 Improve resource viewer (#336)
* style(workspace): Fix general resource viewer style * style(workspace): Clean up style, code and bug fixes
- Loading branch information
André Kilchenmann
authored
Nov 25, 2020
1 parent
5cca7dc
commit f070d4d
Showing
5 changed files
with
31 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
<button mat-stroked-button class="previousBtn" (click)="goBack()"> | ||
<mat-icon>arrow_back</mat-icon> | ||
Back | ||
</button> | ||
<div class="content large middle"> | ||
<dsp-resource-view [iri]="resourceIri" (openProject)="openProject($event)"></dsp-resource-view> | ||
<dsp-resource-view [iri]="resourceIri" (openProject)="openProject($event)" (referredResourceClicked)="openResource($event)" ></dsp-resource-view> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<div class="content" *ngIf="searchParams" style="margin-top: 20px; height: 100vh;"> | ||
<div class="content" *ngIf="searchParams"> | ||
<as-split direction="horizontal"> | ||
<as-split-area [size]="40"> | ||
<dsp-list-view [search]="searchParams" (resourceSelected)="openResource($event)"></dsp-list-view> | ||
</as-split-area> | ||
<as-split-area [size]="60"> | ||
<dsp-resource-view [iri]="resourceIri" (openProject)="openProject($event)"></dsp-resource-view> | ||
<!-- <dsp-resource-view [iri]="resourceIri" (openProject)="openProject($event)"></dsp-resource-view> --> | ||
<app-resource [resourceIri]="resourceIri"></app-resource> | ||
</as-split-area> | ||
</as-split> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
@import "../../../assets/style/config"; | ||
|
||
.content { | ||
height: calc(100vh - #{$header-height}); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters