- Integrate combined profile events at home

-Added another button to change profile
This commit is contained in:
Tiago Kayaya
2020-11-20 10:55:51 +01:00
parent 5ef476f8a1
commit b3d709037a
24 changed files with 464 additions and 89 deletions
+13 -5
View File
@@ -10,13 +10,21 @@
</ion-label>
</ion-item>
<ion-buttons slot="end">
<label class="switch">
<!-- <label class="switch">
<input type="checkbox" id="togBtn">
<div (click)="showAlert()">
<div (click)="changeProfile()">
<div class="slider round">
<!--ADDED HTML --><span class="mdgpr">MDGPR</span></div><span class="pr">PR</span><!--END-->
<span class="mdgpr">MDGPR</span><span class="pr">PR</span>
</div>
</label>
</div>
</label> -->
<div class="toggleBox">
<div (click)="changeProfile()" class="toggle">
<input type="checkbox">
<label for="" class="onbtn">PR</label>
<label for="" class="ofbtn">MD</label>
</div>
</div>
</ion-buttons>
</ion-toolbar>
<ion-toolbar>
@@ -65,7 +73,7 @@
<ion-item-group>
<ion-item-sliding>
<ion-item lines="none"
*ngFor="let event of eventsList"
*ngFor="let event of combinedEvents"
[routerLink]="['/home/events', event.EventId, 'events']">
<div class="div-item-{{event.CalendarName}}">
<div class="div-up">