-
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.
feat(tree): Add popup help text for counts.
- Loading branch information
1 parent
c895063
commit 9264f26
Showing
2 changed files
with
63 additions
and
5 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,56 @@ | ||
<template> | ||
<div class="text-center"> | ||
<v-dialog | ||
v-model="dialog" | ||
max-width="700" | ||
> | ||
<template v-slot:activator="{ on, attrs }"> | ||
<v-btn | ||
color="#9e93ca" | ||
icon | ||
v-bind="attrs" | ||
x-small | ||
v-on="on" | ||
> | ||
<v-icon> | ||
{{ mdiHelpCircleSvg }} | ||
</v-icon> | ||
</v-btn> | ||
</template> | ||
|
||
<v-card> | ||
<v-card-title class="text-h5 grey lighten-2"> | ||
Taxon suffix counts | ||
</v-card-title> | ||
|
||
<v-card-text> | ||
<div class="pt-3"> | ||
<p> | ||
Note that taxon ranks above genus with an alphabetical suffix are not included in the counts. | ||
</p> | ||
<p> | ||
For more information, see the | ||
<nuxt-link to="faq#why-do-some-family-and-higher-rank-names-end-with-an-alphabetic-suffix">FAQ</nuxt-link>. | ||
</p> | ||
</div> | ||
</v-card-text> | ||
|
||
</v-card> | ||
</v-dialog> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import Vue from 'vue'; | ||
import {mdiHelpCircle} from "@mdi/js"; | ||
export default Vue.extend({ | ||
data: () => ({ | ||
mdiHelpCircleSvg: mdiHelpCircle, | ||
dialog: false | ||
}), | ||
}) | ||
</script> | ||
|
||
<style scoped> | ||
</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