mirror of
https://dev.azure.com/hugendubel/ISA/_git/ISA-Frontend
synced 2025-12-31 09:37:15 +01:00
Merged PR 849: #2196 Reservieren InStock Loading Spinner and Styling
#2196 Reservieren InStock Loading Spinner and Styling
This commit is contained in:
committed by
Günther Schmidlehner
parent
f0a4006ef0
commit
aef54b9f83
@@ -73,8 +73,10 @@
|
||||
</div>
|
||||
<div class="extended-informations">
|
||||
<div *ngIf="showInStock" class="item-stock">
|
||||
<ui-icon icon="home" size="1.25rem"></ui-icon> <span>{{ getInStock(item?.product?.ean) }} x</span>
|
||||
<ui-icon icon="home" size="22px"></ui-icon>
|
||||
<span>{{ getInStock(item?.product?.ean) }}x</span>
|
||||
</div>
|
||||
<ui-spinner *ngIf="showInStock === null" [show]="true"></ui-spinner>
|
||||
<div class="item-data-selector">
|
||||
<ui-select-bullet *ngIf="selectable" [ngModel]="selected" (ngModelChange)="setSelected($event)"></ui-select-bullet>
|
||||
</div>
|
||||
|
||||
@@ -86,13 +86,23 @@
|
||||
|
||||
.extended-informations {
|
||||
@apply flex flex-col h-24;
|
||||
|
||||
ui-spinner {
|
||||
@apply p-4;
|
||||
margin-left: 1.3rem;
|
||||
}
|
||||
}
|
||||
|
||||
.item-stock {
|
||||
@apply flex flex-row justify-end items-center;
|
||||
|
||||
ui-icon {
|
||||
@apply text-ucla-blue;
|
||||
}
|
||||
|
||||
span {
|
||||
@apply ml-2 font-bold text-lg;
|
||||
@apply ml-1 font-bold text-lg;
|
||||
padding-top: 5px;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -9,9 +9,19 @@ import { PipesModule } from '../pipes/pipes.module';
|
||||
import { UiSelectBulletModule } from '@ui/select-bullet';
|
||||
import { FormsModule } from '@angular/forms';
|
||||
import { UiQuantityDropdownModule } from '@ui/quantity-dropdown';
|
||||
import { UiSpinnerModule } from 'apps/ui/spinner/src/lib/ui-spinner.module';
|
||||
|
||||
@NgModule({
|
||||
imports: [CommonModule, UiIconModule, ProductImageModule, PipesModule, UiSelectBulletModule, FormsModule, UiQuantityDropdownModule],
|
||||
imports: [
|
||||
CommonModule,
|
||||
UiIconModule,
|
||||
ProductImageModule,
|
||||
PipesModule,
|
||||
UiSelectBulletModule,
|
||||
FormsModule,
|
||||
UiQuantityDropdownModule,
|
||||
UiSpinnerModule,
|
||||
],
|
||||
exports: [GoodsInOutOrderGroupComponent, GoodsInOutOrderGroupItemComponent],
|
||||
declarations: [GoodsInOutOrderGroupComponent, GoodsInOutOrderGroupItemComponent],
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user