-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove references to matomo / opt-out -> opt-in, general element sele…
…ctor style improvements
- Loading branch information
Showing
8 changed files
with
29 additions
and
32 deletions.
There are no files selected for viewing
10 changes: 5 additions & 5 deletions
10
src/app/modules/shared/components/color-theme-toggler/color-theme-toggler.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<button | ||
(click)="ths.toggleLightDark()" | ||
*ngIf="ths.activeTheme; else themeNotLoadedYet" | ||
pButton | ||
class="p-button p-button-text p-button-outline" | ||
[attr.aria-label]="ths.darkMode ? 'Switch to light mode' : 'Switch to dark mode'" | ||
[icon]="ths.activeTheme.icon" | ||
(click)="ths.toggleLightDark()" | ||
[pTooltip]="ths.darkMode ? 'Switch to light mode' : 'Switch to dark mode'" | ||
[attr.aria-label]="ths.darkMode ? 'Switch to light mode' : 'Switch to dark mode'" | ||
class="p-button p-button-text p-button-outline" | ||
pButton | ||
></button> | ||
<ng-template #themeNotLoadedYet> | ||
<jm-loading-spinner [showMessage]="false" [useDots]="false"></jm-loading-spinner> | ||
<jm-loading-spinner [showMessage]="false" [useDots]="false"/> | ||
</ng-template> |
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
4 changes: 2 additions & 2 deletions
4
src/app/modules/shared/components/header/header.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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<p-menubar class="app-header" [model]="items"> | ||
<p-menubar [model]="items" class="app-header"> | ||
<ng-template pTemplate="end"> | ||
<jm-color-theme-toggler></jm-color-theme-toggler> | ||
<jm-color-theme-toggler/> | ||
</ng-template> | ||
</p-menubar> |
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
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