mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 21:06:06 +00:00
Merge branch 'developer' of https://bitbucket.org/equilibriumito/gabinete-digital into developer
This commit is contained in:
@@ -46,12 +46,12 @@
|
|||||||
</ion-row>
|
</ion-row>
|
||||||
<ion-row class="ion-align-items-center">
|
<ion-row class="ion-align-items-center">
|
||||||
|
|
||||||
<button *ngIf="profile == 'mdgpr' " (click)="changeProfile()" class="right-icons d-md-none btn-no-color">
|
<button *ngIf="profile == 'mdgpr' " (click)="changeProfile()" class="d-md-none btn-no-color">
|
||||||
<ion-icon src="assets/images/icons-profile-calendar-md.svg">ddddddd</ion-icon>
|
<ion-icon class="right-icons" src="assets/images/icons-profile-calendar-md.svg"></ion-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button *ngIf="profile == 'pr' " (click)="changeProfile()" class="btn-no-color">
|
<button *ngIf="profile == 'pr' " (click)="changeProfile()" class="btn-no-color">
|
||||||
<ion-icon class="right-icons d-md-none" src="assets/images/icons-profile-calendar-pr.svg">dddddddd</ion-icon>
|
<ion-icon class="right-icons d-md-none" src="assets/images/icons-profile-calendar-pr.svg"></ion-icon>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
<button class="btn-no-color" (click)="viewEventsToApprove()" *ngIf="loggeduser.Profile == 'MDGPR'">
|
<button class="btn-no-color" (click)="viewEventsToApprove()" *ngIf="loggeduser.Profile == 'MDGPR'">
|
||||||
@@ -109,14 +109,12 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="calendar-border">
|
<div class="calendar-border">
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<!-- Calendar currente date -->
|
<!-- Calendar currente date -->
|
||||||
<ion-row class="timeline-header ion-justify-content-between ion-align-items-center currente-date-timelien pb-5">
|
<ion-row class="timeline-header ion-justify-content-between ion-align-items-center currente-date-timelien pb-5">
|
||||||
<ion-row class="timeline-date align-center">
|
<ion-row class="timeline-date align-center">
|
||||||
@@ -164,7 +162,7 @@
|
|||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div class="timeline-wrapper flex-grow-1" >
|
<div class="timeline-wrapper flex-grow-1 height-100" >
|
||||||
<!-- Progress bar -->
|
<!-- Progress bar -->
|
||||||
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
<ion-refresher name="refresher" slot="fixed" (ionRefresh)="doRefresh($event)">
|
||||||
<ion-refresher-content>
|
<ion-refresher-content>
|
||||||
@@ -172,8 +170,8 @@
|
|||||||
</ion-refresher>
|
</ion-refresher>
|
||||||
|
|
||||||
<!-- Timeline -->
|
<!-- Timeline -->
|
||||||
<div>
|
<div class="height-100">
|
||||||
<div class="timeline-container d-flex py-20" >
|
<div class="timeline-container height-100 d-flex pt-20 pl-20" >
|
||||||
|
|
||||||
<!-- <div [ngSwitch]="view" class="ss-timeline timeline-mobile flex-grow-1 d-md-none">
|
<!-- <div [ngSwitch]="view" class="ss-timeline timeline-mobile flex-grow-1 d-md-none">
|
||||||
<mwl-calendar-day-view
|
<mwl-calendar-day-view
|
||||||
@@ -215,10 +213,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<div class="ss-timeline timeline-mobile flex-grow-1 d-md-none text-black pl-20" >
|
<div class="ss-timeline hide-scroll timeline-mobile flex-grow-1 d-md-none text-black height-100 overflow-y-auto" >
|
||||||
<div *ngFor="let events of TimelineMDList | keyvalue;" >
|
<div *ngFor="let events of TimelineMDList | keyvalue;" >
|
||||||
|
|
||||||
<div >
|
<div *ngIf="CalendarCurrentDay <= events.key">
|
||||||
<div class="day mt-10">
|
<div class="day mt-10">
|
||||||
{{ TimelineDayEvent(events.key)}}
|
{{ TimelineDayEvent(events.key)}}
|
||||||
</div>
|
</div>
|
||||||
@@ -256,10 +254,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="fs-timeline flex-grow-1 d-none d-md-block d-md-block text-black pl-20 pr-20" *ngIf="loggeduser.Profile == 'MDGPR'">
|
<div class="fs-timeline hide-scroll flex-grow-1 d-none d-md-block d-md-block text-black pr-20 height-100 mr-md-20 overflow-y-auto" *ngIf="loggeduser.Profile == 'MDGPR'">
|
||||||
<div *ngFor="let events of TimelineMDList | keyvalue;" >
|
<div *ngFor="let events of TimelineMDList | keyvalue;" >
|
||||||
|
|
||||||
<div >
|
<div *ngIf="CalendarCurrentDay <= events.key">
|
||||||
<div class="day mt-10">
|
<div class="day mt-10">
|
||||||
{{ TimelineDayEvent(events.key)}}
|
{{ TimelineDayEvent(events.key)}}
|
||||||
</div>
|
</div>
|
||||||
@@ -294,10 +292,10 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="sd-timeline flex-grow-1 d-none d-md-block timeline-md text-black pr-20" >
|
<div class="sd-timeline hide-scroll flex-grow-1 d-none d-md-block timeline-md text-black pr-20 height-100 overflow-y-auto" >
|
||||||
<div *ngFor="let events of TimelinePRList | keyvalue;">
|
<div *ngFor="let events of TimelinePRList | keyvalue;">
|
||||||
|
|
||||||
<div >
|
<div *ngIf="CalendarCurrentDay <= events.key">
|
||||||
|
|
||||||
<div class="day mt-10">
|
<div class="day mt-10">
|
||||||
{{ TimelineDayEvent(events.key)}}
|
{{ TimelineDayEvent(events.key)}}
|
||||||
|
|||||||
@@ -605,8 +605,8 @@ td.monthview-primary-with-event {
|
|||||||
|
|
||||||
.timeline-wrapper{
|
.timeline-wrapper{
|
||||||
width: 100%;
|
width: 100%;
|
||||||
overflow: scroll;
|
overflow: auto;
|
||||||
overflow-x: hidden;
|
// overflow-x: hidden;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -699,6 +699,3 @@ app-approve-event{
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -378,6 +378,12 @@ export class AgendaPage implements OnInit {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
get CalendarCurrentDay () {
|
||||||
|
|
||||||
|
console.log(this.viewDate.getDate(), '0_0')
|
||||||
|
return this.viewDate.getDate()
|
||||||
|
}
|
||||||
|
|
||||||
// for timeline
|
// for timeline
|
||||||
timelineIsCurrentDate(): Boolean {
|
timelineIsCurrentDate(): Boolean {
|
||||||
return momentG(new Date(),'dd MMMM yyyy', 'pt') == momentG(this.eventSelectedDate,'dd MMMM yyyy', 'pt');
|
return momentG(new Date(),'dd MMMM yyyy', 'pt') == momentG(this.eventSelectedDate,'dd MMMM yyyy', 'pt');
|
||||||
|
|||||||
@@ -16,7 +16,6 @@ ion-menu{
|
|||||||
.main-header{
|
.main-header{
|
||||||
font-family: Roboto;
|
font-family: Roboto;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
overflow:hidden;
|
|
||||||
color:#000;
|
color:#000;
|
||||||
transform: translate3d(0, 1px, 0);
|
transform: translate3d(0, 1px, 0);
|
||||||
|
|
||||||
@@ -29,7 +28,6 @@ ion-menu{
|
|||||||
width: 37px;
|
width: 37px;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
.middle{
|
.middle{
|
||||||
//width: 230px;
|
//width: 230px;
|
||||||
@@ -208,7 +206,6 @@ ion-menu{
|
|||||||
width: 37px;
|
width: 37px;
|
||||||
float: right;
|
float: right;
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.buttons{
|
.buttons{
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ export class ApproveEventPage implements OnInit {
|
|||||||
private animationController: AnimationController,
|
private animationController: AnimationController,
|
||||||
private toastService: ToastService,
|
private toastService: ToastService,
|
||||||
) {
|
) {
|
||||||
|
|
||||||
this.activatedRoute.queryParams.subscribe(params => {
|
this.activatedRoute.queryParams.subscribe(params => {
|
||||||
if(params["serialNumber"]) {
|
if(params["serialNumber"]) {
|
||||||
this.serialNumber = params["serialNumber"];
|
this.serialNumber = params["serialNumber"];
|
||||||
|
|||||||
@@ -77,6 +77,7 @@ export class LoginPage implements OnInit {
|
|||||||
this.username.trim().length > 0
|
this.username.trim().length > 0
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
validatePassword() {
|
validatePassword() {
|
||||||
return (
|
return (
|
||||||
this.password.trim().length > 0
|
this.password.trim().length > 0
|
||||||
|
|||||||
@@ -50,6 +50,7 @@ export class ApproveEventPage implements OnInit {
|
|||||||
private animationController: AnimationController
|
private animationController: AnimationController
|
||||||
) {
|
) {
|
||||||
// $$$
|
// $$$
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ ion-menu{
|
|||||||
width: 37px;
|
width: 37px;
|
||||||
float: left;
|
float: left;
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
.middle{
|
.middle{
|
||||||
padding: 0 0 0 10px !important;
|
padding: 0 0 0 10px !important;
|
||||||
@@ -54,7 +54,7 @@ ion-menu{
|
|||||||
padding: 1px !important;
|
padding: 1px !important;
|
||||||
top: 0 !important;
|
top: 0 !important;
|
||||||
margin: 0 !important;
|
margin: 0 !important;
|
||||||
overflow: hidden;
|
|
||||||
}
|
}
|
||||||
.div-icon .edit{
|
.div-icon .edit{
|
||||||
font-size: 35px;
|
font-size: 35px;
|
||||||
|
|||||||
@@ -748,3 +748,96 @@ ion-icon{
|
|||||||
height: 300px;
|
height: 300px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media only screen and (min-width: 500px) {
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Track */
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: #f1f1f1;
|
||||||
|
border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-ms-border-radius: 5px;
|
||||||
|
-o-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: #888;
|
||||||
|
border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-ms-border-radius: 5px;
|
||||||
|
-o-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle on hover */
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgb(92, 92, 92);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@media only screen and (min-width: 800px) {
|
||||||
|
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Track */
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: #f1f1f1;
|
||||||
|
border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-ms-border-radius: 5px;
|
||||||
|
-o-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background: #888;
|
||||||
|
border-radius: 5px;
|
||||||
|
-webkit-border-radius: 5px;
|
||||||
|
-moz-border-radius: 5px;
|
||||||
|
-ms-border-radius: 5px;
|
||||||
|
-o-border-radius: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle on hover */
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background: rgb(92, 92, 92);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
.hide-scroll::-webkit-scrollbar {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Track */
|
||||||
|
.hide-scroll::-webkit-scrollbar-track {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle */
|
||||||
|
.hide-scroll::-webkit-scrollbar-thumb {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Handle on hover */
|
||||||
|
.hide-scroll::-webkit-scrollbar-thumb:hover {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user