diff --git a/website/client/assets/images/gryphon.png b/website/client/assets/images/gryphon.png new file mode 100644 index 0000000000..1001e838a2 Binary files /dev/null and b/website/client/assets/images/gryphon.png differ diff --git a/website/client/assets/images/gryphon@2x.png b/website/client/assets/images/gryphon@2x.png new file mode 100644 index 0000000000..758e262edb Binary files /dev/null and b/website/client/assets/images/gryphon@2x.png differ diff --git a/website/client/assets/images/gryphon@3x.png b/website/client/assets/images/gryphon@3x.png new file mode 100644 index 0000000000..1b004563c2 Binary files /dev/null and b/website/client/assets/images/gryphon@3x.png differ diff --git a/website/client/assets/svg/heart.svg b/website/client/assets/svg/heart.svg new file mode 100644 index 0000000000..b6761a2835 --- /dev/null +++ b/website/client/assets/svg/heart.svg @@ -0,0 +1,3 @@ + + + diff --git a/website/client/components/appFooter.vue b/website/client/components/appFooter.vue index 59539140f2..a1e6dfedf8 100644 --- a/website/client/components/appFooter.vue +++ b/website/client/components/appFooter.vue @@ -1,5 +1,6 @@ + + diff --git a/website/client/components/chat/chatMessages.vue b/website/client/components/chat/chatMessages.vue index cce8f75e2e..fd46dd12c4 100644 --- a/website/client/components/chat/chatMessages.vue +++ b/website/client/components/chat/chatMessages.vue @@ -166,7 +166,8 @@ export default { this.messages.forEach(message => { let uuid = message.uuid; - if (!this.cachedProfileData[uuid]) { + if (uuid && !this.cachedProfileData[uuid]) { + if (uuid === 'system') return; promises.push(axios.get(`/api/v3/members/${uuid}`)); } }); diff --git a/website/client/components/hall/heroes.vue b/website/client/components/hall/heroes.vue index 2413f51e6f..9b8a17b4fa 100644 --- a/website/client/components/hall/heroes.vue +++ b/website/client/components/hall/heroes.vue @@ -3,13 +3,13 @@ small.muted(v-html="$t('blurbHallContributors')") .well(v-if='user.contributor.admin') h2 {{ $t('rewardUser') }} - form(v-submit='loadHero(_heroID)') + form(submit='loadHero(heroID)') // @TODO: make click .form-group - input.form-control(type='text', v-model='_heroID', placeholder {{ $t('UUID') }}) + input.form-control(type='text', v-model='heroID', placeholder="$t('UUID')") .form-group input.btn.btn-default(type='submit') | {{ $t('loadUser') }} - form(v-show='hero', v-submit='saveHero(hero)') + form(v-if='hero && hero.profile', submit='saveHero(hero)') // @TODO: make click a(v-click='clickMember(hero._id, true)') h3 {{hero.profile.name}} .form-group @@ -70,19 +70,19 @@ thead tr th {{ $t('name') }} - th(v-if='user.contributor.admin') {{ $t('UUID') }} + th(v-if='user.contributor && user.contributor.admin') {{ $t('UUID') }} th {{ $t('contribLevel') }} th {{ $t('title') }} th {{ $t('contributions') }} tbody - tr(v-repeat='hero in heroes') + tr(v-for='(hero, $index) in heroes') td - span(v-if='hero.contributor.admin', :popover="$t('gamemaster')", popover-trigger='mouseenter', popover-placement='right') + span(v-if='hero.contributor && hero.contributor.admin', :popover="$t('gamemaster')", popover-trigger='mouseenter', popover-placement='right') a.label.label-default(v-class='userLevelStyle(hero)', v-click='clickMember(hero._id, true)') | {{hero.profile.name}}  span(v-class='userAdminGlyphiconStyle(hero)') - span(v-if='!hero.contributor.admin') - a.label.label-default(v-class='userLevelStyle(hero)', v-click='clickMember(hero._id, true)') {{hero.profile.name}} + span(v-if='!hero.contributor || !hero.contributor.admin') + a.label.label-default(v-if='hero.profile', v-class='userLevelStyle(hero)', v-click='clickMember(hero._id, true)') {{hero.profile.name}} td(v-if='user.contributor.admin', v-click='populateContributorInput(hero._id, $index)').btn-link {{hero._id}} td {{hero.contributor.level}} td {{hero.contributor.text}} @@ -91,7 +91,7 @@ diff --git a/website/client/components/payments/buyGemsModal.vue b/website/client/components/payments/buyGemsModal.vue new file mode 100644 index 0000000000..58845aa2f6 --- /dev/null +++ b/website/client/components/payments/buyGemsModal.vue @@ -0,0 +1,112 @@ + + + diff --git a/website/client/components/settings/deleteModal.vue b/website/client/components/settings/deleteModal.vue index 5c2bcb3c16..7d14055edc 100644 --- a/website/client/components/settings/deleteModal.vue +++ b/website/client/components/settings/deleteModal.vue @@ -1,18 +1,31 @@