diff --git a/website/client/components/groups/group.vue b/website/client/components/groups/group.vue index 93cb0fc692..6f63f305b7 100644 --- a/website/client/components/groups/group.vue +++ b/website/client/components/groups/group.vue @@ -3,6 +3,7 @@ group-form-modal(v-if='isParty') start-quest-modal(:group='this.group') quest-details-modal(:group='this.group') + participant-list-modal(:group='this.group') group-gems-modal .col-12.col-sm-8.standard-page .row @@ -262,6 +263,7 @@ import * as Analytics from 'client/libs/analytics'; import membersModal from './membersModal'; import startQuestModal from './startQuestModal'; import questDetailsModal from './questDetailsModal'; +import participantListModal from './participantListModal'; import groupFormModal from './groupFormModal'; import groupChallenges from '../challenges/groupChallenges'; import groupGemsModal from 'client/components/groups/groupGemsModal'; @@ -292,6 +294,7 @@ export default { groupFormModal, groupChallenges, questDetailsModal, + participantListModal, groupGemsModal, questSidebarSection, sidebarSection, diff --git a/website/client/components/groups/participantListModal.vue b/website/client/components/groups/participantListModal.vue new file mode 100644 index 0000000000..1495730bb1 --- /dev/null +++ b/website/client/components/groups/participantListModal.vue @@ -0,0 +1,93 @@ + + + + + + + \ No newline at end of file diff --git a/website/client/components/groups/questSidebarSection.vue b/website/client/components/groups/questSidebarSection.vue index 45b5fbc212..e657f7f86e 100644 --- a/website/client/components/groups/questSidebarSection.vue +++ b/website/client/components/groups/questSidebarSection.vue @@ -38,7 +38,7 @@ sidebar-section(:title="$t('questDetailsTitle')") .col-6 h4.float-left(v-once) {{ questData.boss.name() }} .col-6 - span.float-right(v-once) {{ $t('participantsTitle') }} + a.float-right(@click="openParticipantList()") {{ $t('participantsTitle') }} .row .col-12 .grey-progress-bar @@ -74,6 +74,14 @@ sidebar-section(:title="$t('questDetailsTitle')") margin: 0 auto; } + .boss-info { + a { + font-family: 'Roboto Condensed', sans-serif; + font-weight: bold; + color: $gray-10; + } + } + .boss-health-bar { width: 80%; background-color: red; @@ -258,6 +266,9 @@ export default { openQuestDetails () { this.$root.$emit('bv::show::modal', 'quest-details'); }, + openParticipantList () { + this.$root.$emit('bv::show::modal', 'participant-list'); + }, async questAbort () { if (!confirm(this.$t('sureAbort'))) return; if (!confirm(this.$t('doubleSureAbort'))) return;