-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #71 from e-picsa/feat/budget-sharing
Feat/budget sharing
- Loading branch information
Showing
46 changed files
with
670 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
apps/picsa-apps/extension-app/src/assets/images/budget-create.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions
7
apps/picsa-tools/budget-tool/src/app/components/balance/balance-dot-value/dot-value.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
<img | ||
<div | ||
class="dot-value-image" | ||
*ngFor="let counter of counterAllocation" | ||
[src]="'assets/budget-icons/' + counter.img + '.png'" | ||
/> | ||
[innerHtml]="svgIcons[counter.icon]" | ||
></div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
apps/picsa-tools/budget-tool/src/app/components/import-dialog/import-dialog.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<form class="input-container"> | ||
<mat-form-field | ||
class="input-field" | ||
*ngFor="let char of importCode; let i = index" | ||
appearance="outline" | ||
> | ||
<input | ||
matInput | ||
[(ngModel)]="char.value" | ||
[id]="char.name" | ||
[name]="char.name" | ||
class="input" | ||
maxlength="1" | ||
minlength="1" | ||
oninput="this.value = this.value.toUpperCase()" | ||
(keyup)="handleKeyup($event, i)" | ||
(keydown)="handleKeydown($event, i)" | ||
(paste)="handlePaste($event)" | ||
/> | ||
</mat-form-field> | ||
</form> | ||
<div class="status-message">{{ status }}</div> | ||
|
||
<div mat-dialog-actions> | ||
<button mat-button mat-dialog-close>{{ 'Close' | translate }}</button> | ||
<button | ||
mat-button | ||
(click)="handleImport()" | ||
[disabled]="importValue.length !== 4 || disabled" | ||
> | ||
Import | ||
</button> | ||
</div> |
25 changes: 25 additions & 0 deletions
25
apps/picsa-tools/budget-tool/src/app/components/import-dialog/import-dialog.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
.input-container { | ||
display: grid; | ||
grid-template-columns: 1fr 1fr 1fr 1fr; | ||
gap: 8px; | ||
} | ||
mat-form-field.input-field { | ||
width: 55px; | ||
} | ||
mat-form-field.input-field .mat-form-field-wrapper { | ||
padding-bottom: 0; | ||
background-color: yellow; | ||
} | ||
input { | ||
font-size: 32px; | ||
} | ||
|
||
.status-message { | ||
height: 1em; | ||
line-height: 1em; | ||
text-align: center; | ||
color: var(--color-primary); | ||
padding: 8px; | ||
border-radius: 4px; | ||
margin-bottom: -12px; | ||
} |
Oops, something went wrong.