diff --git a/scheduleac/client/client.css b/scheduleac/client/client.css index 33f4ef3..d4dac93 100644 --- a/scheduleac/client/client.css +++ b/scheduleac/client/client.css @@ -18,6 +18,7 @@ body { h1 { font-family: Lato; font-size: 300%; + margin-left: 4.2%; } #date { @@ -62,10 +63,12 @@ h1 { .login-display-name { display: none !important; } + .login-button { margin-left: 20% !important; width: 100% !important; height: 28px !important; + float: right; } .eachDay { position: relative; @@ -97,8 +100,12 @@ h1 { .recent { color: #353535; + font-size: 160%; background-color: #5BEF78; - max-width:30%; + min-width:40%; + max-width:40%; + padding-top:3%; + padding-bottom:3%; } .scheduleList { diff --git a/scheduleac/client/client.html b/scheduleac/client/client.html index acd4ce0..500826f 100644 --- a/scheduleac/client/client.html +++ b/scheduleac/client/client.html @@ -59,13 +59,15 @@ {{/if}}
-

Developed by Yaman Qalieh and Kenny Jao

+

Developed by Yaman Qalieh

+

Visuals by Kenny Jao

Github
\ No newline at end of file diff --git a/scheduleac/client/client.js b/scheduleac/client/client.js index e1e5f0d..ce0b7bd 100644 --- a/scheduleac/client/client.js +++ b/scheduleac/client/client.js @@ -16,7 +16,7 @@ Template.client.helpers({ mostrecent: function() { return schedule.find({}, {sort: {timestamp: 1}, limit: 1}).fetch(); - }, + } }); @@ -161,28 +161,7 @@ function getScale(index, start) { Template.phone.helpers({ - pretext: function() { - cole = schedule.find({}, {sort: {timestamp: 1}}).fetch(); - date = moment(cole[currentcard].pretext); - date = date.calendar(null, { - sameDay: '[Today]', - nextDay: '[Tomorrow]', - nextWeek: 'dddd', - lastDay: '[Yesterday]', - lastWeek: '[Last] dddd', - sameElse: 'DD/MM/YYYY' - }); - return date - }, - - aftertext: function() { - cole = schedule.find({}, {sort: {timestamp: 1}}).fetch(); - return cole[currentcard].aftertext; - } -}); - -Template.phone.events({ - 'click nextb': function() { - currentcard += 1; + phone: function() { + return schedule.find({}, {sort: {timestamp: 1}, limit: 1}).fetch(); } }); diff --git a/scheduleac/server/serve.js b/scheduleac/server/serve.js index f317408..0d844eb 100644 --- a/scheduleac/server/serve.js +++ b/scheduleac/server/serve.js @@ -1,7 +1,7 @@ var allowed = {}; allowed["ybq987@gmail.com"] = true; allowed["dweinger@bloomfield.org"] = true; -allowed["ksjdragon@gmail.com"] = true; +//allowed["ksjdragon@gmail.com"] = true; schedule.permit(['insert', 'update', 'remove']).never().apply();