This is an automated email from the ASF dual-hosted git repository.
riemer pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampipes.git
The following commit(s) were added to refs/heads/dev by this push:
new ac37be8 [hotfix] Minor layout improvements in adapter started dialog
ac37be8 is described below
commit ac37be85ea7e32aa3f1f52e6f6cc9586e6cca707
Author: Dominik Riemer <[email protected]>
AuthorDate: Tue Feb 23 20:52:26 2021 +0100
[hotfix] Minor layout improvements in adapter started dialog
---
.../adapter-started-dialog.component.html | 31 +++++++++++++---------
.../adapter-started-dialog.component.scss | 9 ++++++-
2 files changed, 26 insertions(+), 14 deletions(-)
diff --git
a/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.html
b/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.html
index 65210e0..4673930 100644
---
a/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.html
+++
b/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.html
@@ -23,27 +23,29 @@
<mat-spinner fxLayoutAlign="center" style="margin: 10px 0 5px
0" >Loading</mat-spinner>
</div>
<div fxLayoutAlign="center">
- <h3>Please wait while your new adapter is being generated!</h3>
+ <h3>Please wait while your new adapter is being
generated...</h3>
</div>
</div>
<div fxLayout="column" *ngIf="adapterInstalled">
<div *ngIf="adapterStatus.success">
- The adapter was created successfully. You can now switch to
the pipeline editor to create a pipeline based on your new element!
-
+ <div *ngIf="!isSetAdapter && !isTemplate">
+ <div class="success-message" fxFlex="100"
fxLayoutAlign="center center" fxLayout="row">
+ <i class="material-icons">done</i>
+ <span> Your new data stream is now available in
the pipeline editor.</span>
+ </div>
+ </div>
<div *ngIf="isSetAdapter">
- <div fxLayout="column">
- <div fxLayoutAlign="center" >
- <h3>Data Set adapter created. Data will be
streamed once a pipeline is started!</h3>
- </div>
+ <div class="success-message" fxFlex="100"
fxLayoutAlign="center center" fxLayout="row">
+ <i class="material-icons">done</i>
+ <span> Your new data set is now available in the
pipeline editor.</span>
</div>
</div>
<div *ngIf="isTemplate">
- <div fxLayout="column">
- <div fxLayoutAlign="center" >
- <h3>Template created. You or other users can now
create adapters based on this template!</h3>
- </div>
+ <div class="success-message" fxFlex="100"
fxLayoutAlign="center center" fxLayout="row">
+ <i class="material-icons">done</i>
+ <span>Template created. You or other users can now
create adapters based on this template.</span>
</div>
</div>
@@ -53,7 +55,10 @@
</div>
<div *ngIf="!adapterStatus.success">
- Something went wrong during the adapter installation.
+ <div class="success-message" fxFlex="100"
fxLayoutAlign="center center" fxLayout="row">
+ <i class="material-icons">error</i>
+ <span>Something went wrong during the adapter
installation.</span>
+ </div>
</div>
</div>
</div>
@@ -62,4 +67,4 @@
<button id="confirm_adapter_started_button" class="mat-basic"
mat-raised-button (click)="onCloseConfirm()">Close
</button>
</div>
-</div>
\ No newline at end of file
+</div>
diff --git
a/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.scss
b/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.scss
index d25ee74..f9f664a 100644
---
a/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.scss
+++
b/ui/src/app/connect/dialog/adapter-started/adapter-started-dialog.component.scss
@@ -16,4 +16,11 @@
*
*/
-@import 'src/scss/sp/sp-dialog';
\ No newline at end of file
+@import 'src/scss/sp/sp-dialog';
+
+.success-message {
+ text-align: center;
+ font-size: 14pt;
+ margin-top: 20px;
+ margin-bottom: 20px;
+}