Skip to content
This repository has been archived by the owner on Aug 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #34 from leaphy-robotics/development
Browse files Browse the repository at this point in the history
Add download drivers button
  • Loading branch information
koen1711 authored Sep 13, 2023
2 parents 70420c2 + 45bbbfc commit 4c0357b
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/modules/core/components/header/header.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@
<mat-icon>article</mat-icon>
<span>{{ "VIEW_LOG" | translate }}</span>
</button>

<a mat-menu-item id="download_drivers" href="https://github.com/leaphy-robotics/leaphy-webbased/archive/refs/heads/executables.zip">
<mat-icon>download</mat-icon>
<span>{{ "DOWNLOAD_DRIVERS" | translate }}</span>
</a>
</mat-menu>

<mat-menu #languageMenu="matMenu" class="matmenus">
Expand Down
14 changes: 14 additions & 0 deletions src/app/modules/core/components/header/header.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,20 @@ button {
vertical-align: top;
}

#download_drivers {
font-size: 12px;
font-weight: normal;
border-radius: 20px;
padding: 5px 15px; /* Added padding to buttons */

mat-icon {
color: var(--leaphy-color-primary);
margin-right: 5px;
}


}

[mat-flat-button] {
background-color: var(--leaphy-color-secundary);
border: none;
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"PROJECT": "My projects",
"HELP": "Tips",
"HELP_FORUM": "Leaphy Discord (Help forum)",
"DOWNLOAD_DRIVERS": "Download drivers",
"MORE": "More...",
"MORE_ABOUT": "About Easybloqs",
"UPLOAD": "Upload to robot",
Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/nl.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"PROJECT": "Mijn projecten",
"HELP": "Tips",
"HELP_FORUM": "Leaphy Discord (Help Forum)",
"DOWNLOAD_DRIVERS": "Download drivers",
"MORE": "Meer...",
"MORE_ABOUT": "Over Easybloqs",
"UPLOAD": "Upload naar robot",
Expand Down

0 comments on commit 4c0357b

Please sign in to comment.