Improved webapp, still incomplete.
LocationBasedServices/mowesta/master This commit looks good

This commit is contained in:
2020-03-08 22:17:34 +01:00
parent ea4de77876
commit e984113e22
75 changed files with 2351 additions and 545 deletions
@@ -1,25 +1,7 @@
<ng-container *ngIf="visible">
<div *ngIf="color != null; then raised else flat"></div>
<ng-template #raised>
<button mat-raised-button [color]="color" [routerLink]="link" [attr.disabled]="disabled">
<div fxHide.lt-sm="true">
<mat-icon class="icon-button">{{icon}}</mat-icon>
<span>{{title}}</span>
</div>
<div fxHide.gt-xs="true" [matTooltip]="title">
<mat-icon class="icon-button">{{icon}}</mat-icon>
</div>
</button>
</ng-template>
<ng-template #flat>
<button mat-button [routerLink]="link" [attr.disabled]="disabled">
<div fxHide.lt-sm="true">
<mat-icon class="icon-button">{{icon}}</mat-icon>
<span>{{title}}</span>
</div>
<div fxHide.gt-xs="true" [matTooltip]="title">
<mat-icon class="icon-button">{{icon}}</mat-icon>
</div>
</button>
</ng-template>
<ng-container>
<span style="margin-left: 1px; margin-right: 2px;">
<a mat-icon-button [matTooltip]="tooltip" [href]="link" target="_blank" class="bg-lighter">
<i [class]="icon"></i>
</a>
</span>
</ng-container>