Skip to content

Commit

Permalink
Changed icon
Browse files Browse the repository at this point in the history
  • Loading branch information
softwaremagico committed Nov 14, 2023
1 parent 72f4876 commit 63a4f4f
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 12 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
[![GitHub commit activity](https://img.shields.io/github/commit-activity/y/softwaremagico/KendoTournamentManager)](https://github.com/softwaremagico/KendoTournamentManager)
[![GitHub last commit](https://img.shields.io/github/last-commit/softwaremagico/KendoTournamentManager)](https://github.com/softwaremagico/KendoTournamentManager)
[![CircleCI](https://circleci.com/gh/softwaremagico/KendoTournamentManager.svg?style=shield)](https://circleci.com/gh/softwaremagico/KendoTournamentManager)
[![Time](https://img.shields.io/badge/development-517.5h-blueviolet.svg)]()
[![Time](https://img.shields.io/badge/development-518h-blueviolet.svg)]()

[![Powered by](https://img.shields.io/badge/powered%20by%20java-orange.svg?logo=OpenJDK&logoColor=white)]()
[![Vulnerabilities](https://sonarcloud.io/api/project_badges/measure?project=kendo-tournament-backend&metric=vulnerabilities)](https://sonarcloud.io/summary/new_code?id=kendo-tournament-backend)
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/app/components/icons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ export class IconModule {
.addSvgIcon("brackets", this.setPath(`${this.path}/brackets.svg`))
.addSvgIcon("unfinish", this.setPath(`${this.path}/unfinish.svg`))
.addSvgIcon("clone", this.setPath(`${this.path}/clone.svg`))
.addSvgIcon("oneWinner", this.setPath(`${this.path}/oneWinner.svg`))
.addSvgIcon("twoWinners", this.setPath(`${this.path}/twoWinners.svg`));
.addSvgIcon("one-winner", this.setPath(`${this.path}/one-winner.svg`))
.addSvgIcon("two-winners", this.setPath(`${this.path}/two-winners.svg`))
.addSvgIcon("zip-file", this.setPath(`${this.path}/zip-file.svg`));
}

private setPath(url: string): SafeResourceUrl {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
[matTooltipShowDelay]="500"
color="primary" mat-button
matTooltip="{{'winnerNumber' | translate}}">
<mat-icon class="kendo-icon" svgIcon="oneWinner"></mat-icon>
<mat-icon class="kendo-icon" svgIcon="one-winner"></mat-icon>
</button>
<button (click)="deleteGroup()" *ngIf="(RbacActivity.DELETE_GROUP | rbac : this.rbacService.activities)"
[disabled]="groupsDisabled || (tournament && tournament.locked)"
Expand All @@ -38,7 +38,7 @@
[matTooltipShowDelay]="500"
color="primary" mat-button
matTooltip="{{'winnerNumber' | translate}}">
<mat-icon class="kendo-icon" svgIcon="twoWinners"></mat-icon>
<mat-icon class="kendo-icon" svgIcon="two-winners"></mat-icon>
</button>
<mat-divider [vertical]="true"></mat-divider>
<button (click)="askToRemoveAllTeams()"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,13 @@
matTooltip="{{'titleStatistics' | translate}}">
<mat-icon>bar_chart</mat-icon>
</button>
<button (click)="downloadZip()" *ngIf="(RbacActivity.READ_ALL_RANKINGS | rbac : this.rbacService.activities)"
[disabled]="!basicTableData.selectedElement"
[matTooltipShowDelay]="500"
color="primary" mat-button
matTooltip="{{'tournamentListAsZip' | translate}}">
<mat-icon class="kendo-icon" svgIcon="zip-file"></mat-icon>
</button>
<button (click)="downloadBlogCode()" *ngIf="(RbacActivity.READ_ALL_RANKINGS | rbac : this.rbacService.activities)"
[disabled]="!basicTableData.selectedElement" [matTooltipShowDelay]="500"
color="primary" mat-button
Expand All @@ -96,13 +103,6 @@
matTooltip="{{'diplomasHint' | translate}}">
<mat-icon class="kendo-icon" svgIcon="diplomas"></mat-icon>
</button>
<button (click)="downloadZip()" *ngIf="(RbacActivity.READ_ALL_RANKINGS | rbac : this.rbacService.activities)"
[disabled]="!basicTableData.selectedElement"
[matTooltipShowDelay]="500"
color="primary" mat-button
matTooltip="{{'tournamentListAsZip' | translate}}">
<mat-icon>folder_zip</mat-icon>
</button>
</div>
</div>
</div>
File renamed without changes
File renamed without changes
20 changes: 20 additions & 0 deletions frontend/src/assets/icons/zip-file.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 63a4f4f

Please sign in to comment.