Skip to content
Snippets Groups Projects
Commit b69fa8cd authored by Piotr Gawron's avatar Piotr Gawron
Browse files

missing html file

parent e1b27ecf
No related branches found
No related tags found
1 merge request!5Frontend refactor
......@@ -6,82 +6,38 @@
xmlns:cc="http://java.sun.com/jsf/composite/pfcomp"
xmlns:p="http://primefaces.org/ui">
<h:outputStylesheet library="css" name="miRNA.css" />
<h:form id="miRNAForm" class="miRNAPanel">
<h:panelGrid id="miRNASearchComponent" columns="2" cellpadding="4"
style="width:100%;" disabled="true">
<h:outputText value="FIND TARGETS: " style="font-weight:900" />
<cc:helpButton helpText='source: &lt;a target="_mirtarbase" href="http://mirtarbase.mbc.nctu.edu.tw/"&gt;miRTarBase&lt;/a&gt;&lt;p&gt;use only mature sequence IDs according to &lt;a target="_mirbase" href="http://www.mirbase.org"&gt;www.mirbase.org&lt;/a&gt; (e.g., hsa-miR-125a-3p)&lt;p&gt;only targets with strong evidence as defined by miRTarBase are displayed&lt;p&gt;separate multiple search by semicolon' style="float:right;margin-top:-27px;margin-right:-20px;"/>
<p:inputText size="18" id="searchMiRNA" styleClass="searchTextClass"
onkeypress="if (event.keyCode == 13) { document.getElementById('tabView:miRNAForm:searchMiRNAButton').click(); return false; }" />
<p:commandLink id="searchMiRNAButton"
actionListener="#{miRNAMB.search}" update="miRNAResults" ajax="true"
onclick="PF('miRNAPanelBlock').show()"
oncomplete="PF('miRNAPanelBlock').hide();GuiConnector.miRnaTabNavi.refreshAfterDataUpdate();">
<h:graphicImage library="images" name="icons/search.png"
style="border:0" />
</p:commandLink>
</h:panelGrid>
<h:panelGroup>
<div class="miRNAResultsDivClass">
<p:remoteCommand name="updateMiRNAResults" update="miRNAResults" />
<p:tabView id="miRNAResults" styleClass="miRNAResultsDivClass2"
value="#{miRNAMB.results}" var="miRNAView">
<p:tab>
<f:facet name="title">
<h:outputText value="#{miRNAView.name}" style="padding: 5px 10px" />
</f:facet>
<p:scrollPanel mode="native" styleClass="bulletList">
<p:separator id="separator" />
<h:outputText value="MiRNA: " styleClass="labelTextBold" />
<a href="#{'http://www.mirbase.org/cgi-bin/mirna_entry.pl?acc='.concat(miRNAView.name)}"
target="_mirnaLink" ><h:outputText value="#{miRNAView.name}" class="labelText" rendered="#{miRNAView.name!='Not found'}"/>
</a>
<br />
<h:outputText value="Targets: " styleClass="labelTextBold" />
<br />
<p:dataTable id="miRNADataTable" var="searchRow"
value="#{miRNAView.targetRows}" scrollable="false"
scrollHeight="100%" emptyMessage="">
<p:column style="width:20px" width="20px">
<p:selectBooleanCheckbox styleClass="smallCheckbox"
rendered="#{searchRow.selectable}"
value="#{searchRow.selected}">
<h:graphicImage library="images" name="#{searchRow.icon}"
styleClass="smallIcon" style="border:0" />
<p:ajax event="change"
listener="#{miRNAMB.refreshOverlayCollection}" />
</p:selectBooleanCheckbox>
</p:column>
<p:column>
<cc:targetView element="#{searchRow}"/>
</p:column>
</p:dataTable>
<p:separator />
</p:scrollPanel>
</p:tab>
</p:tabView>
<p:blockUI block="miRNASearchComponent" widgetVar="miRNAPanelBlock">
LOADING<br />
<p:graphicImage id="miRNAPanelBlocked" library="images"
name="/icons/ajax-loader.gif" />
</p:blockUI>
</div>
</h:panelGroup>
</h:form>
<h:form id="_mirnaConnector">
<p:remoteCommand async="true" name="_requestMiRnaDetailDataFunction" actionListener="#{miRNAMB.requestDetailData}"/>
<p:remoteCommand name="_refreshMiRnaOverlayCollection" actionListener="#{miRNAMB.refreshOverlayCollection}"/>
<p:remoteCommand name="_registerMiRnaOverlayCollection" actionListener="#{miRNAMB.registerOverlayCollection}"/>
<p:remoteCommand name="_clearMiRnaOverlayCollection" actionListener="#{miRNAMB.clear}" update=":tabView:miRNAForm:miRNAResults :tabView:miRNAForm:searchMiRNA"/>
</h:form>
<h:outputStylesheet library="css" name="global.css" />
<div id="mirnaTab">
<div name="searchQuery" class="searchPanel">
<table cellpadding="4" style="width:100%">
<tbody>
<tr>
<td>FIND TARGETS:</td>
</tr>
<tr>
<td>
<input name="searchInput" class="input-field typeahead" autocomplete="off"/>
</td>
<td>
<a name="searchButton" href="#">
<img src="resources/images/icons/search.png"/>
</a>
</td>
</tr>
</tbody>
</table>
</div>
<div name="searchResults" class="tabbable boxed parentTabs">
<ul class="nav nav-tabs">
<li class="active"><a href="#set1"/></li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active in" id="set1">
</div>
</div>
</div>
</div>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment