diff --git a/.travis.yml b/.travis.yml index 08afcfaaf7..5c0ff039c9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,6 +2,7 @@ language: node_js node_js: - '6' sudo: required +dist: precise services: - mongodb addons: @@ -19,7 +20,7 @@ install: before_script: - npm run test:build - cp config.json.example config.json - - if [ $REQUIRES_SERVER ]; then until nc -z localhost 27017; do echo Waiting for MongoDB; sleep 1; done; export DISPLAY=:99; fi + - sleep 15 script: - npm run $TEST - if [ $COVERAGE ]; then ./node_modules/.bin/lcov-result-merger 'coverage/**/*.info' | ./node_modules/coveralls/bin/coveralls.js; fi diff --git a/website/client/app.vue b/website/client/app.vue index 8162035946..5eeb8e4f6e 100644 --- a/website/client/app.vue +++ b/website/client/app.vue @@ -9,7 +9,8 @@ app-menu .container-fluid app-header - router-view + div(:class='{sticky: user.preferences.stickyHeader}') + router-view app-footer @@ -35,6 +36,7 @@ export default { }, computed: { ...mapState(['isUserLoggedIn']), + ...mapState({user: 'user.data'}), isStaticPage () { return this.$route.meta.requiresLogin === false ? true : false; }, diff --git a/website/client/assets/svg/grey-badge.svg b/website/client/assets/svg/grey-badge.svg index 1c42e5a78d..1350b45b70 100644 --- a/website/client/assets/svg/grey-badge.svg +++ b/website/client/assets/svg/grey-badge.svg @@ -1,13 +1,13 @@ - + - + - + - - + + - + diff --git a/website/client/components/appHeader.vue b/website/client/components/appHeader.vue index a4e9cf185c..e496347bd9 100644 --- a/website/client/components/appHeader.vue +++ b/website/client/components/appHeader.vue @@ -1,9 +1,10 @@