Skip to content

Commit

Permalink
feat(tree): Add bergeys URL to tree.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronmussig committed Feb 24, 2023
1 parent 2636306 commit 7338feb
Showing 1 changed file with 29 additions and 30 deletions.
59 changes: 29 additions & 30 deletions pages/tree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
</div>

<!-- Link annotation selection options -->
<div class="treeAnnotation rounded-lg mt-5 pa-2" style="font-size: 12px;" v-if="showExternalResourcesTmp">
<div class="treeAnnotation rounded-lg mt-5 pa-2" style="font-size: 12px;">
<v-row no-gutters>
<b>External Resources</b>
</v-row>
Expand All @@ -85,17 +85,17 @@
</template>
</v-checkbox>
</v-row>
<v-row no-gutters>
<v-checkbox
v-model="showSeqcodeUrl"
class="font-12px"
color="#4b0082"
dense
hide-details
label="SeqCode"
>
</v-checkbox>
</v-row>
<!-- <v-row no-gutters>-->
<!-- <v-checkbox-->
<!-- v-model="showSeqcodeUrl"-->
<!-- class="font-12px"-->
<!-- color="#4b0082"-->
<!-- dense-->
<!-- hide-details-->
<!-- label="SeqCode"-->
<!-- >-->
<!-- </v-checkbox>-->
<!-- </v-row>-->
</div>

</div>
Expand Down Expand Up @@ -219,11 +219,11 @@
</template>

<!-- SeqCode URL -->
<template v-if="showSeqcodeUrl && item.seqcodeUrl">
<a :href="item.seqcodeUrl" style="display: contents" target="_blank">
<img alt="SeqCode icon" height="28" src="~/assets/images/logos/seqcode.svg" width="28"/>
</a>
</template>
<!-- <template v-if="showSeqcodeUrl && item.seqcodeUrl">-->
<!-- <a :href="item.seqcodeUrl" style="display: contents" target="_blank">-->
<!-- <img alt="SeqCode icon" height="28" src="~/assets/images/logos/seqcode.svg" width="28"/>-->
<!-- </a>-->
<!-- </template>-->

</div>
</template>
Expand Down Expand Up @@ -303,7 +303,7 @@
</div>

<!-- Link annotation selection options -->
<div class="treeAnnotation rounded-lg mt-5 pa-2" style="font-size: 12px;" v-if="showExternalResourcesTmp">
<div class="treeAnnotation rounded-lg mt-5 pa-2" style="font-size: 12px;">
<v-row no-gutters>
<b>External Resources</b>
</v-row>
Expand All @@ -321,17 +321,17 @@
</template>
</v-checkbox>
</v-row>
<v-row no-gutters>
<v-checkbox
v-model="showSeqcodeUrl"
class="font-12px"
color="#4b0082"
dense
hide-details
label="SeqCode"
>
</v-checkbox>
</v-row>
<!-- <v-row no-gutters>-->
<!-- <v-checkbox-->
<!-- v-model="showSeqcodeUrl"-->
<!-- class="font-12px"-->
<!-- color="#4b0082"-->
<!-- dense-->
<!-- hide-details-->
<!-- label="SeqCode"-->
<!-- >-->
<!-- </v-checkbox>-->
<!-- </v-row>-->
</div>

<!-- Taxonomy table for the selected taxon -->
Expand Down Expand Up @@ -424,7 +424,6 @@ export default Vue.extend({
showDescGenomes: true,
showBergeysUrl: false,
showSeqcodeUrl: false,
showExternalResourcesTmp: false,
}),
watch: {
// If the user searches for a taxon, manipulate the tree
Expand Down

0 comments on commit 7338feb

Please sign in to comment.