[Angular7]: Fix width on second step for laptop screens. Fix error message shown from backend.
This commit is contained in:
parent
b994842e4c
commit
fd426eff60
|
@ -1,6 +1,12 @@
|
|||
<app-stepsnvabar></app-stepsnvabar>
|
||||
<!--<app-stepsnvabar></app-stepsnvabar>
|
||||
<div id="parent">
|
||||
<app-settings id="child1" class="cm-config-settings-section"></app-settings>
|
||||
<app-resultspreview id="child2" class="cm-margin-medium-left"></app-resultspreview>
|
||||
<div style="clear: both;"></div>
|
||||
</div>-->
|
||||
<app-stepsnvabar></app-stepsnvabar>
|
||||
<div class="uk-grid uk-grid-small">
|
||||
<app-settings class="uk-width-2-5@m"></app-settings>
|
||||
<app-resultspreview class="uk-width-expand@m"></app-resultspreview>
|
||||
</div>
|
||||
<div style="clear: both;"></div>
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
<span *ngIf="documentsLoaded>0" class="uk-text uk-text-success" style="margin-top: 12px">{{documentsLoaded}} document{{documentsLoaded===1?'':'s'}} loaded</span>
|
||||
<span *ngIf="documentsLoaded<1" class="uk-text uk-text-danger" style="margin-top: 12px">No documents selected</span>
|
||||
<div class="uk-text-right uk-margin-small-top">
|
||||
<span class="uk-text-middle">or</span>
|
||||
<span class="uk-text-middle">or </span>
|
||||
<div uk-form-custom>
|
||||
<input #docupload type="file" (change)="fileChangeUpload($event);docupload.value=''" accept=".txt,.pdf">
|
||||
<span class="uk-link">Upload your documents</span>
|
||||
|
|
|
@ -15,7 +15,7 @@ export class Util {
|
|||
}
|
||||
console.log(err);
|
||||
UIkit.notification({
|
||||
message: err.message,
|
||||
message: err.error,
|
||||
status: 'danger',
|
||||
pos: 'top-center',
|
||||
timeout: 0
|
||||
|
|
Loading…
Reference in New Issue