-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Update with Angular material #200
base: material
Are you sure you want to change the base?
Conversation
src/app/dash/dash.component.html
Outdated
<button mat-stroked-button (click)="addTransaction()" class="btn btn-primary ms-auto"> | ||
<fa-icon [fixedWidth]="true" [icon]="faAdd"></fa-icon> | ||
<span class="ms-1">Transaction</span> | ||
</a> | ||
</button> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove bootstrap classes
@@ -10,6 +10,7 @@ import { BsDropdownModule } from 'ngx-bootstrap/dropdown'; | |||
import { ModalModule } from 'ngx-bootstrap/modal'; | |||
import { DashRoutingModule } from './dash-routing.module'; | |||
import { DashComponent } from './dash.component'; | |||
import {MatButtonModule} from "@angular/material/button"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix formatting
<div class="card-header">Select Filters</div> | ||
<div class="card-body"> | ||
<p>Filter what transactions you want to include for exporting.</p> | ||
<mat-card class="card h-100 pb-3"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why you need card class in mat-card
<button mat-flat-button (click)="submit(option)" | ||
*ngFor="let option of options; let first = first" | ||
[class.mt-2]="!first" | ||
class="btn btn-primary w-100"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove bootstrap classes
<a class="btn btn-dark w-100" routerLink="../pages">Mange Public Pages</a> | ||
</div> | ||
</div> | ||
<a mat-flat-button-button class="btn btn-dark w-100" routerLink="../pages">Mange Public Pages</a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove bootstrap classes
<mat-error *ngIf="form.error.quantity"> | ||
{{ form.error.quantity[0] }} | ||
</mat-error> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might get in one line
<mat-error *ngIf="form.error.price"> | ||
{{ form.error.price[0] }} | ||
</mat-error> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might get in one line
<mat-error *ngIf="form.error.wallet"> | ||
{{ form.error.wallet[0] }} | ||
</mat-error> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might get in one line
<mat-error *ngIf="form.error.category"> | ||
{{ form.error.category[0] }} | ||
</mat-error> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might get in one line
<mat-error *ngIf="form.error.amount"> | ||
{{ form.error.amount[0] }} | ||
</mat-error> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
might get in one line
@include mat.elevation(8, $opacity: 0.5); | ||
} | ||
|
||
.mat-card-custom { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's use .mat-elevation-z0
Add Wallet modal page
Name input is clicked
Name input invalid
Initial balance input is clicked
Archive slide is active