diff --git a/.gitignore b/.gitignore index 295acb3..507681c 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,5 @@ mup.json .DS_Store */.DS_Store ssl/ +node_modules/ +*.swp diff --git a/client/main.scss b/client/main.scss index 0b62b3a..f9bd271 100644 --- a/client/main.scss +++ b/client/main.scss @@ -1,6 +1,7 @@ @import '{}/node_modules/photoswipe/src/css/main.scss'; @import '{}/node_modules/photoswipe/src/css/default-skin/default-skin.scss'; +@import '{}/imports/ui/stylesheets/global.scss'; @import '{}/imports/ui/stylesheets/layout.scss'; @import '{}/imports/ui/stylesheets/autocomplete.scss'; diff --git a/imports/ui/blaze-helpers.js b/imports/ui/blaze-helpers.js index 1143c13..98ab229 100644 --- a/imports/ui/blaze-helpers.js +++ b/imports/ui/blaze-helpers.js @@ -3,3 +3,5 @@ import { Template } from 'meteor/templating'; Template.registerHelper('$and', (a, b) => { return a && b; }); + +Template.registerHelper('$not', a => !a); diff --git a/imports/ui/components/loading_overlay.scss b/imports/ui/components/loading_overlay.scss index e866016..b38e121 100644 --- a/imports/ui/components/loading_overlay.scss +++ b/imports/ui/components/loading_overlay.scss @@ -1,14 +1,3 @@ -.overlay { - position: fixed; - left: 0; - top: 0; - height: 100%; - width: 100%; - opacity: 0.7; - z-index: 500; - background-color: #000000; -} - .loader { color: #ffffff; font-size: 90px; diff --git a/imports/ui/pages/results.html b/imports/ui/pages/results.html index 5cf40a7..8d064a1 100644 --- a/imports/ui/pages/results.html +++ b/imports/ui/pages/results.html @@ -2,9 +2,9 @@
{{#if moduleChosen "camera"}}

{{experience.name}}

-
View only photos from: - + @@ -14,16 +14,20 @@
View only photos from:
-
{{#each image in images}} -
+
+ {{#if moduleChosen "text"}} +
+ {{image.caption}}, from {{image.location}} +
+ {{/if}}
{{/each}}
{{/if}} - {{#if moduleChosen "text"}} + {{#if $and (moduleChosen "text") ($not (moduleChosen "camera"))}}

Here's what everyone wrote for {{experience.name}}

@@ -47,25 +51,17 @@

Here's what everyone wrote for {{experience.name}}

{{/if}} {{#if moduleChosen "camera"}}