diff --git a/chromebook-checkout-meteor/.meteor/packages b/chromebook-checkout-meteor/.meteor/packages index 0f57d4b..fe726f5 100644 --- a/chromebook-checkout-meteor/.meteor/packages +++ b/chromebook-checkout-meteor/.meteor/packages @@ -14,5 +14,4 @@ fortawesome:fontawesome templates:tabs accounts-ui percolate:momentum -maazalik:malihu-jquery-custom-scrollbar ongoworks:security diff --git a/chromebook-checkout-meteor/.meteor/versions b/chromebook-checkout-meteor/.meteor/versions index 9a178d1..facc849 100644 --- a/chromebook-checkout-meteor/.meteor/versions +++ b/chromebook-checkout-meteor/.meteor/versions @@ -41,7 +41,6 @@ less@1.0.12 livedata@1.0.12 localstorage@1.0.2 logging@1.0.6 -maazalik:malihu-jquery-custom-scrollbar@3.0.6 meteor@1.1.4 meteor-platform@1.2.1 minifiers@1.1.3 diff --git a/chromebook-checkout-meteor/.meteor/versions~ b/chromebook-checkout-meteor/.meteor/versions~ new file mode 100644 index 0000000..2b87fdd --- /dev/null +++ b/chromebook-checkout-meteor/.meteor/versions~ @@ -0,0 +1,78 @@ +accounts-base@1.1.3 +accounts-google@1.0.3 +accounts-oauth@1.1.3 +accounts-ui@1.1.4 +accounts-ui-unstyled@1.1.5 +alanning:roles@1.2.13 +application-configuration@1.0.4 +autoupdate@1.1.4 +base64@1.0.2 +binary-heap@1.0.2 +blaze@2.0.4 +blaze-tools@1.0.2 +boilerplate-generator@1.0.2 +callback-hook@1.0.2 +check@1.0.3 +coffeescript@1.0.5 +ddp@1.0.13 +deps@1.0.6 +ejson@1.0.5 +fastclick@1.0.2 +follower-livedata@1.0.3 +fortawesome:fontawesome@4.2.0_2 +geojson-utils@1.0.2 +google@1.1.3 +html-tools@1.0.3 +htmljs@1.0.3 +http@1.0.9 +id-map@1.0.2 +iron:controller@1.0.6 +iron:core@1.0.6 +iron:dynamic-template@1.0.6 +iron:layout@1.0.6 +iron:location@1.0.6 +iron:middleware-stack@1.0.6 +iron:router@1.0.6 +iron:url@1.0.6 +jquery@1.0.2 +json@1.0.2 +launch-screen@1.0.1 +less@1.0.12 +livedata@1.0.12 +localstorage@1.0.2 +logging@1.0.6 +maazalik:malihu-jquery-custom-scrollbar@2.8.3 +meteor@1.1.4 +meteor-platform@1.2.1 +minifiers@1.1.3 +minimongo@1.0.6 +mobile-status-bar@1.0.2 +momentjs:moment@2.8.4 +mongo@1.0.10 +mrt:purecss@0.6.0 +oauth@1.1.3 +oauth2@1.1.2 +observe-sequence@1.0.4 +ongoworks:security@1.0.1 +ordered-dict@1.0.2 +percolate:momentum@0.7.0 +percolate:velocityjs@1.1.0 +random@1.0.2 +reactive-dict@1.0.5 +reactive-var@1.0.4 +reload@1.1.2 +retry@1.0.2 +routepolicy@1.0.3 +service-configuration@1.0.3 +session@1.0.5 +spacebars@1.0.4 +spacebars-compiler@1.0.4 +templates:array@1.0.0 +templates:tabs@1.1.0 +templating@1.0.10 +tracker@1.0.4 +ui@1.0.5 +underscore@1.0.2 +url@1.0.3 +webapp@1.1.5 +webapp-hashing@1.0.2 diff --git a/chromebook-checkout-meteor/client/admin.css b/chromebook-checkout-meteor/client/admin.css index 34f365d..a6664b8 100644 --- a/chromebook-checkout-meteor/client/admin.css +++ b/chromebook-checkout-meteor/client/admin.css @@ -1,6 +1,3 @@ -.yield:hover, .yieldc:hover { - color: #E14C2B; -} .row-admin { min-width: 100%; } @@ -11,7 +8,7 @@ margin-top: 0%; font-size: 14pt; } -.add, .addc { +.add { background: #d94158; background-image: -webkit-linear-gradient(top, #d94158, #ad3838); background-image: -moz-linear-gradient(top, #d94158, #ad3838); @@ -27,7 +24,7 @@ width: 97%; font-size: 18pt; } -.add:hover, .addc:hover { +.add:hover { background: #db6b6b; background-image: -webkit-linear-gradient(top, #db6b6b, #d64949); background-image: -moz-linear-gradient(top, #db6b6b, #d64949); @@ -35,20 +32,4 @@ background-image: -o-linear-gradient(top, #db6b6b, #d64949); background-image: linear-gradient(to bottom, #db6b6b, #d64949); text-decoration: none; -} -.border { - padding: 1% 0px 1% 15px; - overflow:auto; - min-width:700px; - } -.remove { - margin-bottom: 4%; -} - -.yield:hover { - color: #E14C2B; -} - -.row { - min-width: 80%; } \ No newline at end of file diff --git a/chromebook-checkout-meteor/client/admin.html b/chromebook-checkout-meteor/client/admin.html index 215b6f3..fc6e172 100644 --- a/chromebook-checkout-meteor/client/admin.html +++ b/chromebook-checkout-meteor/client/admin.html @@ -5,7 +5,6 @@ {{#teacherTabs tabs=tabs}} -
Edit Chromebooks
{{#momentum plugin='slide-fade'}} @@ -24,27 +23,25 @@
-
+ -
Edit Carts
{{#momentum plugin='slide-fade'}} {{#each carts}}
{{>cart}} - - + +
{{/each}} {{/momentum}}
Add a Cart
- +
-
{{/teacherTabs}} \ No newline at end of file diff --git a/chromebook-checkout-meteor/client/admin.js b/chromebook-checkout-meteor/client/admin.js index d95d3a3..8101507 100644 --- a/chromebook-checkout-meteor/client/admin.js +++ b/chromebook-checkout-meteor/client/admin.js @@ -52,12 +52,3 @@ Template.admin.events({ } }); -Template.admin.rendered = function() { - - $(".border.tabs-content").mCustomScrollbar({ - theme: 'dark', - scrollInertia: 10, - mouseWheel: { deltaFactor: 30 }, - alwaysShowScrollbar: 2 - }); -} diff --git a/chromebook-checkout-meteor/client/checkout.html b/chromebook-checkout-meteor/client/checkout.html old mode 100644 new mode 100755 index 8db2b17..2151f06 --- a/chromebook-checkout-meteor/client/checkout.html +++ b/chromebook-checkout-meteor/client/checkout.html @@ -3,8 +3,8 @@
Chromebook Checkout
-
-
+
+
{{#momentum plugin='slide-fade'}} {{#each chromebooks}}
diff --git a/chromebook-checkout-meteor/client/checkout.js b/chromebook-checkout-meteor/client/checkout.js index 4397e06..144b5e0 100644 --- a/chromebook-checkout-meteor/client/checkout.js +++ b/chromebook-checkout-meteor/client/checkout.js @@ -3,12 +3,4 @@ Template.checkout.helpers({ return Chromebooks.find({}, {sort: {number: 1}}); } }); -Template.checkout.rendered = function() { - $(".chckChromebooks").mCustomScrollbar({ - theme: 'dark', - scrollInertia: 10, - mouseWheel: { deltaFactor: 40 }, - alwaysShowScrollbar: 2 - }); -} \ No newline at end of file diff --git a/chromebook-checkout-meteor/client/chromebook.css b/chromebook-checkout-meteor/client/chromebook.css index 74ab657..7cde1a7 100644 --- a/chromebook-checkout-meteor/client/chromebook.css +++ b/chromebook-checkout-meteor/client/chromebook.css @@ -1,12 +1,7 @@ -body { - -webkit-user-select: none; -} - .pure-u-3-5 { margin-top: 1.5%; margin-bottom: 1.5%; } - .chromebook { font-family: Lato; padding-left:2%; @@ -16,42 +11,39 @@ body { box-shadow: 3px 3px 10px #c2c2c2; color: #000000; height: 10%; - max-width: 81%; max-height: 10%; max-height: 70px; - min-width: 79%; } - -.checkout, .teacher { - min-width: 94%; +.checkout { + min-width: 760px; + max-width: 760px; +} +.teacher { + min-width: 805px; + max-width: 805px; +} +.admin { + max-width: 700px; + min-width: 700px; } - .chromebook:hover { box-shadow: 5px 0 12px #919191, -5px 0 12px #919191; outline: #25abd9 solid 3px; } - .timestamp { color: #6D6E6D; float: right; } - .icons { float: right; - margin-top: 3%; - margin-left: 2%; + margin-top: 27px; + margin-left: 17px; color: #5A5A5A; transition: color 0.5s; } -.yield { - margin-right: 2%; -} - - -.cross:hover, .crossc:hover{ +.cross:hover, .yield:hover { color: #E14C2B; } - .user { font-size: 65%; margin-top: 2%; @@ -69,22 +61,18 @@ body { margin-bottom: 0%; transition: color 0.5s; } - .available { background-color:#72D376; transition: background-color 1s; } - .checkedout { background-color:#F9DB45; transition: background-color 1s; } - .unavailable { background-color:#E14C2B; transition: background-color 1s; } - .unavailable .user, .unavailable .time { color: white; } diff --git a/chromebook-checkout-meteor/client/chromebook.html b/chromebook-checkout-meteor/client/chromebook.html index e95f70b..e079bed 100644 --- a/chromebook-checkout-meteor/client/chromebook.html +++ b/chromebook-checkout-meteor/client/chromebook.html @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/chromebook-checkout-meteor/client/teacher.js b/chromebook-checkout-meteor/client/teacher.js index c2ee416..9ae0b4c 100644 --- a/chromebook-checkout-meteor/client/teacher.js +++ b/chromebook-checkout-meteor/client/teacher.js @@ -11,10 +11,7 @@ Template.teacher.helpers({ { name: 'Single', slug: 'single' }, { name: 'Carts', slug: 'carts' } ]; - } -}); - -Template.teacher.helpers({ + }, chromebooks: function() { return Chromebooks.find({}, {sort: {number: 1}}); }, @@ -22,12 +19,3 @@ Template.teacher.helpers({ return carts.find(); } }); -Template.teacher.rendered = function() { - - $(".tchChromebooks").mCustomScrollbar({ - theme: 'dark', - scrollInertia: 10, - mouseWheel: { deltaFactor: 30 }, - alwaysShowScrollbar: 2 - }); -}