This repository has been archived by the owner on Jul 8, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from fivejars/1.4
1.4
- Loading branch information
Showing
131 changed files
with
5,131 additions
and
253 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions
12
js/gated-content/src/assets/svg/cameraswitch_black_24dp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
js/gated-content/src/assets/svg/fullscreen_exit_black_24dp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions
4
js/gated-content/src/assets/svg/question_answer_black_24dp.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<template> | ||
<div class="accordion-tab"> | ||
<div class="accordion-tab__header" | ||
@click="toggle" | ||
> | ||
<div>{{ title }}</div> | ||
<div>{{ open ? '-' : '+' }}</div> | ||
</div> | ||
<div class="accordion-tab__content" | ||
v-if="content && open" | ||
v-html="content" | ||
></div> | ||
<div | ||
v-else-if="open" | ||
class="accordion-tab__content" | ||
> | ||
<slot></slot> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: 'AccordionTab', | ||
props: { | ||
title: { | ||
type: String, | ||
default: 'Tab Title', | ||
}, | ||
content: { | ||
type: String, | ||
default: undefined, | ||
}, | ||
}, | ||
data() { | ||
return { | ||
open: false, | ||
}; | ||
}, | ||
methods: { | ||
toggle() { | ||
this.open = !this.open; | ||
}, | ||
}, | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
js/gated-content/src/components/personal-training/Meeting.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<template> | ||
<JoinMeeting | ||
v-if="!isJoinedVideoSession" | ||
></JoinMeeting> | ||
<div | ||
class="personal-training-full-screen" | ||
v-else | ||
> | ||
<Chat></Chat> | ||
<LeaveMeeting></LeaveMeeting> | ||
<ViewOptions></ViewOptions> | ||
<div | ||
class="personal-training-meeting" | ||
> | ||
<MeetingPlayer></MeetingPlayer> | ||
<ControlPanel></ControlPanel> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { mapGetters } from 'vuex'; | ||
import ControlPanel from '@/components/personal-training/meeting/ControlPanel.vue'; | ||
import MeetingPlayer from '@/components/personal-training/meeting/MeetingPlayer.vue'; | ||
import JoinMeeting from '@/components/personal-training/meeting/JoinMeeting.vue'; | ||
import Chat from '@/components/personal-training/modal/Chat.vue'; | ||
import LeaveMeeting from '@/components/personal-training/modal/LeaveMeeting.vue'; | ||
import ViewOptions from '@/components/personal-training/modal/ViewOptions.vue'; | ||
export default { | ||
components: { | ||
Chat, JoinMeeting, MeetingPlayer, ControlPanel, ViewOptions, LeaveMeeting, | ||
}, | ||
computed: { | ||
...mapGetters([ | ||
'isJoinedVideoSession', | ||
]), | ||
}, | ||
watch: { | ||
isJoinedVideoSession(newVal) { | ||
if (newVal === true) { | ||
document.querySelector('html').style.overflow = 'hidden'; | ||
} else { | ||
document.querySelector('html').style.overflow = 'scroll'; | ||
} | ||
}, | ||
}, | ||
}; | ||
</script> |
Oops, something went wrong.