mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-14 13:17:24 +01:00
Added mobile style fixes (#9741)
This commit is contained in:
@@ -69,8 +69,8 @@
|
|||||||
a.social-circle(href='https://www.facebook.com/Habitica', target='_blank')
|
a.social-circle(href='https://www.facebook.com/Habitica', target='_blank')
|
||||||
.social-icon.facebook.svg-icon(v-html='icons.facebook')
|
.social-icon.facebook.svg-icon(v-html='icons.facebook')
|
||||||
.row
|
.row
|
||||||
.col-10 {{ $t('donateText3') }}
|
.col-12.col-md-10 {{ $t('donateText3') }}
|
||||||
.col-2
|
.col-12.col-md-2
|
||||||
button.btn.btn-contribute(@click="donate()", v-if="user")
|
button.btn.btn-contribute(@click="donate()", v-if="user")
|
||||||
.svg-icon.heart(v-html="icons.heart")
|
.svg-icon.heart(v-html="icons.heart")
|
||||||
.text {{ $t('companyDonate') }}
|
.text {{ $t('companyDonate') }}
|
||||||
@@ -82,7 +82,7 @@
|
|||||||
.col-12
|
.col-12
|
||||||
hr
|
hr
|
||||||
.row
|
.row
|
||||||
.col-5
|
.col-12.col-md-5
|
||||||
| © 2017 Habitica. All rights reserved.
|
| © 2017 Habitica. All rights reserved.
|
||||||
.debug.float-left(v-if="!IS_PRODUCTION && isUserLoaded")
|
.debug.float-left(v-if="!IS_PRODUCTION && isUserLoaded")
|
||||||
button.btn.btn-primary(@click="debugMenuShown = !debugMenuShown") Toggle Debug Menu
|
button.btn.btn-primary(@click="debugMenuShown = !debugMenuShown") Toggle Debug Menu
|
||||||
@@ -102,9 +102,9 @@
|
|||||||
a.btn.btn-default(@click="addQuestProgress()", tooltip="+1000 to boss quests. 300 items to collection quests") Quest Progress Up
|
a.btn.btn-default(@click="addQuestProgress()", tooltip="+1000 to boss quests. 300 items to collection quests") Quest Progress Up
|
||||||
a.btn.btn-default(@click="makeAdmin()") Make Admin
|
a.btn.btn-default(@click="makeAdmin()") Make Admin
|
||||||
a.btn.btn-default(@click="openModifyInventoryModal()") Modify Inventory
|
a.btn.btn-default(@click="openModifyInventoryModal()") Modify Inventory
|
||||||
.col-2.text-center
|
.col-12.col-md-2.text-center
|
||||||
.logo.svg-icon(v-html='icons.gryphon')
|
.logo.svg-icon(v-html='icons.gryphon')
|
||||||
.col-5.text-right
|
.col-12.col-md-5.text-right
|
||||||
template(v-if="!isExpandedFooter")
|
template(v-if="!isExpandedFooter")
|
||||||
span
|
span
|
||||||
a(:href="getDataDisplayToolUrl", target='_blank') {{ $t('dataDisplayTool') }}
|
a(:href="getDataDisplayToolUrl", target='_blank') {{ $t('dataDisplayTool') }}
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
.seamless_stars_varied_opacity_repeat
|
.seamless_stars_varied_opacity_repeat
|
||||||
|
|
||||||
form#login-form(
|
form#login-form(
|
||||||
@submit.prevent='handleSubmit',
|
@submit.prevent='handleSubmit',
|
||||||
@keyup.enter="handleSubmit",
|
@keyup.enter="handleSubmit",
|
||||||
v-if="!forgotPassword && !resetPasswordSetNewOne",
|
v-if="!forgotPassword && !resetPasswordSetNewOne",
|
||||||
)
|
)
|
||||||
.text-center
|
.text-center
|
||||||
@@ -14,11 +14,11 @@
|
|||||||
div
|
div
|
||||||
.svg-icon.habitica-logo(v-html="icons.habiticaIcon")
|
.svg-icon.habitica-logo(v-html="icons.habiticaIcon")
|
||||||
.form-group.row.text-center
|
.form-group.row.text-center
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
.btn.btn-secondary.social-button(@click='socialAuth("facebook")')
|
.btn.btn-secondary.social-button(@click='socialAuth("facebook")')
|
||||||
.svg-icon.social-icon(v-html="icons.facebookIcon")
|
.svg-icon.social-icon(v-html="icons.facebookIcon")
|
||||||
.text {{registering ? $t('signUpWithSocial', {social: 'Facebook'}) : $t('loginWithSocial', {social: 'Facebook'})}}
|
.text {{registering ? $t('signUpWithSocial', {social: 'Facebook'}) : $t('loginWithSocial', {social: 'Facebook'})}}
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
.btn.btn-secondary.social-button(@click='socialAuth("google")')
|
.btn.btn-secondary.social-button(@click='socialAuth("google")')
|
||||||
.svg-icon.social-icon(v-html="icons.googleIcon")
|
.svg-icon.social-icon(v-html="icons.googleIcon")
|
||||||
span {{registering ? $t('signUpWithSocial', {social: 'Google'}) : $t('loginWithSocial', {social: 'Google'})}}
|
span {{registering ? $t('signUpWithSocial', {social: 'Google'}) : $t('loginWithSocial', {social: 'Google'})}}
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
input#confirmPasswordInput.form-control(type='password', :placeholder='$t("confirmPasswordPlaceholder")', v-model='passwordConfirm')
|
input#confirmPasswordInput.form-control(type='password', :placeholder='$t("confirmPasswordPlaceholder")', v-model='passwordConfirm')
|
||||||
.text-center
|
.text-center
|
||||||
.btn.btn-info(
|
.btn.btn-info(
|
||||||
@click='resetPasswordSetNewOneLink()',
|
@click='resetPasswordSetNewOneLink()',
|
||||||
:enabled="!resetPasswordSetNewOneData.hasError"
|
:enabled="!resetPasswordSetNewOneData.hasError"
|
||||||
) {{$t('setNewPass')}}
|
) {{$t('setNewPass')}}
|
||||||
|
|
||||||
@@ -121,6 +121,17 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
#login-form {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.form-group {
|
||||||
|
padding-left: .5em;
|
||||||
|
padding-right: .5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.form-wrapper {
|
.form-wrapper {
|
||||||
background-color: $purple-200;
|
background-color: $purple-200;
|
||||||
background: $purple-200; /* For browsers that do not support gradients */
|
background: $purple-200; /* For browsers that do not support gradients */
|
||||||
|
|||||||
@@ -4,10 +4,9 @@
|
|||||||
leave-challenge-modal(:challengeId='challenge._id')
|
leave-challenge-modal(:challengeId='challenge._id')
|
||||||
close-challenge-modal(:members='members', :challengeId='challenge._id')
|
close-challenge-modal(:members='members', :challengeId='challenge._id')
|
||||||
challenge-member-progress-modal(:memberId='progressMemberId', :challengeId='challenge._id')
|
challenge-member-progress-modal(:memberId='progressMemberId', :challengeId='challenge._id')
|
||||||
|
.col-12.col-md-8.standard-page
|
||||||
.col-8.standard-page
|
|
||||||
.row
|
.row
|
||||||
.col-8
|
.col-12.col-md-8
|
||||||
h1(v-markdown='challenge.name')
|
h1(v-markdown='challenge.name')
|
||||||
div
|
div
|
||||||
strong(v-once) {{$t('createdBy')}}:
|
strong(v-once) {{$t('createdBy')}}:
|
||||||
@@ -20,7 +19,7 @@
|
|||||||
// span {{challenge.endDate}}
|
// span {{challenge.endDate}}
|
||||||
.tags
|
.tags
|
||||||
span.tag(v-for='tag in challenge.tags') {{tag}}
|
span.tag(v-for='tag in challenge.tags') {{tag}}
|
||||||
.col-4
|
.col-12.col-md-4
|
||||||
.box(@click="showMemberModal()")
|
.box(@click="showMemberModal()")
|
||||||
.svg-icon.member-icon(v-html="icons.memberIcon")
|
.svg-icon.member-icon(v-html="icons.memberIcon")
|
||||||
| {{challenge.memberCount}}
|
| {{challenge.memberCount}}
|
||||||
@@ -30,7 +29,7 @@
|
|||||||
| {{challenge.prize}}
|
| {{challenge.prize}}
|
||||||
.details(v-once) {{$t('prize')}}
|
.details(v-once) {{$t('prize')}}
|
||||||
.row.challenge-actions
|
.row.challenge-actions
|
||||||
.col-7.offset-5
|
.col-12.col-md-7.offset-md-5
|
||||||
span.view-progress
|
span.view-progress
|
||||||
strong {{ $t('viewProgressOf') }}
|
strong {{ $t('viewProgressOf') }}
|
||||||
member-search-dropdown(:text="$t('selectParticipant')", :members='members', :challengeId='challengeId', @member-selected='openMemberProgressModal')
|
member-search-dropdown(:text="$t('selectParticipant')", :members='members', :challengeId='challengeId', @member-selected='openMemberProgressModal')
|
||||||
@@ -56,7 +55,7 @@
|
|||||||
:taskListOverride='tasksByType[column]',
|
:taskListOverride='tasksByType[column]',
|
||||||
v-on:editTask="editTask",
|
v-on:editTask="editTask",
|
||||||
v-if='tasksByType[column].length > 0')
|
v-if='tasksByType[column].length > 0')
|
||||||
.col-4.sidebar.standard-page
|
.col-12.col-md-4.sidebar.standard-page
|
||||||
.acitons
|
.acitons
|
||||||
div(v-if='canJoin')
|
div(v-if='canJoin')
|
||||||
button.btn.btn-success(v-once, @click='joinChallenge()') {{$t('joinChallenge')}}
|
button.btn.btn-success(v-once, @click='joinChallenge()') {{$t('joinChallenge')}}
|
||||||
|
|||||||
@@ -2,8 +2,7 @@
|
|||||||
.row
|
.row
|
||||||
challenge-modal(v-on:createChallenge='challengeCreated')
|
challenge-modal(v-on:createChallenge='challengeCreated')
|
||||||
sidebar(v-on:search="updateSearch", v-on:filter="updateFilters")
|
sidebar(v-on:search="updateSearch", v-on:filter="updateFilters")
|
||||||
|
.col-12.col-md-10.standard-page
|
||||||
.col-10.standard-page
|
|
||||||
.row.header-row
|
.row.header-row
|
||||||
.col-md-8.text-left
|
.col-md-8.text-left
|
||||||
h1(v-once) {{$t('findChallenges')}}
|
h1(v-once) {{$t('findChallenges')}}
|
||||||
|
|||||||
@@ -2,7 +2,6 @@
|
|||||||
.standard-sidebar.d-none.d-sm-block
|
.standard-sidebar.d-none.d-sm-block
|
||||||
.form-group
|
.form-group
|
||||||
input.form-control.search(type="text", :placeholder="$t('search')", v-model='searchTerm')
|
input.form-control.search(type="text", :placeholder="$t('search')", v-model='searchTerm')
|
||||||
|
|
||||||
form
|
form
|
||||||
h2(v-once) {{ $t('filter') }}
|
h2(v-once) {{ $t('filter') }}
|
||||||
.form-group
|
.form-group
|
||||||
|
|||||||
@@ -7,11 +7,11 @@
|
|||||||
group-gems-modal
|
group-gems-modal
|
||||||
.col-12.col-sm-8.standard-page
|
.col-12.col-sm-8.standard-page
|
||||||
.row
|
.row
|
||||||
.col-6.title-details
|
.col-12.col-md-6.title-details
|
||||||
h1 {{group.name}}
|
h1 {{group.name}}
|
||||||
strong.float-left(v-once) {{$t('groupLeader')}}
|
strong.float-left(v-once) {{$t('groupLeader')}}
|
||||||
span.leader.float-left(v-if='group.leader.profile', @click='showMemberProfile(group.leader)') : {{group.leader.profile.name}}
|
span.leader.float-left(v-if='group.leader.profile', @click='showMemberProfile(group.leader)') : {{group.leader.profile.name}}
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
.row.icon-row
|
.row.icon-row
|
||||||
.col-4.offset-4(v-bind:class="{ 'offset-8': isParty }")
|
.col-4.offset-4(v-bind:class="{ 'offset-8': isParty }")
|
||||||
.item-with-icon(@click="showMemberModal()")
|
.item-with-icon(@click="showMemberModal()")
|
||||||
|
|||||||
@@ -60,6 +60,12 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
.no-guilds-wrapper {
|
||||||
|
width: 100% !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ div
|
|||||||
.view-party.d-flex.align-items-center(
|
.view-party.d-flex.align-items-center(
|
||||||
v-if="user.party && user.party._id && partyMembers && partyMembers.length > 1",
|
v-if="user.party && user.party._id && partyMembers && partyMembers.length > 1",
|
||||||
)
|
)
|
||||||
button.btn.btn-primary(@click='openPartyModal()') {{ $t('viewParty') }}
|
button.btn.btn-primary.view-party-button(@click='openPartyModal()') {{ $t('viewParty') }}
|
||||||
.party-members.d-flex(
|
.party-members.d-flex(
|
||||||
v-if="partyMembers && partyMembers.length > 1",
|
v-if="partyMembers && partyMembers.length > 1",
|
||||||
v-resize="1500",
|
v-resize="1500",
|
||||||
@@ -98,6 +98,12 @@ div
|
|||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
.view-party-button {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -61,10 +61,10 @@
|
|||||||
h1.mb-4.page-header(v-once) {{ $t('market') }}
|
h1.mb-4.page-header(v-once) {{ $t('market') }}
|
||||||
|
|
||||||
.clearfix(v-if="viewOptions['equipment'].selected")
|
.clearfix(v-if="viewOptions['equipment'].selected")
|
||||||
h2.float-left.mb-3
|
h2.float-left.mb-3.filters-title
|
||||||
| {{ $t('equipment') }}
|
| {{ $t('equipment') }}
|
||||||
|
|
||||||
div.float-right
|
.filters.float-right
|
||||||
span.dropdown-label {{ $t('class') }}
|
span.dropdown-label {{ $t('class') }}
|
||||||
b-dropdown(right=true)
|
b-dropdown(right=true)
|
||||||
span.dropdown-icon-item(slot="text")
|
span.dropdown-icon-item(slot="text")
|
||||||
@@ -328,6 +328,20 @@
|
|||||||
right: -.5em;
|
right: -.5em;
|
||||||
top: -.5em;
|
top: -.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
.featuredItems .content {
|
||||||
|
display: none !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.filters, .filters-title {
|
||||||
|
float: none;
|
||||||
|
button {
|
||||||
|
margin-right: 4em;
|
||||||
|
margin-bottom: 1em;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
<template lang="pug">
|
<template lang="pug">
|
||||||
.container-fluid
|
.container-fluid
|
||||||
.row
|
.row
|
||||||
.col-md-6.offset-3
|
.col-12.col-md-6.offset-md-3
|
||||||
h1 {{ $t('frequentlyAskedQuestions') }}
|
h1 {{ $t('frequentlyAskedQuestions') }}
|
||||||
.faq-question(v-for='(heading, index) in headings')
|
.faq-question(v-for='(heading, index) in headings')
|
||||||
h2.accordion(@click='setActivePage(heading)') {{ $t(`faqQuestion${index}`) }}
|
h2.accordion(@click='setActivePage(heading)') {{ $t(`faqQuestion${index}`) }}
|
||||||
@@ -14,6 +14,12 @@
|
|||||||
.faq-question {
|
.faq-question {
|
||||||
margin-bottom: 1em;
|
margin-bottom: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
.container-fluid {
|
||||||
|
margin: auto;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
.pixel-horizontal.svg-icon(v-html='icons.pixelHorizontal')
|
.pixel-horizontal.svg-icon(v-html='icons.pixelHorizontal')
|
||||||
.container
|
.container
|
||||||
.row
|
.row
|
||||||
.col-12.col-sm-6.col-md-6.col-lg-6.offset-3.text-center
|
.col-12.col-sm-6.col-md-6.col-lg-6.offset-sm-3.text-center
|
||||||
h2 {{$t('gamifyYourLife')}}
|
h2 {{$t('gamifyYourLife')}}
|
||||||
p.section-main {{$t('aboutHabitica')}}
|
p.section-main {{$t('aboutHabitica')}}
|
||||||
.row
|
.row
|
||||||
@@ -502,6 +502,19 @@
|
|||||||
opacity: .5;
|
opacity: .5;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
#call-to-action .btn-primary {
|
||||||
|
width: 95%;
|
||||||
|
}
|
||||||
|
|
||||||
|
#call-to-action .featured .svg-icon {
|
||||||
|
display: block;
|
||||||
|
margin: 0 auto;
|
||||||
|
margin-bottom: .5em;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -514,6 +514,12 @@
|
|||||||
width: 57px;
|
width: 57px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
.option-item {
|
||||||
|
margin-right: 12px !important;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@
|
|||||||
)
|
)
|
||||||
.col-12
|
.col-12
|
||||||
.row.tasks-navigation
|
.row.tasks-navigation
|
||||||
.col-4.offset-4
|
.col-12.col-md-4.offset-md-4
|
||||||
.d-flex
|
.d-flex
|
||||||
input.form-control.input-search(type="text", :placeholder="$t('search')", v-model="searchText")
|
input.form-control.input-search(type="text", :placeholder="$t('search')", v-model="searchText")
|
||||||
button.btn.btn-secondary.dropdown-toggle.ml-2.d-flex.align-items-center(
|
button.btn.btn-secondary.dropdown-toggle.ml-2.d-flex.align-items-center(
|
||||||
@@ -288,6 +288,13 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 768px) {
|
||||||
|
.filter-panel {
|
||||||
|
max-width: none;
|
||||||
|
left: 0px;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
|
|||||||
@@ -17,22 +17,22 @@ div
|
|||||||
.col-12
|
.col-12
|
||||||
member-details(:member="user")
|
member-details(:member="user")
|
||||||
.row
|
.row
|
||||||
.col-6.offset-3.text-center.nav
|
.col-12.col-md-6.offset-md-3.text-center.nav
|
||||||
.nav-item(@click='selectPage("profile")', :class="{active: selectedPage === 'profile'}") {{ $t('profile') }}
|
.nav-item(@click='selectPage("profile")', :class="{active: selectedPage === 'profile'}") {{ $t('profile') }}
|
||||||
.nav-item(@click='selectPage("stats")', :class="{active: selectedPage === 'stats'}") {{ $t('stats') }}
|
.nav-item(@click='selectPage("stats")', :class="{active: selectedPage === 'stats'}") {{ $t('stats') }}
|
||||||
.nav-item(@click='selectPage("achievements")', :class="{active: selectedPage === 'achievements'}") {{ $t('achievements') }}
|
.nav-item(@click='selectPage("achievements")', :class="{active: selectedPage === 'achievements'}") {{ $t('achievements') }}
|
||||||
#userProfile.standard-page(v-show='selectedPage === "profile"', v-if='user.profile')
|
#userProfile.standard-page(v-show='selectedPage === "profile"', v-if='user.profile')
|
||||||
.row
|
.row
|
||||||
.col-8
|
.col-12.col-md-8
|
||||||
.header
|
.header
|
||||||
h1 {{user.profile.name}}
|
h1 {{user.profile.name}}
|
||||||
h4
|
h4
|
||||||
strong {{ $t('userId') }}:
|
strong {{ $t('userId') }}:
|
||||||
| {{user._id}}
|
| {{user._id}}
|
||||||
.col-4
|
.col-12.col-md-4
|
||||||
button.btn.btn-secondary(v-if='user._id === userLoggedIn._id', @click='editing = !editing') {{ $t('edit') }}
|
button.btn.btn-secondary(v-if='user._id === userLoggedIn._id', @click='editing = !editing') {{ $t('edit') }}
|
||||||
.row(v-if='!editing')
|
.row(v-if='!editing')
|
||||||
.col-8
|
.col-12.col-md-8
|
||||||
.about
|
.about
|
||||||
h2 {{ $t('about') }}
|
h2 {{ $t('about') }}
|
||||||
p(v-if='user.profile.blurb', v-markdown='user.profile.blurb')
|
p(v-if='user.profile.blurb', v-markdown='user.profile.blurb')
|
||||||
@@ -42,7 +42,7 @@ div
|
|||||||
img.img-rendering-auto(v-if='user.profile.imageUrl', :src='user.profile.imageUrl')
|
img.img-rendering-auto(v-if='user.profile.imageUrl', :src='user.profile.imageUrl')
|
||||||
p(v-else) {{ $t('noPhoto') }}
|
p(v-else) {{ $t('noPhoto') }}
|
||||||
|
|
||||||
.col-4
|
.col-12.col-md-4
|
||||||
.info
|
.info
|
||||||
h2 {{ $t('info') }}
|
h2 {{ $t('info') }}
|
||||||
div
|
div
|
||||||
@@ -93,7 +93,7 @@ div
|
|||||||
#achievements.standard-page.container(v-show='selectedPage === "achievements"', v-if='user.achievements')
|
#achievements.standard-page.container(v-show='selectedPage === "achievements"', v-if='user.achievements')
|
||||||
.row(v-for='(category, key) in achievements')
|
.row(v-for='(category, key) in achievements')
|
||||||
h2.col-12.text-center {{ $t(key+'Achievs') }}
|
h2.col-12.text-center {{ $t(key+'Achievs') }}
|
||||||
.col-3.text-center(v-for='(achievement, key) in category.achievements')
|
.col-12.col-md-3.text-center(v-for='(achievement, key) in category.achievements')
|
||||||
.box.achievement-container(:id='key + "-achievement"', :class='{"achievement-unearned": !achievement.earned}')
|
.box.achievement-container(:id='key + "-achievement"', :class='{"achievement-unearned": !achievement.earned}')
|
||||||
b-popover(
|
b-popover(
|
||||||
:target="'#' + key + '-achievement'",
|
:target="'#' + key + '-achievement'",
|
||||||
@@ -107,103 +107,103 @@ div
|
|||||||
.achievement.achievement-unearned(class='achievement-unearned2x', v-if='!achievement.earned')
|
.achievement.achievement-unearned(class='achievement-unearned2x', v-if='!achievement.earned')
|
||||||
hr.col-12
|
hr.col-12
|
||||||
.row
|
.row
|
||||||
.col-6(v-if='user.achievements.challenges')
|
.col-12.col-md-6(v-if='user.achievements.challenges')
|
||||||
.achievement-icon.achievement-karaoke
|
.achievement-icon.achievement-karaoke
|
||||||
h2.text-center {{$t('challengesWon')}}
|
h2.text-center {{$t('challengesWon')}}
|
||||||
div(v-for='chal in user.achievements.challenges')
|
div(v-for='chal in user.achievements.challenges')
|
||||||
span(v-markdown='chal')
|
span(v-markdown='chal')
|
||||||
hr
|
hr
|
||||||
.col-6(v-if='user.achievements.quests')
|
.col-12.col-md-6(v-if='user.achievements.quests')
|
||||||
.achievement-icon.achievement-alien
|
.achievement-icon.achievement-alien
|
||||||
h2.text-center {{$t('questsCompleted')}}
|
h2.text-center {{$t('questsCompleted')}}
|
||||||
div(v-for='(value, key) in user.achievements.quests')
|
div(v-for='(value, key) in user.achievements.quests')
|
||||||
span {{ content.quests[key].text() }} ({{ value }})
|
span {{ content.quests[key].text() }} ({{ value }})
|
||||||
#stats.standard-page(v-show='selectedPage === "stats"', v-if='user.preferences')
|
#stats.standard-page(v-show='selectedPage === "stats"', v-if='user.preferences')
|
||||||
.row
|
.row
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
h2.text-center {{$t('equipment')}}
|
h2.text-center {{$t('equipment')}}
|
||||||
.well
|
.well
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.eyewear && equippedItems.eyewear.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.eyewear && equippedItems.eyewear.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.eyewear}`")
|
div(:class="`shop_${equippedItems.eyewear}`")
|
||||||
h3 {{$t('eyewear')}}
|
h3 {{$t('eyewear')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.head && equippedItems.head.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.head && equippedItems.head.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.head}`")
|
div(:class="`shop_${equippedItems.head}`")
|
||||||
h3 {{$t('headgearCapitalized')}}
|
h3 {{$t('headgearCapitalized')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.headAccessory && equippedItems.headAccessory.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.headAccessory && equippedItems.headAccessory.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.headAccessory}`")
|
div(:class="`shop_${equippedItems.headAccessory}`")
|
||||||
h3 {{$t('headAccess')}}
|
h3 {{$t('headAccess')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.back && equippedItems.back.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.back && equippedItems.back.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.back}`")
|
div(:class="`shop_${equippedItems.back}`")
|
||||||
h3 {{$t('backAccess')}}
|
h3 {{$t('backAccess')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.armor && equippedItems.armor.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.armor && equippedItems.armor.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.armor}`")
|
div(:class="`shop_${equippedItems.armor}`")
|
||||||
h3 {{$t('armorCapitalized')}}
|
h3 {{$t('armorCapitalized')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.body && equippedItems.body.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.body && equippedItems.body.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.body}`")
|
div(:class="`shop_${equippedItems.body}`")
|
||||||
h3 {{$t('bodyAccess')}}
|
h3 {{$t('bodyAccess')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.weapon && equippedItems.weapon.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.weapon && equippedItems.weapon.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.weapon}`")
|
div(:class="`shop_${equippedItems.weapon}`")
|
||||||
h3 {{$t('mainHand')}}
|
h3 {{$t('mainHand')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: equippedItems.shield && equippedItems.shield.indexOf("base_0") === -1}')
|
.box(:class='{white: equippedItems.shield && equippedItems.shield.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${equippedItems.shield}`")
|
div(:class="`shop_${equippedItems.shield}`")
|
||||||
h3 {{$t('offHand')}}
|
h3 {{$t('offHand')}}
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
h2.text-center {{$t('costume')}}
|
h2.text-center {{$t('costume')}}
|
||||||
.well
|
.well
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.eyewear && costumeItems.eyewear.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.eyewear && costumeItems.eyewear.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.eyewear}`")
|
div(:class="`shop_${costumeItems.eyewear}`")
|
||||||
h3 {{$t('eyewear')}}
|
h3 {{$t('eyewear')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.head && costumeItems.head.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.head && costumeItems.head.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.head}`")
|
div(:class="`shop_${costumeItems.head}`")
|
||||||
h3 {{$t('headgearCapitalized')}}
|
h3 {{$t('headgearCapitalized')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.headAccessory && costumeItems.headAccessory.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.headAccessory && costumeItems.headAccessory.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.headAccessory}`")
|
div(:class="`shop_${costumeItems.headAccessory}`")
|
||||||
h3 {{$t('headAccess')}}
|
h3 {{$t('headAccess')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.back && costumeItems.back.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.back && costumeItems.back.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.back}`")
|
div(:class="`shop_${costumeItems.back}`")
|
||||||
h3 {{$t('backAccess')}}
|
h3 {{$t('backAccess')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.armor && costumeItems.armor.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.armor && costumeItems.armor.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.armor}`")
|
div(:class="`shop_${costumeItems.armor}`")
|
||||||
h3 {{$t('armorCapitalized')}}
|
h3 {{$t('armorCapitalized')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.body && costumeItems.body.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.body && costumeItems.body.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.body}`")
|
div(:class="`shop_${costumeItems.body}`")
|
||||||
h3 {{$t('bodyAccess')}}
|
h3 {{$t('bodyAccess')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.weapon && costumeItems.weapon.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.weapon && costumeItems.weapon.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.weapon}`")
|
div(:class="`shop_${costumeItems.weapon}`")
|
||||||
h3 {{$t('mainHand')}}
|
h3 {{$t('mainHand')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: user.preferences.background}', style="overflow:hidden")
|
.box(:class='{white: user.preferences.background}', style="overflow:hidden")
|
||||||
div(:class="'icon_background_' + user.preferences.background")
|
div(:class="'icon_background_' + user.preferences.background")
|
||||||
h3 {{$t('background')}}
|
h3 {{$t('background')}}
|
||||||
.col-4.item-wrapper
|
.col-12.col-md-4.item-wrapper
|
||||||
.box(:class='{white: costumeItems.shield && costumeItems.shield.indexOf("base_0") === -1}')
|
.box(:class='{white: costumeItems.shield && costumeItems.shield.indexOf("base_0") === -1}')
|
||||||
div(:class="`shop_${costumeItems.shield}`")
|
div(:class="`shop_${costumeItems.shield}`")
|
||||||
h3 {{$t('offHand')}}
|
h3 {{$t('offHand')}}
|
||||||
.row.pet-mount-row
|
.row.pet-mount-row
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
h2.text-center(v-once) {{ $t('pets') }}
|
h2.text-center(v-once) {{ $t('pets') }}
|
||||||
.well.pet-mount-well
|
.well.pet-mount-well
|
||||||
.row.col-12
|
.row.col-12
|
||||||
.col-4
|
.col-12.col-md-4
|
||||||
.box(:class='{white: user.items.currentPet}')
|
.box(:class='{white: user.items.currentPet}')
|
||||||
.pet(:class="`Pet-${user.items.currentPet}`")
|
.pet(:class="`Pet-${user.items.currentPet}`")
|
||||||
.col-8
|
.col-12.col-md-8
|
||||||
div
|
div
|
||||||
| {{ formatAnimal(user.items.currentPet, 'pet') }}
|
| {{ formatAnimal(user.items.currentPet, 'pet') }}
|
||||||
div
|
div
|
||||||
@@ -212,14 +212,14 @@ div
|
|||||||
div
|
div
|
||||||
strong {{ $t('beastMasterProgress') }}:
|
strong {{ $t('beastMasterProgress') }}:
|
||||||
| {{ beastMasterProgress(user.items.pets) }}
|
| {{ beastMasterProgress(user.items.pets) }}
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
h2.text-center(v-once) {{ $t('mounts') }}
|
h2.text-center(v-once) {{ $t('mounts') }}
|
||||||
.well.pet-mount-well
|
.well.pet-mount-well
|
||||||
.row.col-12
|
.row.col-12
|
||||||
.col-4
|
.col-12.col-md-4
|
||||||
.box(:class='{white: user.items.currentMount}')
|
.box(:class='{white: user.items.currentMount}')
|
||||||
.mount(:class="`Mount_Icon_${user.items.currentMount}`")
|
.mount(:class="`Mount_Icon_${user.items.currentMount}`")
|
||||||
.col-8
|
.col-12.col-md-8
|
||||||
div
|
div
|
||||||
| {{ formatAnimal(user.items.currentMount, 'mount') }}
|
| {{ formatAnimal(user.items.currentMount, 'mount') }}
|
||||||
div
|
div
|
||||||
@@ -231,14 +231,14 @@ div
|
|||||||
#attributes.row
|
#attributes.row
|
||||||
hr.col-12
|
hr.col-12
|
||||||
h2.col-12 {{$t('attributes')}}
|
h2.col-12 {{$t('attributes')}}
|
||||||
.col-6(v-for="(statInfo, stat) in stats")
|
.col-12.col-md-6(v-for="(statInfo, stat) in stats")
|
||||||
.row.col-12.stats-column
|
.row.col-12.stats-column
|
||||||
.col-4.attribute-label
|
.col-12.col-md-4.attribute-label
|
||||||
span.hint(:popover-title='$t(statInfo.title)', popover-placement='right',
|
span.hint(:popover-title='$t(statInfo.title)', popover-placement='right',
|
||||||
:popover='$t(statInfo.popover)', popover-trigger='mouseenter')
|
:popover='$t(statInfo.popover)', popover-trigger='mouseenter')
|
||||||
.stat-title(:class='stat') {{ $t(statInfo.title) }}
|
.stat-title(:class='stat') {{ $t(statInfo.title) }}
|
||||||
strong.number {{ statsComputed[stat] }}
|
strong.number {{ statsComputed[stat] }}
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
ul.bonus-stats
|
ul.bonus-stats
|
||||||
li
|
li
|
||||||
strong {{$t('level')}}:
|
strong {{$t('level')}}:
|
||||||
@@ -257,26 +257,26 @@ div
|
|||||||
| {{user.stats.buffs[stat]}}
|
| {{user.stats.buffs[stat]}}
|
||||||
#allocation(v-if='user._id === userLoggedIn._id')
|
#allocation(v-if='user._id === userLoggedIn._id')
|
||||||
.row.title-row
|
.row.title-row
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
h3(v-if='userLevel100Plus', v-once, v-html="$t('noMoreAllocate')")
|
h3(v-if='userLevel100Plus', v-once, v-html="$t('noMoreAllocate')")
|
||||||
h3(v-if='user.stats.points || userLevel100Plus')
|
h3(v-if='user.stats.points || userLevel100Plus')
|
||||||
| {{$t('pointsAvailable')}}
|
| {{$t('pointsAvailable')}}
|
||||||
.counter.badge(v-if='user.stats.points || userLevel100Plus')
|
.counter.badge(v-if='user.stats.points || userLevel100Plus')
|
||||||
| {{user.stats.points}}
|
| {{user.stats.points}}
|
||||||
.col-6
|
.col-12.col-md-6
|
||||||
.float-right
|
.float-right
|
||||||
toggle-switch(:label="$t('autoAllocation')",
|
toggle-switch(:label="$t('autoAllocation')",
|
||||||
v-model='user.preferences.automaticAllocation',
|
v-model='user.preferences.automaticAllocation',
|
||||||
@change='userset({"preferences.automaticAllocation": Boolean(user.preferences.automaticAllocation), "preferences.allocationMode": "taskbased"})')
|
@change='userset({"preferences.automaticAllocation": Boolean(user.preferences.automaticAllocation), "preferences.allocationMode": "taskbased"})')
|
||||||
|
|
||||||
.row
|
.row
|
||||||
.col-3(v-for='(statInfo, stat) in allocateStatsList')
|
.col-12.col-md-3(v-for='(statInfo, stat) in allocateStatsList')
|
||||||
.box.white.row.col-12
|
.box.white.row.col-12
|
||||||
.col-12
|
.col-12
|
||||||
div(:class='stat') {{ $t(stats[stat].title) }}
|
div(:class='stat') {{ $t(stats[stat].title) }}
|
||||||
.number {{ user.stats[stat] }}
|
.number {{ user.stats[stat] }}
|
||||||
.points {{$t('pts')}}
|
.points {{$t('pts')}}
|
||||||
.col-4
|
.col-12.col-md-4
|
||||||
.up(v-if='user.stats.points', @click='allocate(stat)')
|
.up(v-if='user.stats.points', @click='allocate(stat)')
|
||||||
send-gems-modal(:userReceivingGems='userReceivingGems')
|
send-gems-modal(:userReceivingGems='userReceivingGems')
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
Reference in New Issue
Block a user