Merge branch 'zgo-test' of https://gitlab.com/pitmutt/zgo into zgo-test

This commit is contained in:
Rene V. Vergara A. 2022-07-20 10:18:12 -05:00
commit 3815f94204
8 changed files with 29 additions and 25 deletions

View file

@ -36,7 +36,7 @@ p.price{
} }
.buttons-class-cart{ .buttons-class-cart{
background-color: #ff4700; background-color: #ff4722;
color: white; color: white;
font-size: 18px; font-size: 18px;
font-weight: 700; font-weight: 700;
@ -47,3 +47,12 @@ p.price{
justify-content: center; justify-content: center;
cursor: pointer; cursor: pointer;
} }
.availableItems{
background: lightblue;
font-family: Roboto Mono;
font-size: 18px;
font-weight: 700;
text-align: left;
margin: 5px;
}

View file

@ -1,4 +1,7 @@
<div *ngIf="items.length > 0"> <div *ngIf="items.length > 0">
<div class="availableItems" >
Available Items:
</div>
<div class="card" *ngFor="let item of itemsUpdate | async"> <div class="card" *ngFor="let item of itemsUpdate | async">
<mat-card> <mat-card>
<table cellspacing="0" width="100%" > <table cellspacing="0" width="100%" >

View file

@ -23,7 +23,7 @@ import { ItemAddComponent } from '../item-add/item-add.component';
export class ItemListComponent implements OnInit{ export class ItemListComponent implements OnInit{
@Input() zecPrice: number = 1; @Input() zecPrice: number;
public items: Item[] = []; public items: Item[] = [];
@ -75,6 +75,7 @@ export class ItemListComponent implements OnInit{
this.items = items; this.items = items;
}); });
}); });
this.zecPrice = 1;
} }
ngOnInit(){ ngOnInit(){

View file

@ -51,7 +51,7 @@ img.icon{
} }
.buttons-class { .buttons-class {
background-color: #ff4700; background-color: #ff4722;
color: white; color: white;
font-weight: 700; font-weight: 700;
height: 25px !important; height: 25px !important;

View file

@ -123,7 +123,3 @@
--> -->
</div> </div>
</mat-card> </mat-card>
<div class="availableItems" >
Available Items:
</div>

View file

@ -1,18 +1,18 @@
@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap'); * {
font-family: Spartan;
}
.settings-title { .settings-title {
font-family: Roboto Mono; font-family: Spartan;
background: #ff4700; background: #ff4722;
color: white; color: white;
font-size: 30px; font-size: 30px;
font-weight: 700;
text-align: center; text-align: center;
margin-bottom: 15px; padding: 5px;
height: 40px;
justify-content: center;
} }
.settings_field { .settings_field {
width: 100%; width: 100%;
font-family: Spartan;
} }

View file

@ -17,6 +17,8 @@
align-items: center; align-items: center;
margin-top: 12px; margin-top: 12px;
margin-bottom: 12px; margin-bottom: 12px;
font-weight: 500;
color: white;
} }
.small{ .small{

View file

@ -10,22 +10,15 @@
</div> </div>
</div> </div>
<div class="main-buttons"> <div class="main-buttons">
<button mat-raised-button <button mat-raised-button color="primary"
style="background: #ff4700;
font-weight: 700;
color: white;"
[routerLink]="['/orders']"> [routerLink]="['/orders']">
View Orders View Orders
</button> </button>
<button mat-raised-button <button mat-raised-button color="primary"
style="background: #ff4700;
color: white;"
class="text" (click)="openSettings()"> class="text" (click)="openSettings()">
<mat-icon class="icon">manage_accounts</mat-icon> <mat-icon class="icon">manage_accounts</mat-icon>
</button> </button>
<a mat-raised-button <a mat-raised-button color="primary"
style="background: #ff4700;
color: white;"
href="https://zgo.cash/" href="https://zgo.cash/"
target="_blank" target="_blank"
rel="noopener noreferrer"> rel="noopener noreferrer">
@ -41,7 +34,7 @@
<table cellspacing="0" width="75%"> <table cellspacing="0" width="75%">
<tr> <tr>
<td> <td>
<app-item-list></app-item-list> <app-item-list [zecPrice]="price"></app-item-list>
</td> </td>
<td> <td>
<app-order></app-order> <app-order></app-order>