Skip to content

Commit

Permalink
Merge pull request #427 from kac89/dev
Browse files Browse the repository at this point in the history
up
  • Loading branch information
kac89 authored Oct 7, 2024
2 parents 5d1b860 + 5c7ec96 commit 085e161
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/app/import-report/import-report.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ <h1 class="mat-headline-3">
</mat-card-header>

<mat-card-content>
<input cdkFocusInitial type="file" accept=".vulnr" (change)="onFileSelect($event.target)" name="myfiles" multiple>
<button mat-raised-button color="primary" (click)="importreports.click()" title="Import reports">
<mat-icon class="vertical-align-middle padding-bottom-3">playlist_add</mat-icon> Import
</button>
<input hidden type="file" accept=".vulnr" #importreports (change)="onFileSelect($event.target)" name="myfiles" multiple />

</mat-card-content>

</mat-card>
Expand All @@ -38,7 +42,7 @@ <h1 class="mat-headline-3">
</mat-card-content>

<mat-card-actions>
<button (click)="importfromclipboard(pastefromclipboard)" mat-raised-button color="accent"><mat-icon class="vertical-align-middle padding-bottom-3 size-25">playlist_add</mat-icon> Import</button>
<button (click)="importfromclipboard(pastefromclipboard)" mat-raised-button color="primary"><mat-icon class="vertical-align-middle padding-bottom-3 size-25">playlist_add</mat-icon> Import</button>
</mat-card-actions>


Expand Down

0 comments on commit 085e161

Please sign in to comment.