This commit is contained in:
yamanq 2016-02-11 19:52:59 -05:00
parent fc7defd1ee
commit 919d0b9896
3 changed files with 22 additions and 18 deletions

View File

@ -68,14 +68,11 @@ h1 {
margin-left: 20% !important;
width: 100% !important;
height: 28px !important;
float: right;
}
.eachDay {
position: relative;
font-family: Lato;
color: #353535;
max-width: 30%;
background-color: #136FB5;
box-shadow: 4px 5px 3px 2px #444;
margin-left: auto;
margin-right: auto;
@ -85,10 +82,10 @@ h1 {
padding-left: 3%;
padding-right: 5%;
-webkit-transition: transform 0.5s ease;
-moz-transition: transform 0.5s ease;
-ms-transition: transform 0.5s ease;
transition: transform 0.5s ease;
-webkit-transition: transform 0.5s ease, background-color 0.5s ease;
-moz-transition: transform 0.5s ease, background-color 0.5s ease;
-ms-transition: transform 0.5s ease, background-color 0.5s ease;
transition: transform 0.5s ease, background-color 0.5s ease;
}
.eachDay:hover {
@ -101,9 +98,8 @@ h1 {
.recent {
color: #353535;
font-size: 160%;
background-color: #5BEF78;
min-width:40%;
max-width:40%;
min-width:45%;
max-width:45%;
padding-top:3%;
padding-bottom:3%;
}
@ -122,6 +118,14 @@ h1 {
padding-top:2%;
}
.AC {
background-color: #5BEF78;
}
.Health {
background-color: #136FB5;
}
.pulltab {
position:fixed;
margin-top:0%;

View File

@ -19,10 +19,12 @@
</template>
<template name="recent">
<p class="type">{{aftertext}} </p><p class="date">{{pretext}}</p>
{{#if allowed}}
<i class="fa fa-times fa-3x"></i>
{{/if}}
<div class="recent eachDay {{aftertext}}">
<p class="type">{{aftertext}} </p><p class="date">{{pretext}}</p>
{{#if allowed}}
<i class="fa fa-times fa-3x"></i>
{{/if}}
</div>
</template>
<template name="client">
@ -33,13 +35,11 @@
<div class="scheduleList">
{{#each mostrecent}}
<div class="recent eachDay">
{{> recent}}
</div>
{{/each}}
{{#each sched}}
<div class="eachDay">
<div class="eachDay {{aftertext}}">
{{> day}}
</div>
{{/each}}

View File

@ -10,7 +10,7 @@ schedule.permit(['insert', 'update', 'remove']).never().apply();
SyncedCron.add({
name: 'Remove Entries past today',
schedule: function(parser) {
return parser.recur().on('00:00:00').time();
return parser.recur().on('14:35:00').time();
},
job: function() {
var today = moment().format("X");