diff --git a/.meteor/packages b/.meteor/packages index 405bbcf..7a657db 100644 --- a/.meteor/packages +++ b/.meteor/packages @@ -18,7 +18,7 @@ standard-minifier-css@1.5.2 # CSS minifier run for production mode standard-minifier-js@2.4.0 # JS minifier run for production mode es5-shim@4.8.0 # ECMAScript 5 compatibility for older browsers. poorvavyas:es6-shim -ecmascript@0.12.3 # Enable ECMAScript2015+ syntax in app code +ecmascript@0.12.4 # Enable ECMAScript2015+ syntax in app code #accounts-ui #accounts-base diff --git a/.meteor/release b/.meteor/release index 2299ae7..91e05fc 100644 --- a/.meteor/release +++ b/.meteor/release @@ -1 +1 @@ -METEOR@1.8.0.1 +METEOR@1.8.0.2 diff --git a/imports/startup/client/routes.js b/imports/startup/client/routes.js index 2842ec2..d45df17 100644 --- a/imports/startup/client/routes.js +++ b/imports/startup/client/routes.js @@ -211,4 +211,16 @@ pub.route("/CurrentBoard", { require("/imports/ui/EditablePage.js"); BlazeLayout.render("Public", {content: "EditablePage"}); } +}); + +// Fix stale routes in Google's search index from old site. Redirect to home. +pub.route('/!/*', { + action: function(params, queryParams) { + FlowRouter.go("/"); + } +}); +pub.route('/!', { + action: function(params, queryParams) { + FlowRouter.go("/"); + } }); \ No newline at end of file diff --git a/imports/ui/Admin/PageEditor.js b/imports/ui/Admin/PageEditor.js index da3b2ae..3b81808 100644 --- a/imports/ui/Admin/PageEditor.js +++ b/imports/ui/Admin/PageEditor.js @@ -156,7 +156,7 @@ Template.PageEditor.onRendered(function() { borderCollapse: "collapse" }, insert_toolbar: 'quicktable', //image - selection_toolbar: 'bold italic | h1 h2 h3 | blockquote quicklink', + selection_toolbar: 'bold italic | h1 h2 h3 | blockquote link', contextmenu: 'InsertImage | inserttable | cell row column deletetable', //image contextmenu_never_use_native: false, diff --git a/imports/ui/Home.html b/imports/ui/Home.html index 7ad15c6..8622b08 100644 --- a/imports/ui/Home.html +++ b/imports/ui/Home.html @@ -1,46 +1,64 @@ \ No newline at end of file diff --git a/imports/ui/Home.import.styl b/imports/ui/Home.import.styl index ca75bd7..382321a 100644 --- a/imports/ui/Home.import.styl +++ b/imports/ui/Home.import.styl @@ -4,10 +4,12 @@ .pageHeader margin-bottom: 30px - width: 100% - -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75) - -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75) - box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75) + margin-right: 10px + img + width: 100% + -webkit-box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.75) + -moz-box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.75) + box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.75) .blockContainer position: relative height: 350px @@ -20,81 +22,85 @@ min-width: 200px margin: 0 auto position: relative - .menuTile - width: 225px - height: 140px - position: absolute - top: 0 - margin: 0 - background-repeat: no-repeat - background-origin: content-box - background-clip: content-box - background-position: center center - background-size: cover - -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75) - -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75) - box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75) - .menuHeader - font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif - font-weight: 800 - font-size: 15px - color: black + .column position: absolute + width: 25% + .cellTile + max-width: 240px + //max-height: 140px + position: relative + .cellContent + margin: 0 12px 20px 4px + -webkit-box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.75) + -moz-box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.75) + box-shadow: 10px 10px 5px 0 rgba(0,0,0,0.75) + a + img + width: 100% + vertical-align: top + .menuText + position: absolute + left: 12px + top: -1px + font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif + font-weight: 800 + font-size: 15px + color: black + line-height: 27px + height: 0 + overflow: visible + pointer-events: none + background: none !important + margin: 0 + padding: 0 + .menuTimestamp + font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif + font-weight: 800 + font-size: 15px + color: white + letter-spacing: -2px + position: absolute + bottom: 30px + right: 16px + line-height: 27px + height: 0 + overflow: visible + pointer-events: none + background: none !important + margin: 0 + padding: 0 + .column1 left: 0 - top: -1px - right: 0 - height: 27px - margin: 0 - padding: 0 0 0 6px - .menuHeaderBackground - display: none - position: absolute - left: 0 - right: 0 - top: 0 - height: 24px - opacity: 0.25 - /* filter: alpha(opacity=25); For IE8 and earlier */ - background-color: white - .menuHeaderTimestamp - font-family: "Avant Garde", Avantgarde, "Century Gothic", CenturyGothic, "AppleGothic", sans-serif - font-weight: 800 - font-size: 15px - color: white - letter-spacing: -2px - text-align: right - position: absolute - left: 0px - top: -1px - right: 16px - height: 27px - margin: 0 - padding: 0 - .grantMenu - left: 0 - background-image: url('./images/apple_seed_v2.jpg') - .internshipsMenu - left: 245px - background-image: url('./images/oak_seed_v2.jpg') - .scholarshipsMenu - left: 490px - background-image: url('./images/maple_seed_v2.jpg') - .fellowshipsMenu - left: 735px - background-image: url('./images/fir_seed_v2.jpg') - .newsMenu - left: 0px - top: 160px - background-image: url('./images/redwood_seed_v2.jpg') - .photoGalleryMenu - left: 245px - top: 160px - background-image: url('./images/buckeye_seed_v2.jpg') - .jrHighSummerMenu - left: 490px - top: 160px - background-image: url('./images/bay_seed_v2.jpg') - .howCanYouHelpMenu - left: 735px - top: 160px - background-image: url('./images/madrone_seed_v2.jpg') + .column2 + left: 25% + .column3 + left: 50% + .column4 + left: 75% + + @media(max-width: 800px) + .column .cellTile .cellContent + .menuText + font-size: 12px + .menuTimestamp + font-size: 12px + @media(max-width: 650px) + .column .cellTile .cellContent + .menuText + font-size: 10px + .menuTimestamp + font-size: 10px + @media(max-width: 550px) + .column .cellTile .cellContent + .menuText + font-size: 10px + letter-spacing: -1px + .menuTimestamp + font-size: 10px + @media(max-width: 500px) + .column .cellTile .cellContent + .menuText + font-size: 9px + letter-spacing: -1px + .menuTimestamp + font-size: 9px \ No newline at end of file diff --git a/imports/ui/layouts/Public.html b/imports/ui/layouts/Public.html index 70b3fe8..13e5826 100644 --- a/imports/ui/layouts/Public.html +++ b/imports/ui/layouts/Public.html @@ -8,15 +8,27 @@
+