-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ui-v2' of https://github.com/IGS/gEAR into ui-v2
- Loading branch information
Showing
4 changed files
with
197 additions
and
140 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
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 |
---|---|---|
@@ -1,23 +1,14 @@ | ||
div#deafness_links_c img:hover { | ||
cursor: pointer; | ||
div.deafness-dropdown-header { | ||
font-weight: bold; | ||
} | ||
div#deafness_links_c img { | ||
height: 24px; | ||
width: 24px; | ||
div.deafness-dropdown-subheader { | ||
font-weight: italic; | ||
|
||
} | ||
div#deafness_popover_c, | ||
div#deafness_popover_templates_c { | ||
display: none; | ||
} | ||
ul#deafness_popover_phenotypes, | ||
ul#deafness_popover_links { | ||
list-style: none; | ||
margin-left: 5px; | ||
padding-left: 0; | ||
} | ||
.deafness_resource_link_i { | ||
list-style: none; | ||
} | ||
.deafness_resource_link_i a { | ||
padding-left: 10px; | ||
div.dm-deafness .dropdown-content { | ||
width: 25vw; | ||
} | ||
span.deafness-item-link { | ||
font-size: 90%; | ||
padding-left: 1em; | ||
} |
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 |
---|---|---|
@@ -1,49 +1,97 @@ | ||
<div class="column is-5 mb-0 pb-0"> | ||
<h4 class="mb-1">Deafness Gene Annotation</h4> | ||
<div class="tags are-small"> | ||
<span class="tag is-rounded">Mouse</span> | ||
<span class="tag is-rounded">Human</span> | ||
<span class="tag is-rounded">DFNA54</span> | ||
</div> | ||
</div> | ||
<div> | ||
|
||
<div class="dropdown is-right"> | ||
<div class="dropdown-trigger"> | ||
<button id="btn-deafness-gene-mouse" class="button is-rounded is-small btn-dm" | ||
aria-haspopup="true" aria-controls="dropdown-menu" | ||
data-tooltip="Click for mouse deafness genes"> | ||
<span class="icon is-small"> | ||
<img id="img-deafness-gene-mouse" src="./img/icons/org-1-outline-64.svg" /> | ||
</span> | ||
</button> | ||
</div> | ||
<div class="dropdown-menu dm-deafness" role="menu"> | ||
<div class="dropdown-content"> | ||
<div class="dropdown-item"> | ||
<div class="deafness-dropdown-header">Deafness gene info</div> | ||
<hr class="mt-2 mb-2" /> | ||
<div class="deafness-dropdown-subheader">Phenotypes</div> | ||
</div> | ||
<div id="dm-deafness-gene-mouse-phenotypes" class="dm-deafness-phenotypes pl-4 pr-4"></div> | ||
<div class="dropdown-item mt-3"> | ||
<div class="deafness-dropdown-subheader">Deafness resource links</div> | ||
</div> | ||
<div id="dm-deafness-gene-mouse-links" class="dm-deafness-links"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="dropdown is-right"> | ||
<div class="dropdown-trigger"> | ||
<button id="btn-deafness-gene-human" class="button is-rounded is-small btn-dm" | ||
aria-haspopup="true" aria-controls="dropdown-menu" | ||
data-tooltip="Click for human deafness genes"> | ||
<span class="icon is-small"> | ||
<img id="img-deafness-gene-human" src="./img/icons/org-2-outline-64.svg" /> | ||
</span> | ||
</button> | ||
</div> | ||
<div class="dropdown-menu dm-deafness" role="menu"> | ||
<div class="dropdown-content"> | ||
<div class="dropdown-item"> | ||
<div class="deafness-dropdown-header">Deafness gene info</div> | ||
<hr class="mt-2 mb-2" /> | ||
<div class="deafness-dropdown-subheader">Phenotypes</div> | ||
</div> | ||
<div id="dm-deafness-gene-human-phenotypes" class="dm-deafness-phenotypes pl-4 pr-4"></div> | ||
<div class="dropdown-item mt-3"> | ||
<div class="deafness-dropdown-subheader">Deafness resource links</div> | ||
</div> | ||
<div id="dm-deafness-gene-human-links" class="dm-deafness-links"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="dropdown is-right"> | ||
<div class="dropdown-trigger"> | ||
<button id="btn-deafness-gene-human-putative" class="button is-rounded is-small btn-dm" | ||
aria-haspopup="true" aria-controls="dropdown-menu" | ||
data-tooltip="Click for human (putative) deafness genes"> | ||
<span class="icon is-small"> | ||
<img id="img-deafness-gene-human-putative" src="./img/icons/org-2-unknown-outline-64.svg" /> | ||
</span> | ||
</button> | ||
</div> | ||
<div class="dropdown-menu dm-deafness" role="menu"> | ||
<div class="dropdown-content"> | ||
<div class="dropdown-item"> | ||
<div class="deafness-dropdown-header">Deafness gene info</div> | ||
<hr class="mt-2 mb-2" /> | ||
<div class="deafness-dropdown-subheader">Locus</div> | ||
</div> | ||
<div id="dm-deafness-gene-human-putative-loci" class="dm-deafness-phenotypes pl-4 pr-4"></div> | ||
<div class="dropdown-item mt-3"> | ||
<div class="deafness-dropdown-subheader">Deafness resource links</div> | ||
</div> | ||
<div id="dm-deafness-gene-human-putative-links" class="dm-deafness-links"></div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<!-- | ||
<div id='deafness_annotation_plugin_c'> | ||
<h4>Deafness gene annotation</h4> | ||
<div id="deafness_links_c"> | ||
<button id="deafness_gene_mouse" class="icon-deafness-gene" | ||
data-title="No data available" data-popover=''> | ||
<img src="./img/icons/org-1-outline-64.svg" alt="Mouse" /> | ||
</button> | ||
<button id="deafness_gene_human" class="icon-deafness-gene" | ||
data-title="No data available" data-popover=''> | ||
<img src="./img/icons/org-2-outline-64.svg" alt="Human" /> | ||
</button> | ||
<button id="deafness_gene_human_putative" class="icon-deafness-gene" | ||
data-title="No data available" data-popover=''> | ||
<img src="./img/icons/org-2-unknown-outline-64.svg" alt="Human" /> | ||
</button> | ||
</div> | ||
<!-- Don't use single quotes below here --> | ||
|
||
<!-- | ||
<div id="deafness_popover_c"> | ||
<h4>Phenotypes</h4> | ||
<ul id="deafness_popover_phenotypes">No data available</ul> | ||
<h4>Deafness resource links</h4> | ||
<ul id="deafness_popover_links"></ul> | ||
</div> | ||
<div id="deafness_popover_templates_c"> | ||
<template id="tmpl_deafness_phenotypes"> | ||
<li class="deafness_phenotype_i">{{:#data}}</li> | ||
</template> | ||
<template id="tmpl_deafness_resource_links"> | ||
<li class="deafness_resource_link_i"><i class="fa fa-external-link"></i><a href="{{:url}}" target="_blank">{{:label}}</a></li> | ||
</template> | ||
<template id="tmpl-deafness-phenotype"> | ||
<span class="tag is-light"></span> | ||
</template> | ||
<template id="tmpl-deafness-resource-link"> | ||
<span class="icon-text dropdown-item deafness-item-link"> | ||
<span class="icon"> | ||
<i class="mdi mdi-open-in-new"></i> | ||
</span> | ||
<span> | ||
<a href="" target="_blank"></a> | ||
</span> | ||
</span> | ||
</template> | ||
</div> | ||
</div> | ||
--> |
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