This commit is contained in:
romankko2 committed 2023-10-20 17:19:37 +02:00
1 parent 9534b7fdc2
commit ad4f2b26c4
3 files changed
+18 -9

No files matched your search

+10 -6
View File
@@ -179,7 +179,9 @@ $splits-headers-height: 1.5em;
color: #999; color: #999;
text-align: right; text-align: right;
font-size: 0.9em; font-size: 0.9em;
background: white; // background: white;
// remove -v
padding-right: 2px;
} }
.vuecal__time-cell-line:before { .vuecal__time-cell-line:before {
@@ -187,13 +189,15 @@ $splits-headers-height: 1.5em;
position: absolute; position: absolute;
left: 0; left: 0;
right: 0; right: 0;
border-top: 1px solid #F5F5F5; // remove -v
border-top: 1px solid rgba(196, 196, 196, 0.3);
// border-top: 1px solid #F5F5F5;
z-index: -1; z-index: -1;
} }
//add -v
.vuecal__time-cell-line.hour:before { // .vuecal__time-cell-line.hour:before {
border-top: 1px solid #e0e0e0; // border-top: 1px solid #e0e0e0;
} // }
} }
// Calendar cells. // Calendar cells.
@@ -51,7 +51,11 @@
</template> </template>
<template v-slot:time-cell="{ hours, minutes }"> <template v-slot:time-cell="{ hours, minutes }">
<span class="d-flex justify-center"> <span class="d-flex align-center justify-center">
<p>{{hours}}:{{String(minutes).padStart(2, '0')}}</p>
<div class="time-column-line"></div>
</span>
<!-- <span class="d-flex justify-center">
<span class="d-flex justify-center"> <span class="d-flex justify-center">
<p style="margin-top: -9px">{{hours}}:{{String(minutes).padStart(2, '0')}}</p> <p style="margin-top: -9px">{{hours}}:{{String(minutes).padStart(2, '0')}}</p>
<div class="time-column-line"></div> <div class="time-column-line"></div>
@@ -61,7 +65,7 @@
<span class="vuecal__time-cell-line" style="margin-top: 25px"></span> <span class="vuecal__time-cell-line" style="margin-top: 25px"></span>
<span class="vuecal__time-cell-line" style="margin-top: 50px"></span> <span class="vuecal__time-cell-line" style="margin-top: 50px"></span>
<span class="vuecal__time-cell-line" style="margin-top: 75px"></span> <span class="vuecal__time-cell-line" style="margin-top: 75px"></span>
</span> </span> -->
</template> </template>
<template v-slot:event="{ event }"> <template v-slot:event="{ event }">
@@ -224,7 +224,8 @@ export default {
this.subtask = { master_task: mastertask, employees: [{}], _deadline_time: '17:00' } this.subtask = { master_task: mastertask, employees: [{}], _deadline_time: '17:00' }
if (subtask?.deadline && subtask._deadline_time && subtask.employee_id) { if (subtask?.deadline && subtask._deadline_time && subtask.employee_id) {
this.subtask.employee_id = subtask.employee_id const employee = this.enrichedEmployees.find(employee => employee.id == subtask.employee_id)
this.subtask.employees = [employee]
this.subtask.deadline = subtask.deadline this.subtask.deadline = subtask.deadline
this.subtask._deadline_time = subtask._deadline_time this.subtask._deadline_time = subtask._deadline_time
} }