Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into feature/angularPag…
…eBrowserConnectivityResultSelection # Conflicts: # grails-app/i18n/messages.properties # grails-app/i18n/messages_de.properties
- Loading branch information
Showing
27 changed files
with
423 additions
and
216 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
40 changes: 7 additions & 33 deletions
40
...ce-aspect-management/performance-aspect-inspect/performance-aspect-inspect.component.html
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,47 +1,21 @@ | ||
<div class="edit-container"> | ||
<div class="aspect-type"> | ||
<blockquote> | ||
<span class="performance-aspect-type"> | ||
{{"frontend.de.iteratec.osm.performance-aspect." + performanceAspectWrapped?.data?.performanceAspectType + ".user-centric-question" | translate}} | ||
</blockquote> | ||
</span> | ||
<ng-container *ngTemplateOutlet="aspectMetricLabel"></ng-container> | ||
</div> | ||
<div class="measurand"> | ||
<div *ngIf="!editMode; else measurandSelect"> | ||
<ng-container [ngTemplateOutlet]="aspectMetricLabel"></ng-container> | ||
<div | ||
class="form-control">{{"frontend.de.iteratec.isr.measurand." + (selectedMetric$ | async)?.name | translate}}</div> | ||
</div> | ||
</div> | ||
<div class="buttons"> | ||
<div *ngIf="!performanceAspectWrapped?.isLoading"> | ||
<div *ngIf="!editMode; else saveOrCancel"> | ||
<button class="btn btn-primary edit-button" (click)="edit()"> | ||
{{"frontend.default.button.edit.label" | translate}} | ||
</button> | ||
</div> | ||
</div> | ||
|
||
<osm-measurand-select [selectedMeasurand]="metric$ | async" | ||
(onSelect)="selectMeasurandForAspect($event)"></osm-measurand-select> | ||
</div> | ||
</div> | ||
|
||
<ng-template #measurandSelect> | ||
<ng-container *ngTemplateOutlet="aspectMetricLabel"></ng-container> | ||
<osm-measurand-select [selectedMeasurand]="selectedMetric$ | async" | ||
(onSelect)="selectMeasurandForAspect($event)"></osm-measurand-select> | ||
</ng-template> | ||
|
||
<ng-template #saveOrCancel> | ||
<button class="btn btn-warning" (click)="cancel()"> | ||
{{"frontend.default.button.cancel.label" | translate}} | ||
</button> | ||
<button class="btn btn-success" (click)="save()"> | ||
{{"frontend.default.button.save.label" | translate}} | ||
</button> | ||
</ng-template> | ||
|
||
<ng-template #aspectMetricLabel> | ||
<div class="aspect-label"> | ||
{{"frontend.de.iteratec.osm.performance-aspect-metric" | translate}} | ||
<span | ||
class="text-info">{{"frontend.de.iteratec.osm.performance-aspect." + performanceAspectWrapped?.data?.performanceAspectType | translate}}</span> | ||
class="text-info">{{"frontend.de.iteratec.osm.performance-aspect." + performanceAspectWrapped?.data?.performanceAspectType + ".description" | translate}}</span> | ||
</div> | ||
</ng-template> | ||
|
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
23 changes: 16 additions & 7 deletions
23
...ard/components/performance-aspect-management/performance-aspect-management.component.html
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
27 changes: 22 additions & 5 deletions
27
...ard/components/performance-aspect-management/performance-aspect-management.component.scss
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,17 +1,34 @@ | ||
.aspect-management-modal{ | ||
max-width: 1200px; | ||
max-width: 910px; | ||
} | ||
|
||
.aspect-management-box{ | ||
display: grid; | ||
grid-template-rows: 1fr 1fr 1fr; | ||
grid-template-columns: 1fr 1fr 1fr; | ||
//grid-gap: 8px; | ||
grid-gap: 0.3em; | ||
grid-template-columns: 1fr 1fr; | ||
grid-gap: 1em; | ||
} | ||
|
||
.aspect-inspect{ | ||
grid-column-start: 1; | ||
grid-column-end: span 3; | ||
grid-column-end: span 2; | ||
} | ||
|
||
.aspect-management-modal > .nsm-content > .nsm-body { | ||
margin: 20px 20px 0 20px; | ||
} | ||
|
||
.buttons { | ||
height: 2.5em; | ||
a { | ||
float: right; | ||
width: 100px; | ||
margin: 0 5px 0 10px; | ||
} | ||
} | ||
|
||
.btn-init-dialog { | ||
cursor: pointer; | ||
font-size: 14px; | ||
color: rgb(189, 188, 188); | ||
} |
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
9 changes: 9 additions & 0 deletions
9
frontend/src/app/modules/application-dashboard/models/location.model.ts
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
export interface BrowserDto { | ||
id: number | ||
name: string | ||
} | ||
export interface LocationDto { | ||
id: Number | ||
name: string | ||
parent: BrowserDto | ||
} |
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
Oops, something went wrong.