Refactor timesheet logic, add initial/basic schedule view

Clearly need to be able to filter by store/department yet.
This commit is contained in:
Lance Edgar 2016-05-03 21:19:28 -05:00
parent 34482892f7
commit b718336ac2
11 changed files with 449 additions and 243 deletions

View file

@ -0,0 +1,48 @@
/**********************************************************************
* styles for time sheets / schedules
**********************************************************************/
.timesheet-header {
position: relative;
}
.timesheet-header .week-picker {
bottom: 0.5em;
position: absolute;
right: 0;
}
.timesheet-header .week-picker label {
margin-left: 1em;
}
.timesheet {
border-bottom: 1px solid black;
border-right: 1px solid black;
width: 100%;
}
.timesheet thead th,
.timesheet tbody td {
border-left: 1px solid black;
border-top: 1px solid black;
}
.timesheet tbody td {
padding: 5px;
text-align: center;
}
.timesheet tbody td.employee {
text-align: left;
}
.timesheet tbody p.shift {
display: block;
margin: 0;
}
.timesheet tbody tr.total {
font-weight: bold;
}