-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
128 additions
and
50 deletions.
There are no files selected for viewing
Binary file modified
BIN
+0 Bytes
(100%)
src/EngagementOrganizer.API/EngagementOrganizer.API/EngagementOrganizer.db
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,9 @@ | |
|
||
*{ | ||
font-family: "Segoe UI"; | ||
} | ||
|
||
.theme-wrapper{ | ||
height: 100%; | ||
margin: 0 1% 0 1%; | ||
} |
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
2 changes: 1 addition & 1 deletion
2
src/EngagementOrganizer.SPA/src/app/calendar/calendar.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
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
8 changes: 5 additions & 3 deletions
8
src/EngagementOrganizer.SPA/src/app/customer-view/customer-view.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,8 +1,10 @@ | ||
<div *ngFor="let cus of customers" [ngStyle]="getCustomerStyle(cus)" class="customer-tile"> | ||
<div *ngFor="let cus of getCustomersWithAppointmentInYear()" [ngStyle]="getCustomerStyle(cus)" class="customer-tile"> | ||
<div> | ||
<b>({{cus.shortDescription}}) - {{cus.name}}</b> | ||
<div class="action-customer"><button (click)="customerSelectedForEdit.emit(cus)" mat-raised-button color="basic">EDIT</button> | ||
<div class="action-customer"><button (click)="customerSelectedForEdit.emit(cus)" mat-raised-button | ||
color="basic">EDIT</button> | ||
</div> | ||
</div> | ||
<span [innerHTML]="getCustomerSummary(cus)"></span> | ||
</div> | ||
</div> | ||
<div *ngIf="getCustomersWithAppointmentInYear()?.length==0">No customer's appointments for the selcted year</div> |
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
17 changes: 8 additions & 9 deletions
17
src/EngagementOrganizer.SPA/src/app/home/home.component.scss
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,19 +1,18 @@ | ||
.warning-view{ | ||
display: inline-block; | ||
color:red; | ||
font-size: 13px; | ||
margin-left: 10px; | ||
} | ||
|
||
.calendar-container{ | ||
text-align: center; | ||
height: 91%; | ||
} | ||
|
||
.header{ | ||
height: 65px; | ||
padding: 0px 10px 0px 10px; | ||
height: 6%; | ||
padding: 0px 0px; | ||
overflow: hidden; | ||
} | ||
|
||
.calendar-option{ | ||
float:right; | ||
} | ||
|
||
.calendar-app{ | ||
height: 45%; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
$event-font-size:1.4vh; | ||
$event-height:2.0vh; | ||
$event-height:37.6%; | ||
$header-font-size:1.0vw; | ||
$month-font-size:1.05vw; | ||
$day-label-font-size:1.6vh; | ||
$day-label-height:1.7vh; | ||
$row-header-height:4vh; | ||
$row-height:5.8vh; | ||
$util-width: 2.6vw; | ||
$row-height:7.6%; | ||
$util-width: 3%; | ||
$util-font-size:1.1vw; | ||
$cell-border-size:0.5px; | ||
$year-month-col-width:2.7vw; | ||
$calendar-margin-width:0.5vw; | ||
$day-width:((100vw - $year-month-col-width - $util-width - ($calendar-margin-width * 2))/37); | ||
$year-month-col-width:3%; | ||
$day-width:((100% - $year-month-col-width - $util-width)/37); |
6 changes: 6 additions & 0 deletions
6
src/EngagementOrganizer.SPA/src/app/warning-resume/warning-resume.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<span class="warning-view"> | ||
<b>WARNINGS:</b> | ||
<div *ngFor="let warn of warnings"> | ||
{{warn.startDate | date: 'dd/MM/yyyy'}} - {{warn.type.description}} - {{warn.warningDescription}} - {{warn.customer.name}} | ||
</div> | ||
</span> |
7 changes: 7 additions & 0 deletions
7
src/EngagementOrganizer.SPA/src/app/warning-resume/warning-resume.component.scss
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
.warning-view{ | ||
display: inline-block; | ||
color:red; | ||
font-size: 17px; | ||
margin-left: 10px; | ||
font-weight: bold; | ||
} |
23 changes: 23 additions & 0 deletions
23
src/EngagementOrganizer.SPA/src/app/warning-resume/warning-resume.component.ts
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import { Inject } from '@angular/core'; | ||
import { Component, OnInit } from '@angular/core'; | ||
import { MAT_DIALOG_DATA } from '@angular/material/dialog'; | ||
import { AppointmentExtraInfo } from '../api/EngagementOrganizerApiClient/model/models'; | ||
|
||
@Component({ | ||
selector: 'app-warning-resume', | ||
templateUrl: './warning-resume.component.html', | ||
styleUrls: ['./warning-resume.component.scss'] | ||
}) | ||
export class WarningResumeComponent implements OnInit { | ||
|
||
constructor(@Inject(MAT_DIALOG_DATA) public data: { warnings: Array<AppointmentExtraInfo> }) { | ||
this.warnings = this.data.warnings; | ||
} | ||
|
||
ngOnInit(): void { | ||
|
||
} | ||
|
||
warnings: Array<AppointmentExtraInfo>; | ||
|
||
} |
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,8 +1,10 @@ | ||
|
||
body | ||
body,html | ||
{ | ||
margin: 0; | ||
font-family: 'Segoe UI'; | ||
height: 100%; | ||
overflow: hidden; | ||
} | ||
|
||
.year-box{ | ||
|