fix agenda colors

This commit is contained in:
Peter Maquiran
2022-10-06 11:12:03 +01:00
parent 1e8c5c3720
commit 42005b731b
6 changed files with 31 additions and 5 deletions
+1
View File
@@ -29,6 +29,7 @@ export interface CustomCalendarEvent {
end: Date
id: string
event: EventList
profile?: any
}
-1
View File
@@ -248,7 +248,6 @@
<div class="timeline-container height-100 d-flex pt-20 pl-20 pl-20 filter-{{segment}}" >
<div class="ss-timeline timeline-mobile flex-grow-1 d-md-none text-black height-100 width-100 overflow-y-auto" >
<div *ngFor="let events of TimelineMDList | keyvalue;" >
<div class="EventListBox-container" >
+28
View File
@@ -582,6 +582,34 @@ td.monthview-primary-with-event {
}
.myCalendar {
.content--Oficial {
border-radius: 5px;
border-right: 5px solid #ffb703;
overflow: auto;
}
.content--Pessoal {
border-radius: 5px;
border-right: 5px solid #f05d5e;
overflow: auto;
}
}
.sharedCalendar {
.content-Oficial{
width: 85%;
float: left;
border-left: 4px solid #cab0dc;
padding: 0 0 0 12px;
}
.content-Pessoal{
width: 85%;
float: left;
border-left: 4px solid #cbeecb;
padding: 0 0 0 12px;
}
}
.calendar-border{
background: #ebebeb;
margin: 13px 20px;
+1 -3
View File
@@ -808,8 +808,6 @@ export class AgendaPage implements OnInit {
this.addEventToDB(response, "md");
let eventsList = response;
console.log('response', response);
this.CalendarStore.removeRange(startTime, endTime, 'md')
@@ -820,7 +818,7 @@ export class AgendaPage implements OnInit {
this.TimelineMDList = this.listBoxService.list(this.listToPresent, 'md', this.rangeStartDate, this.rangeEndDate, { segment: this.segment, selectedDate: this.eventSelectedDate })
console.log('this.TimelineMDList', this.TimelineMDList);
// console.log('this.TimelineMDList', this.TimelineMDList);
this.myCal.update();
this.myCal.loadEvents();
@@ -179,6 +179,7 @@ export class ListBoxService {
end: new Date(element.endTime),
id: element.id,
event: element.event,
profile: profile
});
});
@@ -290,7 +290,6 @@ export class ChatSystemService {
* @description subscribe all room
*/
subscribeToRoom() {
console.log("=====>>subscribeToRoom<<=====");
for (const id in this.dm) {
this.defaultSubtribe(id)