-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug-fixed: cds-action-reply-frame preview component not update UI aft…
…er frame is loaded
- Loading branch information
Gabriele Panico
committed
Nov 2, 2023
1 parent
fda0f79
commit db09871
Showing
11 changed files
with
137 additions
and
211 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
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
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
79 changes: 48 additions & 31 deletions
79
...o/cds-dashboard/cds-canvas/base-elements/element-from-url/element-from-url.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,38 +1,55 @@ | ||
<div class="row-upload"> | ||
<div class="response-image-uploader-overlay"> | ||
|
||
<div class="form-group"> | ||
<label class="control-label"> | ||
{{ 'Add path' | translate }} | ||
</label> | ||
<input type = "text" | ||
[(ngModel)] = "pathElement" | ||
class="input form-control"/> | ||
</div> | ||
|
||
<button | ||
type="button" | ||
class="btn btn-primary cds-blue-button" | ||
(click)="onLoadPathElement()"> | ||
{{ 'load frame' | translate }} | ||
</button> | ||
<div *ngIf="!metadata.src" class="response-frame-panel"> | ||
<div class="row-upload"> | ||
<div class="response-image-uploader-overlay"> | ||
|
||
<div class="form-group"> | ||
<label class="control-label"> | ||
{{ 'Add path' | translate }} | ||
</label> | ||
<input type = "text" | ||
[(ngModel)] = "pathElement" | ||
class="input form-control"/> | ||
</div> | ||
|
||
<button | ||
type="button" | ||
class="btn btn-primary cds-blue-button" | ||
(click)="onLoadPathElement()"> | ||
{{ 'load frame' | translate }} | ||
</button> | ||
</div> | ||
|
||
</div> | ||
|
||
|
||
<!-- <div class="row-dimension"> | ||
<div class="row-info"> | ||
<span class="control-label">{{ 'width' | translate }}:</span> | ||
<input [(ngModel)] = "widthElement" type="text" class="input ng-untouched ng-pristine ng-valid"> | ||
</div> | ||
<div class="row-info"> | ||
<span class="control-label">{{ 'height' | translate }}:</span> | ||
<input [(ngModel)] = "heightElement" type="text" class="input ng-untouched ng-pristine ng-valid"> | ||
</div> | ||
</div> --> | ||
</div> | ||
|
||
|
||
|
||
|
||
<!-- <div class="row-dimension"> | ||
<div class="row-info"> | ||
<span class="control-label">{{ 'width' | translate }}:</span> | ||
<input [(ngModel)] = "widthElement" type="text" class="input ng-untouched ng-pristine ng-valid"> | ||
<div *ngIf="metadata.src" class="content-frame"> | ||
<iframe | ||
id="contentFrame" | ||
#iframe allowfullscreen | ||
style= "border:none;" | ||
[width]="widthElement" | ||
[height]="heightElement" | ||
[src]="sanitizerUrl()"> | ||
</iframe> | ||
|
||
<div class="control-button delete" (click)="onDeletePathElement()"> | ||
<em class="material-icons">clear</em> | ||
</div> | ||
<div class="row-info"> | ||
<span class="control-label">{{ 'height' | translate }}:</span> | ||
<input [(ngModel)] = "heightElement" type="text" class="input ng-untouched ng-pristine ng-valid"> | ||
</div> | ||
</div> --> | ||
</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
Oops, something went wrong.