Skip to content
Snippets Groups Projects
Commit ceec53cb authored by Kawtar Laariche's avatar Kawtar Laariche
Browse files

#22: :lipstick: fix model details license alignment

parent bb5df9a8
No related branches found
No related tags found
No related merge requests found
...@@ -8,17 +8,15 @@ ...@@ -8,17 +8,15 @@
</div> </div>
<mat-divider></mat-divider> <mat-divider></mat-divider>
<div style="display: flex; flex-direction: column; margin: 40px; width: 100%"> <div style="display: flex; flex-direction: column; margin: 40px; width: 100%">
<div style="display: flex; flex-direction: column; width: 100%"> <div style="display: flex; flex-direction: column; width: 100%">
<!-- on boarding--> <!-- on boarding-->
<div> <div>
<gp-headline <gp-headline
[headlineTitle]="'ON-BOARD DOCKERIZED MODEL URI'" [headlineTitle]="'ON-BOARD DOCKERIZED MODEL URI'"
></gp-headline> ></gp-headline>
</div> </div>
<div style="display: flex"> <div style="display: flex; width: 100%">
<div style="display: flex; flex-direction: column; width: 100%"> <div style="display: flex; flex-direction: column; width: 100%">
<!-- onboarding model form--> <!-- onboarding model form-->
<form style="width: 100" [formGroup]="onboardingModelForm"> <form style="width: 100" [formGroup]="onboardingModelForm">
...@@ -73,7 +71,6 @@ ...@@ -73,7 +71,6 @@
<div style="display: flex; flex-direction: column; width: 100%"> <div style="display: flex; flex-direction: column; width: 100%">
<mat-label>Upload Protobuf File </mat-label> <mat-label>Upload Protobuf File </mat-label>
<div style="display: flex; width: 100%; gap: 10px"> <div style="display: flex; width: 100%; gap: 10px">
<mat-form-field style="height: 70px"> <mat-form-field style="height: 70px">
<input matInput [value]="fileName" /> <input matInput [value]="fileName" />
<mat-hint class="modal-note full-width no-padding"> <mat-hint class="modal-note full-width no-padding">
...@@ -103,7 +100,6 @@ ...@@ -103,7 +100,6 @@
@if (message !== "") { @if (message !== "") {
<span class="modal-error">.proto file is required.</span> <span class="modal-error">.proto file is required.</span>
} }
</div> </div>
<!--license profile--> <!--license profile-->
<div style="display: flex; flex-direction: column"> <div style="display: flex; flex-direction: column">
...@@ -113,17 +109,18 @@ ...@@ -113,17 +109,18 @@
(change)="onClickUpload($event)" (change)="onClickUpload($event)"
>Add License Profile</mat-checkbox >Add License Profile</mat-checkbox
> >
</div> </div>
@if ( @if (
onboardingModelForm.controls["addLicenseProfile"].value === true onboardingModelForm.controls["addLicenseProfile"].value === true
) { ) {
<div style="display: flex; width: 100%">
<gp-model-details-license-profile [isExistingLicenseProfile]="false" ></gp-model-details-license-profile> <gp-model-details-license-profile
[isExistingLicenseProfile]="false"
></gp-model-details-license-profile>
</div>
} }
<div style="display: flex"> <div style="display: flex; align-items: center; gap: 10px">
<button mat-raised-button (click)="resetData()">Reset form</button> <button mat-raised-button (click)="resetData()">Reset form</button>
<button <button
mat-raised-button mat-raised-button
...@@ -136,6 +133,7 @@ ...@@ -136,6 +133,7 @@
</div> </div>
</form> </form>
</div> </div>
<!--Later to be implemented-->
<!--onboarding history--> <!--onboarding history-->
<div></div> <div></div>
</div> </div>
......
<div class="model-details-tabwrapper"> <div class="model-details-tabwrapper">
<div class="md-intro-container spacebetween"> <div class="md-intro-container spacebetween" style="gap: 10px">
<div style="height: 100%"> <div style="height: 100%">
<h6 class="sectiontitle9">LICENSE PROFILE</h6> <h6 class="sectiontitle9">LICENSE PROFILE</h6>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment