-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- FIX: Fixed issues with adding comments and the box not clearing.
- ADD: Added the option to reorder the home page widgets. - ADD: Added option to not average values across sets and the same day when exporting to Germinate Excel templates.
- Loading branch information
1 parent
b01f650
commit 9d06c86
Showing
17 changed files
with
196 additions
and
55 deletions.
There are no files selected for viewing
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,57 @@ | ||
<template> | ||
<b-row> | ||
<b-col cols=6 md=3 class="mb-4" v-for="banner in homeBanners" :key="`home-banner-${banner.id}`"> | ||
<b-card class="home-card h-100" no-body> | ||
<b-card-img class="p-2 p-md-4 p-lg-5" :top="true" :src="require(`@/assets/img/${banner.image}`)" /> | ||
<b-card-body> | ||
<b-card-title>{{ banner.title }}</b-card-title> | ||
<b-card-sub-title>{{ banner.subtitle }}</b-card-sub-title> | ||
</b-card-body> | ||
<b-button variant="primary" class="stretched-link" :to="banner.to"><BIconCaretRight /> {{ $t('buttonSelect') }}</b-button> | ||
</b-card> | ||
</b-col> | ||
</b-row> | ||
</template> | ||
|
||
<script> | ||
import { BIconCaretRight } from 'bootstrap-vue' | ||
export default { | ||
components: { | ||
BIconCaretRight | ||
}, | ||
computed: { | ||
homeBanners: function () { | ||
return [{ | ||
id: 'setup', | ||
title: this.$t('pageHomeCardTitleSetup'), | ||
subtitle: this.$t('pageHomeCardSubtitleSetup'), | ||
image: 'banner-setup.svg', | ||
to: { name: 'trial-setup' } | ||
}, { | ||
id: 'share', | ||
title: this.$t('pageHomeCardTitleShareData'), | ||
subtitle: this.$t('pageHomeCardSubtitleShareData'), | ||
image: 'banner-share.svg', | ||
to: { name: 'trial-import' } | ||
}, { | ||
id: 'example', | ||
title: this.$t('pageHomeCardTitleLoadExample'), | ||
subtitle: this.$t('pageHomeCardSubtitleLoadExample'), | ||
image: 'banner-load-example.svg', | ||
to: { name: 'load-example' } | ||
}, { | ||
id: 'settings', | ||
title: this.$t('pageHomeCardTitleSettings'), | ||
subtitle: this.$t('pageHomeCardSubtitleSettings'), | ||
image: 'banner-settings.svg', | ||
to: { name: 'settings' } | ||
}] | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style> | ||
</style> |
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
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
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
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
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
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
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
Oops, something went wrong.