diff --git a/.idea/runConfigurations/Build_static_assets.xml b/.idea/runConfigurations/Build_static_assets.xml new file mode 100644 index 0000000000..38e4bf7e41 --- /dev/null +++ b/.idea/runConfigurations/Build_static_assets.xml @@ -0,0 +1,12 @@ + + + + + + + +<%-- for dwr creation of javascript objects to mirror java value objects; including one of these causes all the objects to be exposed.--%> + +<%-- We should use this as soon as we figure out how to set generateDtoClasses option to dtoall + script type="text/javascript" src="/Gemma/dwr/dtoall.js"> --%> +<%-- log javascript errors --%> + \ No newline at end of file diff --git a/gemma-web/src/main/webapp/common/exception.jsp b/gemma-web/src/main/webapp/common/exception.jsp index 6e5ebf8f48..e275484508 100644 --- a/gemma-web/src/main/webapp/common/exception.jsp +++ b/gemma-web/src/main/webapp/common/exception.jsp @@ -1,26 +1,19 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %>
-

- - - +
-
-

- - <%-- this is causing stackoverflow errors ... no idea why, since upgrading to spring 3.2 from 3.0.7 --%> - - + <%-- this is causing stackoverflow errors ... no idea why, since upgrading to spring 3.2 from 3.0.7 --%> +
-
-

+
+

${fn:escapeXml(requestScope['javax.servlet.error.message'])}" />

+
-
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/common/header.inner.jsp b/gemma-web/src/main/webapp/common/header.inner.jsp index 76de312d71..1d904ed851 100644 --- a/gemma-web/src/main/webapp/common/header.inner.jsp +++ b/gemma-web/src/main/webapp/common/header.inner.jsp @@ -1,6 +1,6 @@ <%@ include file="/common/taglibs.jsp"%> - +
in English diff --git a/gemma-web/src/main/webapp/common/meta.jsp b/gemma-web/src/main/webapp/common/meta.jsp deleted file mode 100644 index 7590c3c945..0000000000 --- a/gemma-web/src/main/webapp/common/meta.jsp +++ /dev/null @@ -1,41 +0,0 @@ -<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -"/> - - - diff --git a/gemma-web/src/main/webapp/common/taglibs.jsp b/gemma-web/src/main/webapp/common/taglibs.jsp index e8e69e6a16..1059eeeb2a 100644 --- a/gemma-web/src/main/webapp/common/taglibs.jsp +++ b/gemma-web/src/main/webapp/common/taglibs.jsp @@ -1,5 +1,3 @@ -<%@ page language="java" errorPage="/pages/error/500.jsp" pageEncoding="UTF-8" - contentType="text/html; charset=utf-8"%> <%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%> <%@ taglib uri="http://www.springframework.org/security/tags" prefix="security"%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> diff --git a/gemma-web/src/main/webapp/common/userStatusVariables.jsp b/gemma-web/src/main/webapp/common/userStatusVariables.jsp index 29ab29fdaf..a8895ad415 100644 --- a/gemma-web/src/main/webapp/common/userStatusVariables.jsp +++ b/gemma-web/src/main/webapp/common/userStatusVariables.jsp @@ -1,35 +1,38 @@ -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp" %> + <%-- Security fields used in Java script calls to hide or display information on pages, used to be in footer --%> - + - + - + - + - + - + - " /> + " /> - + <%-- dump some other useful settings --%> - - - + + + diff --git a/gemma-web/src/main/webapp/decorators/default.jsp b/gemma-web/src/main/webapp/decorators/default.jsp index d4432bdd95..bce14da43f 100644 --- a/gemma-web/src/main/webapp/decorators/default.jsp +++ b/gemma-web/src/main/webapp/decorators/default.jsp @@ -1,77 +1,43 @@ +<%@ include file="/common/taglibs.jsp" %> + -<%-- Include common set of tag library declarations for each layout --%> -<%@ include file="/common/taglibs.jsp"%> - + -<%-- Include common set of meta tags for each layout --%> -<%@ include file="/common/meta.jsp"%> - - + + <decorator:title /> | <fmt:message key="webapp.name" /> - + +" /> +" /> + - - - - - - -<%-- for dwr creation of javascript objects to mirror java value objects; including one of these causes all the objects to be exposed.--%> - -<%-- We should use this as soon as we figure out how to set generateDtoClasses option to dtoall - script type='text/javascript' src='/Gemma/dwr/dtoall.js'> --%> - + <%-- for registration, possible from any page--%> - -<%-- log javascript errors --%> - - + + + + - - - - > - -
- -
- -
- - -
- - - -
- <%@ include file="/common/messages.jsp"%> - -

- -

- - - -
- - -
- - - - - -
- + + +
+
+ +
+
+
+ <%@ include file="/common/messages.jsp" %> + +
+
+
- - + \ No newline at end of file diff --git a/gemma-web/src/main/webapp/error.jsp b/gemma-web/src/main/webapp/error.jsp index 66705e1df2..0fe166a1d9 100644 --- a/gemma-web/src/main/webapp/error.jsp +++ b/gemma-web/src/main/webapp/error.jsp @@ -1,12 +1,12 @@ +<%@ page isErrorPage="true" %> + <%@ include file="/common/taglibs.jsp" %> - - -<%@ page isErrorPage="true" %> +--%> @@ -38,7 +38,8 @@ If you can, avoid producing error this way and prefer raising an exception that

Unsupported Status Code

- There is no error page configured for the status code . + There is no error page configured for the status code .


<%@ include file="/common/exception.jsp" %> diff --git a/gemma-web/src/main/webapp/pages/admin/activeUsers.jsp b/gemma-web/src/main/webapp/pages/admin/activeUsers.jsp index 0b89e68687..d932eb7e32 100644 --- a/gemma-web/src/main/webapp/pages/admin/activeUsers.jsp +++ b/gemma-web/src/main/webapp/pages/admin/activeUsers.jsp @@ -1,44 +1,41 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> + <fmt:message key="activeUsers.title" /> - - - -
-

Tasks

-
+

Tasks

+
-
+
-

- -

- +

+ +

+
Signed in: ?
- -
-
-

FIXME table of authenticated users should go here.

- -

System Stats

- + + +
+

FIXME table of authenticated users should go here.

+ +

System Stats

+ Gemma version ${appConfig["gemma.version"] != null ? appConfig["gemma.version"] : "?"} built @@ -48,11 +45,11 @@ from ${appConfig["gemma.build.gitHash"]} + target="_blank" rel="noopener noreferrer">${appConfig["gemma.build.gitHash"]} - + - +
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/admin/geoRecordBrowser.jsp b/gemma-web/src/main/webapp/pages/admin/geoRecordBrowser.jsp index 472b625973..dfcf62130c 100644 --- a/gemma-web/src/main/webapp/pages/admin/geoRecordBrowser.jsp +++ b/gemma-web/src/main/webapp/pages/admin/geoRecordBrowser.jsp @@ -1,61 +1,56 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> GEO Record browser - - + + +
+ +
+ +
+

+ Displaying GEO records. +

+
+ +
+ +
+
+

+ Note: Records are not shown for taxa not in the Gemma system. If you + choose to load an experiment, please be careful: experiments that + have two (or more) array designs should be loaded using the regular + load form if you need to suppress the sample-matching functions. + Click on a row to display more information about the dataset, if available + from GEO, including information about platforms. This information is + often not available for a day or two after the data sets becomes + publicly available. +

+

+ To search GEO, type your query in the 'Search' field, e.g. Mus+musculus[ORGN]+AND+brain[ALL]. + For more information on how to construct queries, go to the + NCBI website. +

+
+ - - - - -
- -
- -
-

- Displaying GEO records. -

-
- -
- -
-
-

- Note: Records are not shown for taxa not in the Gemma system. If you - choose to load an experiment, please be careful: experiments that - have two (or more) array designs should be loaded using the regular - load form if you need to suppress the sample-matching functions. - Click on a row to display more information about the dataset, if available - from GEO, including information about platforms. This information is - often not available for a day or two after the data sets becomes - publicly available. -

-

- To search GEO, type your query in the 'Search' field, e.g. Mus+musculus[ORGN]+AND+brain[ALL]. - For more information on how to construct queries, go to the - NCBI website. -

-
- - \ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/admin/indexer.jsp b/gemma-web/src/main/webapp/pages/admin/indexer.jsp index 14b49246b4..22b6f21aa7 100644 --- a/gemma-web/src/main/webapp/pages/admin/indexer.jsp +++ b/gemma-web/src/main/webapp/pages/admin/indexer.jsp @@ -1,31 +1,25 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - Index Gemma - - - - +Manage Search Indexes + - - - - -

- Choose the indexing options that are appropriate and then click - index. -

- -
-
- -
-
- -
- +
+

Manage Search Indexes

+ +

+ Choose the indexing options that are appropriate and then click + index. +

+
+
+ +
+
+
+
diff --git a/gemma-web/src/main/webapp/pages/admin/loadExpressionExperimentForm.jsp b/gemma-web/src/main/webapp/pages/admin/loadExpressionExperimentForm.jsp index c53d71e14b..b1fd679b37 100644 --- a/gemma-web/src/main/webapp/pages/admin/loadExpressionExperimentForm.jsp +++ b/gemma-web/src/main/webapp/pages/admin/loadExpressionExperimentForm.jsp @@ -1,181 +1,177 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - - - - - <fmt:message key="expressionExperimentLoad.title" /> + <fmt:message key="expressionExperimentLoad.title" /> + + - - - -
- -
-
+
+ +
- +
- - - - - + + + + + + + + + + + + +
- - - " /> - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - + + + + + - - - - - - - - - - - - -
+ + + " /> + -
- - - - - - "> - " value="true" - checked /> - +
+ + + + + + "> + " value="true" + checked /> + -
- - - - - - "> - " - value="true" id="loadPlatformOnly" - checked /> - +
+ + + + + + "> + " + value="true" id="loadPlatformOnly" + checked /> + -
- - - - - - "> - " value="true" - checked /> - +
+ + + + + + "> + " value="true" + checked /> + -
- - - - - - "> - " value="true" - checked /> - +
+ + + + + + "> + " value="true" + checked /> + -
- - - - - - "> - " value="true" - checked /> - +
+ + + + + + "> + " value="true" + checked /> + -
- - - - - - "> - " value="false" - checked /> - +
+ + + + + + "> + " value="false" + checked /> + -
- - -
-
-
-
+
+ + +
+
+
+
+ + diff --git a/gemma-web/src/main/webapp/pages/admin/maintenanceMode.jsp b/gemma-web/src/main/webapp/pages/admin/maintenanceMode.jsp index 312b8be282..0704885602 100644 --- a/gemma-web/src/main/webapp/pages/admin/maintenanceMode.jsp +++ b/gemma-web/src/main/webapp/pages/admin/maintenanceMode.jsp @@ -1,13 +1,19 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> -

- Maintenance mode simply puts a notice on every page that things might - be broken. -

-
- + +Maintenance Mode + - -
\ No newline at end of file +
+

+ Maintenance mode simply puts a notice on every page that things might + be broken. +

+
+ + + +
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/admin/reIndexOntologies.jsp b/gemma-web/src/main/webapp/pages/admin/reIndexOntologies.jsp index 5962a8d1e0..a9c928e533 100755 --- a/gemma-web/src/main/webapp/pages/admin/reIndexOntologies.jsp +++ b/gemma-web/src/main/webapp/pages/admin/reIndexOntologies.jsp @@ -2,10 +2,7 @@ Index Gemma - - - diff --git a/gemma-web/src/main/webapp/pages/admin/systemStats.jsp b/gemma-web/src/main/webapp/pages/admin/systemStats.jsp index 8c61429684..3782ba9f5c 100644 --- a/gemma-web/src/main/webapp/pages/admin/systemStats.jsp +++ b/gemma-web/src/main/webapp/pages/admin/systemStats.jsp @@ -1,7 +1,6 @@ <%@ include file="/common/taglibs.jsp"%> -System stats - +System Stats +
+

EE Page

+
-

EE Page

-
+

ComboBoxes

+

DatasetGroup combo

+
-

ComboBoxes

-

DatasetGroup combo

-
+

DatasetGroupComboPanel

+
+

TaxonCombo

+
-

DatasetGroupComboPanel

-
-

TaxonCombo

-
+

FactorValueCombo

+
-

FactorValueCombo

-
+

Dataset search field

+
+
-

Dataset search field

-
-
+

CharacteristicCombo

+
+

Gene combo

+
-

CharacteristicCombo

-
+

Gene Group Combo

+
-

Gene combo

-
-

Gene Group Combo

-
+

MGEDCombo

+
+

ArrayDesignCombo

+
+

Panels

-

ArrayDesignCombo

-
+

GeneChooserPanel

+
-

Panels

-

GeneChooserPanel

-
+

DatasetGroupGridPanel with DatasetGroupEditToolbar

+
+

ExpressionExperiment Grid

+
+

AuditTrailGrid

+
-

DatasetGroupGridPanel with DatasetGroupEditToolbar

-
-

ExpressionExperiment Grid

-
+

FilesUpload

+
+

Visualization

+
-

AuditTrailGrid

-
+

ProgressWidget

+
-

FilesUpload

-
+

AnalysisResultsSearch

+
+
+
+
-

Visualization

-
+

Widget

+
-

ProgressWidget

-
+

Font-awesome test

+

+ fa-camera-retro +

+
+ diff --git a/gemma-web/src/main/webapp/pages/analysesResultsSearch.jsp b/gemma-web/src/main/webapp/pages/analysesResultsSearch.jsp index 1a810bc9c5..ace50307af 100755 --- a/gemma-web/src/main/webapp/pages/analysesResultsSearch.jsp +++ b/gemma-web/src/main/webapp/pages/analysesResultsSearch.jsp @@ -1,34 +1,23 @@ +<%@ include file="/common/taglibs.jsp" %> - - - Search Analyses Results - - - - - - + +Search Analyses Results + + + - - +
- - - +Ext.onReady( function() { + Ext.QuickTips.init(); -
- + new Gemma.GemmaViewPort( { + centerPanelConfig : new Gemma.AnalysisResultsSearch() + } ); +} ); + diff --git a/gemma-web/src/main/webapp/pages/arrayDesign.detail.jsp b/gemma-web/src/main/webapp/pages/arrayDesign.detail.jsp index 17c80a31dc..8dfc0a0132 100644 --- a/gemma-web/src/main/webapp/pages/arrayDesign.detail.jsp +++ b/gemma-web/src/main/webapp/pages/arrayDesign.detail.jsp @@ -1,32 +1,27 @@ -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp" %> - +${fn:escapeXml(arrayDesign.shortName)} - ${fn:escapeXml(arrayDesign.name)} + + + + + + - -${arrayDesignShortName} - ${arrayDesignName } - - - - - - - - diff --git a/gemma-web/src/main/webapp/pages/arrayDesign.edit.jsp b/gemma-web/src/main/webapp/pages/arrayDesign.edit.jsp index b3b92f5341..fed57c8c02 100644 --- a/gemma-web/src/main/webapp/pages/arrayDesign.edit.jsp +++ b/gemma-web/src/main/webapp/pages/arrayDesign.edit.jsp @@ -1,6 +1,8 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> -Edit Array Design ${arrayDesign.name} + +Edit ${fn:escapeXml(arrayDesign.name)} + @@ -16,70 +18,73 @@
" id="arrayDesignForm" - onsubmit="return validateArrayDesign(this)"> + onsubmit="return validateArrayDesign(this)"> - - - - - - - -
- - - - " id="name" /> - - -
- - - - " id="shortName" /> - + + + + + + + + - - - - - + + + + + + + - - - - - - - - + + + + + + + + -
+ + + + " id="name" /> + + +
+ + + + " id="shortName" /> + - -
- - - - - -
+ + + + + +
- - - - - - -
- " /> - " /> - -
+ + + + + + +
+ " /> + " /> + +
+
diff --git a/gemma-web/src/main/webapp/pages/arrayDesign.jsp b/gemma-web/src/main/webapp/pages/arrayDesign.jsp deleted file mode 100644 index c6c14e0968..0000000000 --- a/gemma-web/src/main/webapp/pages/arrayDesign.jsp +++ /dev/null @@ -1,14 +0,0 @@ -<%@ include file="/common/taglibs.jsp"%> - - - <jsp:getProperty name="arrayDesign" property="shortName" /> - <jsp:getProperty name="arrayDesign" - property="name" /> - - - - - - - - -
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/arrayDesigns.jsp b/gemma-web/src/main/webapp/pages/arrayDesigns.jsp index 6c400b92b9..78fb8ed733 100644 --- a/gemma-web/src/main/webapp/pages/arrayDesigns.jsp +++ b/gemma-web/src/main/webapp/pages/arrayDesigns.jsp @@ -1,23 +1,16 @@ - -<%@ include file="/common/taglibs.jsp"%> - +Platforms + + - - - -Platforms - diff --git a/gemma-web/src/main/webapp/pages/bibRefAdd.jsp b/gemma-web/src/main/webapp/pages/bibRefAdd.jsp new file mode 100644 index 0000000000..90c0c07d02 --- /dev/null +++ b/gemma-web/src/main/webapp/pages/bibRefAdd.jsp @@ -0,0 +1,22 @@ +<%@ include file="/common/taglibs.jsp" %> + + +Import ${fn:escapeXml(bibliographicReference.pubAccession.accession)} + from ${fn:escapeXml(bibliographicReference.pubAccession.externalDatabase.name)} + + + +
+

Import ${fn:escapeXml(bibliographicReference.pubAccession.accession)} + from ${fn:escapeXml(bibliographicReference.pubAccession.externalDatabase.name)}

+

+ This reference was obtained from PubMed; it is not in the Gemma system. +

+ +
"> + + +
+
+
diff --git a/gemma-web/src/main/webapp/pages/bibRefList.jsp b/gemma-web/src/main/webapp/pages/bibRefList.jsp index dc48534389..d4e066aa2a 100644 --- a/gemma-web/src/main/webapp/pages/bibRefList.jsp +++ b/gemma-web/src/main/webapp/pages/bibRefList.jsp @@ -1,15 +1,14 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - +Bibliographic References + - Bibliographic References - diff --git a/gemma-web/src/main/webapp/pages/bibRefView.jsp b/gemma-web/src/main/webapp/pages/bibRefView.jsp index 4ca6da852f..bbf108b94d 100644 --- a/gemma-web/src/main/webapp/pages/bibRefView.jsp +++ b/gemma-web/src/main/webapp/pages/bibRefView.jsp @@ -1,54 +1,25 @@ -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp" %> <%-- Shows the results of a search for pubmed references. --%> - - -Bibliographic Reference - - -

Bibliographic Reference record

- - - - -

- This reference was obtained from PubMed; it is not in the Gemma - system. You can add it to Gemma by clicking the button on the bottom - of the page, or do a ">new search. -

-
- - -

The entry is incomplete. You can attempt to complete it from - pubmed by clicking the 'add' button below.

-
-
"> - -
-
-
-
- -
+ +${fn:escapeXml(bibliographicReference.pubAccession.accession)} + from ${fn:escapeXml(bibliographicReference.pubAccession.externalDatabase.name)} + +
+Ext.namespace( 'Gemma' ); +Ext.onReady( function() { + Ext.QuickTips.init(); + var detailPanel = new Gemma.BibliographicReference.DetailsPanel( { + //loadBibRefId : ${bibliographicReference.id} + //height: 400, + //width: 400, + renderTo : 'detailPanel' + } ); + + detailPanel.loadFromId( ${bibliographicReference.id} ); +} ); + \ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/bioAssay.detail.jsp b/gemma-web/src/main/webapp/pages/bioAssay.detail.jsp index c00b37e60f..9d068711ce 100644 --- a/gemma-web/src/main/webapp/pages/bioAssay.detail.jsp +++ b/gemma-web/src/main/webapp/pages/bioAssay.detail.jsp @@ -1,45 +1,148 @@ -<%@ include file="/common/taglibs.jsp"%> - - -<fmt:message key="bioAssay.details" /> - -

- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ${bioAssay.name}
- ${bioAssay.description}
Sample${bioAssay.sample.name}
Platform${bioAssay.arrayDesign.shortName}  - ${bioAssay.arrayDesign.name}
Original platform${bioAssay.originalPlatform.shortName}  - ${bioAssay.originalPlatform.name}
+<%@ include file="/common/taglibs.jsp" %> + +${fn:escapeXml(bioAssay.name)} + + + + + + + + + + +
+

${fn:escapeXml(bioAssay.name)}

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + + + + + + (inherited) + + + No external identifier available + + +
: + + + ${fn:escapeXml(bioAssay.description)} + + + ${fn:escapeXml(singleParent.description)} (inherited) + + No description available + +
Experiments used in: + + + ${fn:escapeXml(bioAssaySet.name)} + + +
Sample: + + ${fn:escapeXml(bioAssay.sampleUsed.name)} + +
Platform: + + ${fn:escapeXml(bioAssay.arrayDesignUsed.shortName)} + +
Original Platform: + ${bioAssay.originalPlatform.shortName} + ${fn:escapeXml(bioAssay.originalPlatform.name)} +
Original Platform: + ${singleParent.originalPlatform.shortName} + ${fn:escapeXml(singleParent.originalPlatform.name)} (inherited) +
+ + + +
+ +

Hierarchy for ${fn:escapeXml(dimension.name)}

+ + <%-- Having more than one parent would be very unusual, but the data model allows it --%> +

${parents.size() > 1 ? 'Parents' : 'Parent'}:

+ +
+ +

Siblings:

+ +
+ +

Children:

+ +
+
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/bioAssays.jsp b/gemma-web/src/main/webapp/pages/bioAssays.jsp deleted file mode 100644 index bceb3a40c5..0000000000 --- a/gemma-web/src/main/webapp/pages/bioAssays.jsp +++ /dev/null @@ -1,57 +0,0 @@ -<%@ include file="/common/taglibs.jsp" %> - - <fmt:message key="bioAssays.title"/> - - - - - - - -
- -

- - for ${expressionExperiment.shortName} -

-

- View the Experimental - design -

- - - - - - - - -
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/bioMaterial.detail.jsp b/gemma-web/src/main/webapp/pages/bioMaterial.detail.jsp index 0979a0e43d..8c46d8fea4 100644 --- a/gemma-web/src/main/webapp/pages/bioMaterial.detail.jsp +++ b/gemma-web/src/main/webapp/pages/bioMaterial.detail.jsp @@ -1,152 +1,208 @@ -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp" %> -<fmt:message key="bioMaterial.details" /> - +${fn:escapeXml(bioMaterial.name)} + + + + + + + + Description not available + - - - -
-

- BioMaterial: ${bioMaterial.name} from - ${expressionExperiment.shortName} -

- - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - Description not available - -
- - - - - - - - Taxon not available - -
- - - - - - - - No external identifier - -
- Assays used in - - -
- -
- -

- -

- - - - - - -
- -

- -

-
- -
- -

Annotations

-
- - - - -
- - - - -
- -
- -
- -
\ No newline at end of file +

${fn:escapeXml(bioMaterial.name)}

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
: + + + + + + (inherited) + + Description not available + +
: + + + ${bioMaterial.sourceTaxon.scientificName} + + Taxon not available + +
: + + + + + + (inherited) + + No external identifier available + +
Assays used in: + +
Experiments used in + + + ${ba2bm.value.shortName} + + (via ${e.key.name} → + ${ba2bm.key.name}) + + + +
+ + + +
+ +

Hierarchy for ${fn:escapeXml(dimension.name)}

+ +
+ + +
+

+ + + + + + + + + + + + + + + +
NameDescriptionOrder Applied
${fn:escapeXml(treatment.name)}${fn:escapeXml(treatment.description)}${treatment.orderApplied}
+
+ +
+ +

+ +

+
+ +
+ +

Annotations

+
+ + + + + +
+ + + +
+ +
+ +
+ +
+ + diff --git a/gemma-web/src/main/webapp/pages/characteristics.jsp b/gemma-web/src/main/webapp/pages/characteristics.jsp index c0494148c9..f635376e00 100644 --- a/gemma-web/src/main/webapp/pages/characteristics.jsp +++ b/gemma-web/src/main/webapp/pages/characteristics.jsp @@ -1,19 +1,13 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - <fmt:message key="characteristicBrowser.title" /> - - - - +<fmt:message key="characteristicBrowser.title" /> + -

- -

- -
-
- - +
+

+
+
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/compositeSequence.detail.jsp b/gemma-web/src/main/webapp/pages/compositeSequence.detail.jsp index 771974cfd2..68b5f26b69 100644 --- a/gemma-web/src/main/webapp/pages/compositeSequence.detail.jsp +++ b/gemma-web/src/main/webapp/pages/compositeSequence.detail.jsp @@ -1,93 +1,60 @@ -<%@ include file="/common/taglibs.jsp" %> - - - <fmt:message key="compositeSequence.title"/> ${ compositeSequence.name} - - <%-- deprecated. We should replace this with something tidier --%> - - -

- - : ${ compositeSequence.name} on - - ${compositeSequence.arrayDesign.shortName} - - ${ compositeSequence.arrayDesign.name} - + ${fn:escapeXml(compositeSequence.name)} on + ${compositeSequence.arrayDesign.shortName}

- + - + - + - + - + - + - + - + @@ -196,6 +158,30 @@

Alignment information

- - + +<%-- deprecated. We should replace this with something tidier --%> + diff --git a/gemma-web/src/main/webapp/pages/contactUs.jsp b/gemma-web/src/main/webapp/pages/contactUs.jsp index 5b490387c9..5602d05c00 100644 --- a/gemma-web/src/main/webapp/pages/contactUs.jsp +++ b/gemma-web/src/main/webapp/pages/contactUs.jsp @@ -1,33 +1,26 @@ - -<%-- Decorator for the home page --%> - - -<%-- Include common set of tag library declarations for each layout --%> -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp" %> +Contact Us - -
-
-

- Contacting us -

-

- For feature requests and bug reports, send us an email - here. -

-

- Please also keep an eye out for the feedback button-tab on the left - of some pages in Gemma. It looks like - this + +

+
+

+ Contacting us +

+

+ For feature requests and bug reports, send us an email + here. +

+

+ Please also keep an eye out for the feedback button-tab on the left + of some pages in Gemma. It looks like + this
-
and is an easy way to give us in-context feedback! -

+ and is an easy way to give us in-context feedback! +

-
-
- - +
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/dataUpload.jsp b/gemma-web/src/main/webapp/pages/dataUpload.jsp index 46d0278695..7764a29c7d 100644 --- a/gemma-web/src/main/webapp/pages/dataUpload.jsp +++ b/gemma-web/src/main/webapp/pages/dataUpload.jsp @@ -1,32 +1,34 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> +Upload Expression Data + - Expression data upload - - - - - - + + + - -
-
-
-
+
+

Upload Expression Data

+ + +
+
+
+
- - -

- Sorry, to upload data you must - login or - register. -

-
+ + +

+ Sorry, to upload data you must + login or + register. +

+
+
diff --git a/gemma-web/src/main/webapp/pages/error/403.jsp b/gemma-web/src/main/webapp/pages/error/403.jsp index 303c221631..0a783e0b4b 100644 --- a/gemma-web/src/main/webapp/pages/error/403.jsp +++ b/gemma-web/src/main/webapp/pages/error/403.jsp @@ -1,26 +1,24 @@ <%@ include file="/common/taglibs.jsp" %> -<fmt:message key="403.title"/> +<fmt:message key="403.title" /> - - - +
-

+

- +

diff --git a/gemma-web/src/main/webapp/pages/error/404.jsp b/gemma-web/src/main/webapp/pages/error/404.jsp index 3101a1311b..88282178cc 100644 --- a/gemma-web/src/main/webapp/pages/error/404.jsp +++ b/gemma-web/src/main/webapp/pages/error/404.jsp @@ -1,13 +1,11 @@ <%@ include file="/common/taglibs.jsp" %> -<fmt:message key="404.title"/> +<fmt:message key="404.title" /> - - - +
-

+

diff --git a/gemma-web/src/main/webapp/pages/experimentalDesign.detail.jsp b/gemma-web/src/main/webapp/pages/experimentalDesign.detail.jsp index 3ba5e16f0d..4774844788 100644 --- a/gemma-web/src/main/webapp/pages/experimentalDesign.detail.jsp +++ b/gemma-web/src/main/webapp/pages/experimentalDesign.detail.jsp @@ -1,175 +1,176 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> + class="ubic.gemma.model.expression.experiment.ExperimentalDesign" /> + class="ubic.gemma.model.expression.experiment.ExpressionExperiment" /> ${expressionExperiment.shortName} | <fmt:message key="experimentalDesign.details" /> - - - + value="${expressionExperiment.id}" /> + value="${experimentalDesign.id}" /> + value="${currentUserCanEdit}" />

-

- - for - - -

- - - - This experiment does not have any experimental - design details filled in. - - -

- Download design File: - Click - to start download - - -

- -
-
- -
- -
- : - - : + title="Description for the probe, usually provided by the manufacturer. It might not match the sequence annotation!"> - ${compositeSequence.description} - No description available + + ${fn:escapeXml(compositeSequence.description)} + + No description available
- Taxon : - Taxon: - + ${compositeSequence.biologicalCharacteristic.taxon.commonName} - [Taxon missing] + No taxon available
- Sequence Type : - Sequence type: + title="The type of this sequence as recorded in our system"> @@ -101,91 +68,86 @@ - [Not available] + No sequence type available
- Sequence name : - Sequence name: + title='Name of the sequence in our system.'> - ${ compositeSequence.biologicalCharacteristic.name} - No name available + + ${fn:escapeXml(compositeSequence.biologicalCharacteristic.name)} + + + No sequence name available +
- Sequence description : - Sequence description: + title='Description of the sequence in our system.'> - - ${ compositeSequence.biologicalCharacteristic.description} + + ${fn:escapeXml(compositeSequence.biologicalCharacteristic.description)} - No description available + + No sequence description available +
- Sequence accession : - Sequence accession: + title='External accession for this sequence, if known'> - ${ compositeSequence.biologicalCharacteristic.sequenceDatabaseEntry.accession} - No accession + ${compositeSequence.biologicalCharacteristic.sequenceDatabaseEntry.accession} + + No accession available
- Sequence : - + title='Sequence, if known'> - - No sequence + + No sequence available
- Sequence length : - Sequence length: - + ${fn:length(compositeSequence.biologicalCharacteristic.sequence)} - No sequence available + No sequence available
- - - - - - - - - - - - - - - - - - - - -
- - - - - - - (Name not available) - -
- - - - - - - (Description not available) - -
- - - - - - - (Database entry not available) - -
- - - - - - - (Primary publication not available) - -
+

+ + for + + + +

+ + + + This experiment does not have any experimental + design details filled in. + + +

+ Download design File: + Click + to start download + + +

+ +
+
+ +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + + (Name not available) + +
+ + + + + + + (Description not available) + +
+ + + + + + + (Database entry not available) + +
+ + + + + + + (Primary publication not available) + +
- - -
-

- Use the form below to populate the experimental design details. - Alternatively you can - upload - a design description file. Instructions are - here - . If you want to use the upload method, you can get a blank - template - file - to get started. -

-
-
-
- - - -

This experimental design needs attention, check in the tables below for more details.

-
- -

- Here's another experimental design that needs attention: - ${randomExperimentalDesignThatNeedsAttentionShortName} -

-
-
- - - - <%-- This form element is needed for the checkboxes in the factor value panel --%> -
-
-
-
- -
- -
- -
\ No newline at end of file + + +
+

+ Use the form below to populate the experimental design details. + Alternatively you can + upload + a design description file. Instructions are + here + . If you want to use the upload method, you can get a blank + template + file + to get started. +

+
+
+
+ + + +

This experimental design needs attention, check in the tables below for more details.

+
+ +

+ Here's another experimental design that needs attention: + ${randomExperimentalDesignThatNeedsAttentionShortName} +

+
+
+ + + + <%-- This form element is needed for the checkboxes in the factor value panel --%> +
+
+
+
+ +
+ +
+ +
+ + \ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/expressionExperiment.bioAssays.jsp b/gemma-web/src/main/webapp/pages/expressionExperiment.bioAssays.jsp new file mode 100644 index 0000000000..c1746f9e88 --- /dev/null +++ b/gemma-web/src/main/webapp/pages/expressionExperiment.bioAssays.jsp @@ -0,0 +1,55 @@ +<%@ include file="/common/taglibs.jsp" %> + + +<fmt:message key="bioAssays.title" /> for ${expressionExperiment.shortName} + + + + + + + diff --git a/gemma-web/src/main/webapp/pages/expressionExperiment.bioMaterials.jsp b/gemma-web/src/main/webapp/pages/expressionExperiment.bioMaterials.jsp new file mode 100644 index 0000000000..d78d45b32e --- /dev/null +++ b/gemma-web/src/main/webapp/pages/expressionExperiment.bioMaterials.jsp @@ -0,0 +1,46 @@ +<%@ include file="/common/taglibs.jsp" %> + + +Biomaterials for ${fn:escapeXml(expressionExperiment.shortName)} + + + + +
+

+ Biomaterials for + ${fn:escapeXml(expressionExperiment.shortName)} +

+

${fn:escapeXml(expressionExperiment.name)}

+ +

+ + View the experimental design + +

+ + + + + + + + + + + + +
NameDescription
+ ${bioMaterial.name} + + + + ${fn:escapeXml(bioMaterial.description)} + + + No description available + + +
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/expressionExperiment.detail.jsp b/gemma-web/src/main/webapp/pages/expressionExperiment.detail.jsp index b60869cd18..eda291de97 100644 --- a/gemma-web/src/main/webapp/pages/expressionExperiment.detail.jsp +++ b/gemma-web/src/main/webapp/pages/expressionExperiment.detail.jsp @@ -1,36 +1,38 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> -${expressionExperiment.shortName} Details - +${fn:escapeXml(expressionExperiment.shortName)} - ${fn:escapeXml(expressionExperiment.name)} + + - - - - - - - - + + + +
-
+
+ + diff --git a/gemma-web/src/main/webapp/pages/expressionExperiment.edit.jsp b/gemma-web/src/main/webapp/pages/expressionExperiment.edit.jsp index f2ec4313da..386df65e09 100644 --- a/gemma-web/src/main/webapp/pages/expressionExperiment.edit.jsp +++ b/gemma-web/src/main/webapp/pages/expressionExperiment.edit.jsp @@ -1,24 +1,26 @@ <%@ include file="/common/taglibs.jsp" %> + + + - - +Edit ${expressionExperiment.shortName} + -
- -
+ +
-<fmt:message key="expressionExperiment.title"/> ${expressionExperiment.shortName} +<fmt:message key="expressionExperiment.title" /> ${expressionExperiment.shortName}
"> @@ -50,50 +52,50 @@ + step="1"> " - value=""/> + value="" /> " - value=""/> + value="" /> checked="checked" /> + checked="checked" /> "> checked="checked" /> + checked="checked" /> "> checked="checked" /> + checked="checked" /> "> checked="checked" /> + checked="checked" /> "> checked="checked" /> + checked="checked" /> "> checked="checked" /> + checked="checked" /> "> checked="checked" /> + checked="checked" /> "> @@ -152,15 +154,15 @@
+ value="Unmatch all bioassays" />
- +
- "/> - "/> + " /> + " />
diff --git a/gemma-web/src/main/webapp/pages/expressionExperiment.subSets.jsp b/gemma-web/src/main/webapp/pages/expressionExperiment.subSets.jsp new file mode 100644 index 0000000000..da801eeafd --- /dev/null +++ b/gemma-web/src/main/webapp/pages/expressionExperiment.subSets.jsp @@ -0,0 +1,83 @@ +<%@ include file="/common/taglibs.jsp" %> + + +Subsets of ${expressionExperiment.shortName} - ${expressionExperiment.name} + + + + +
+

+ Subsets of ${expressionExperiment.shortName} + - ${expressionExperiment.name} +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Description:${expressionExperiment.description}
Accession:
Publication:
+
+
Dimension:${fn:escapeXml(e.key.name)}
Quantitation types: + +
Subsets: + +
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/expressionExperimentLinkSummary.jsp b/gemma-web/src/main/webapp/pages/expressionExperimentLinkSummary.jsp index b0586413db..3141b898c0 100644 --- a/gemma-web/src/main/webapp/pages/expressionExperimentLinkSummary.jsp +++ b/gemma-web/src/main/webapp/pages/expressionExperimentLinkSummary.jsp @@ -1,28 +1,24 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - - Dataset manager - - +Dataset manager - - + diff --git a/gemma-web/src/main/webapp/pages/expressionExperimentSet.detail.jsp b/gemma-web/src/main/webapp/pages/expressionExperimentSet.detail.jsp index 98274ef77e..36da980a50 100644 --- a/gemma-web/src/main/webapp/pages/expressionExperimentSet.detail.jsp +++ b/gemma-web/src/main/webapp/pages/expressionExperimentSet.detail.jsp @@ -1,38 +1,37 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - ${eeSetName} Details - +${fn:escapeXml(eeSet.name)} + - - - - - + + - +
-
+
+ + diff --git a/gemma-web/src/main/webapp/pages/expressionExperimentSetManager.jsp b/gemma-web/src/main/webapp/pages/expressionExperimentSetManager.jsp index 6486565ebd..0c60b89bea 100644 --- a/gemma-web/src/main/webapp/pages/expressionExperimentSetManager.jsp +++ b/gemma-web/src/main/webapp/pages/expressionExperimentSetManager.jsp @@ -1,43 +1,40 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> Dataset Group Manager - - - - + - - -

Sorry, you must be logged in to use this tool.

+ + +

Sorry, you must be logged in to use this tool.

-
- - - - +
+ + + +
diff --git a/gemma-web/src/main/webapp/pages/expressionExperimentSubSet.detail.jsp b/gemma-web/src/main/webapp/pages/expressionExperimentSubSet.detail.jsp new file mode 100644 index 0000000000..d65057b915 --- /dev/null +++ b/gemma-web/src/main/webapp/pages/expressionExperimentSubSet.detail.jsp @@ -0,0 +1,165 @@ +<%@ include file="/common/taglibs.jsp" %> + + + + +${subSet.name} + + + + + + + + + + + +
+

+ ${subSet.name} + (subset of ${subSet.sourceExperiment.shortName}, + see + all subsets) +

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Annotations: + + + ${annotation.termName}, + +
Description: + + + ${fn:escapeXml(fn:trim(subSet.description))} + + + ${fn:escapeXml(fn:trim(subSet.sourceExperiment.description))} (inherited) + + + No description available + + +
Accession: + + + + + +  (inherited) + + No accession available + +
Publication: + + + + + +  (inherited) + + No publication/i> + +
Dimension: + + + + ${fn:escapeXml(pd.name)} + + + ${fn:escapeXml(pd.name)} + + + +
Other subsets: + +
+ +
+

Assays

+ + + + + + + + + + + + + + + +
NameDescription
+ ${ba.name} + + + + ${fn:escapeXml(ba.description)} + + No description available + +
+
+ +
+

Annotations

+ + + + + + + + + + + + + + + + + + + +
CategoryValue
 (inherited)
+
+
diff --git a/gemma-web/src/main/webapp/pages/expressionExperimentsWithQC.jsp b/gemma-web/src/main/webapp/pages/expressionExperimentsWithQC.jsp index 851201d8b4..86b335b0fa 100644 --- a/gemma-web/src/main/webapp/pages/expressionExperimentsWithQC.jsp +++ b/gemma-web/src/main/webapp/pages/expressionExperimentsWithQC.jsp @@ -1,31 +1,27 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> Expression Experiments with QC Issues - - - - + + - + new Gemma.GemmaViewPort( { + centerPanelConfig : new Gemma.ExpressionExperimentQCGrid( { + header : true, + experimentNameAsLink : true + } ) + } ); -
- - \ No newline at end of file +} ); + diff --git a/gemma-web/src/main/webapp/pages/gene.detail.jsp b/gemma-web/src/main/webapp/pages/gene.detail.jsp index c01f7a6b8a..1de543d0f8 100644 --- a/gemma-web/src/main/webapp/pages/gene.detail.jsp +++ b/gemma-web/src/main/webapp/pages/gene.detail.jsp @@ -1,45 +1,40 @@ -<%@ include file="/common/taglibs.jsp"%> - - - - +<%@ include file="/common/taglibs.jsp" %> + -<c:if test="${not empty geneOfficialSymbol}"> - ${geneOfficialSymbol} - </c:if> <fmt:message key="gene.details" /> + +${fn:escapeXml(gene.name)} - ${fn:escapeXml(gene.officialName)} + - - - - - - - - + + + + + + -
+
- \ No newline at end of file + \ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/geneGroupManager.jsp b/gemma-web/src/main/webapp/pages/geneGroupManager.jsp index 860efc3cc7..9643bb2bc1 100644 --- a/gemma-web/src/main/webapp/pages/geneGroupManager.jsp +++ b/gemma-web/src/main/webapp/pages/geneGroupManager.jsp @@ -2,60 +2,52 @@ - Manage Gene Groups - - +Manage Gene Groups + - - - + + -

- Manage Gene Groups -

+

Manage Gene Groups

- - -

- Sorry, you must be logged in to use this tool. -

-
+ + +

+ Sorry, you must be logged in to use this tool. +

+
- - -

- You can create a group of genes to be used in searches and analyses. - This interface allows you to create gene groups, modify them, and - control who else can see them. -

+ } ); + +

+ You can create a group of genes to be used in searches and analyses. + This interface allows you to create gene groups, modify them, and + control who else can see them. +

-
-
-
- -
- - +
+
+
+
diff --git a/gemma-web/src/main/webapp/pages/geneSet.detail.jsp b/gemma-web/src/main/webapp/pages/geneSet.detail.jsp index 2033094bef..0c48cf2fce 100644 --- a/gemma-web/src/main/webapp/pages/geneSet.detail.jsp +++ b/gemma-web/src/main/webapp/pages/geneSet.detail.jsp @@ -1,39 +1,40 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> + - ${geneSetName} Details - +${fn:escapeXml(geneSet.name)} Details + - - - - - + + - +
-
+
+ + + diff --git a/gemma-web/src/main/webapp/pages/generalSearch.jsp b/gemma-web/src/main/webapp/pages/generalSearch.jsp index 55feffbaf6..e9e7d456dd 100644 --- a/gemma-web/src/main/webapp/pages/generalSearch.jsp +++ b/gemma-web/src/main/webapp/pages/generalSearch.jsp @@ -1,27 +1,23 @@ -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp" %> - <fmt:message key="generalSearch.title" /> - - - - +
-
+
+ diff --git a/gemma-web/src/main/webapp/pages/home.jsp b/gemma-web/src/main/webapp/pages/home.jsp index d040fe14c2..c7540068ae 100755 --- a/gemma-web/src/main/webapp/pages/home.jsp +++ b/gemma-web/src/main/webapp/pages/home.jsp @@ -3,31 +3,9 @@ <%@ include file="/common/taglibs.jsp" %> Home - - <%-- --%> - - <%-- jshowoff.css is included in the bundle --%> @@ -152,7 +130,7 @@ $.getJSON( '${pageContext.request.contextPath}' + '/rest/v2/datasets/count', fun
Copyright © 2007-2024
@@ -161,4 +139,24 @@ $.getJSON( '${pageContext.request.contextPath}' + '/rest/v2/datasets/count', fun src="https://i.creativecommons.org/l/by-nc/4.0/80x15.png" width="80" height="15" /> - \ No newline at end of file + + + \ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/invalidGeoAccession.jsp b/gemma-web/src/main/webapp/pages/invalidGeoAccession.jsp deleted file mode 100644 index 3872bfc31b..0000000000 --- a/gemma-web/src/main/webapp/pages/invalidGeoAccession.jsp +++ /dev/null @@ -1,23 +0,0 @@ -<%@ include file="/common/taglibs.jsp"%> -<%@ page language="java" isErrorPage="true"%> - - -<%-- This is not being used. --%> - - Invalid GEO accession - - - - Invalid GEO accession - - - « Back - - - -

- Either that accession does not exist in GEO, or if you entered a GDS number, Gemma could not locate a matching series - (GSE) on the GEO web site. Please check the - GEO web site to make sure you selected a valid accession. -

- diff --git a/gemma-web/src/main/webapp/pages/manageGroups.jsp b/gemma-web/src/main/webapp/pages/manageGroups.jsp index 6d261c77c2..0107f3fcbd 100644 --- a/gemma-web/src/main/webapp/pages/manageGroups.jsp +++ b/gemma-web/src/main/webapp/pages/manageGroups.jsp @@ -1,38 +1,27 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - Manage groups - - +Manage groups + - - - -

- Manage groups -

- -

- A 'Group' is a set of Gemma users who have a common set of permissions. This page allows you to see what Groups you - belong to, create groups, and change who is in groups you control. -

- -

- For additional controls on which groups can view or edit your data sets, visit the - ">Data Manager. If - you want to manage Gene Groups go to the - ">Gene Group Manager. To manage Expression Dataset Groups go to - the - ">Dataset Group Manager. -

- -
-
- -
- - - - - \ No newline at end of file + + +

Manage groups

+ +

+ A 'Group' is a set of Gemma users who have a common set of permissions. This page allows you to see what Groups you + belong to, create groups, and change who is in groups you control. +

+ +

+ For additional controls on which groups can view or edit your data sets, visit the + ">Data Manager. If + you want to manage Gene Groups go to the + ">Gene Group Manager. To manage Expression Dataset Groups go to + the + ">Dataset Group Manager. +

+ +
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/metaAnalysisManager.jsp b/gemma-web/src/main/webapp/pages/metaAnalysisManager.jsp index 2d7bbce84c..4edd9efcc7 100644 --- a/gemma-web/src/main/webapp/pages/metaAnalysisManager.jsp +++ b/gemma-web/src/main/webapp/pages/metaAnalysisManager.jsp @@ -1,27 +1,24 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> Meta-analysis Manager - - - - - <%-- The function fetchDiffExpressionData(analysisId) in eeDataFetch.js requires "messages" to be defined. --%>
+ + diff --git a/gemma-web/src/main/webapp/pages/metaheatmap.jsp b/gemma-web/src/main/webapp/pages/metaheatmap.jsp index d3817fb302..40b03e1d4f 100644 --- a/gemma-web/src/main/webapp/pages/metaheatmap.jsp +++ b/gemma-web/src/main/webapp/pages/metaheatmap.jsp @@ -1,59 +1,59 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - - - - - - +Meta-analysis Heatmap + + -Start a new search

-
\ No newline at end of file + +Start a new search

+
+ + diff --git a/gemma-web/src/main/webapp/pages/passwordHint.jsp b/gemma-web/src/main/webapp/pages/passwordHint.jsp index ddfe96732a..11b407696e 100644 --- a/gemma-web/src/main/webapp/pages/passwordHint.jsp +++ b/gemma-web/src/main/webapp/pages/passwordHint.jsp @@ -1,16 +1,8 @@ -<%-- -author: keshav - ---%> - -<%@ include file="/common/taglibs.jsp"%> - +<%-- author: keshav --%> +<%@ include file="/common/taglibs.jsp" %> Password reset - - + -
- diff --git a/gemma-web/src/main/webapp/pages/personForm.jsp b/gemma-web/src/main/webapp/pages/personForm.jsp index bd43291bfe..83f9039c28 100644 --- a/gemma-web/src/main/webapp/pages/personForm.jsp +++ b/gemma-web/src/main/webapp/pages/personForm.jsp @@ -1,98 +1,101 @@ -<%@ include file="/common/taglibs.jsp"%> -<fmt:message key="personDetail.title" /> - - -

- -

-
+<%@ include file="/common/taglibs.jsp" %> + +<fmt:message key="personDetail.title" /> + + +

- - - +
- -
+ + - - + - + + + - - + + - - + - + + + - + - + - - + - + + + - - - - - -
+ + - First Name - - - <%-- + + First Name + + + <%-- " id="" value="" /> --%> - " value="" /> - + " + value="" /> + - -
- -
+ + - Middle Name: - - - <%-- + + Middle Name: + + + <%-- " id="" value="" /> --%> - " value="" /> - + " + value="" /> + - -
- - + + - Last Name: - - - <%-- + + Last Name: + + + <%-- " id="" value="" /> --%> - " value="" /> - + " + value="" /> + - -
- " /> - " /> - " /> -
+ + + + + " /> + " /> + " /> + + +
diff --git a/gemma-web/src/main/webapp/pages/processProgress.jsp b/gemma-web/src/main/webapp/pages/processProgress.jsp index dc4003a3b1..54f0c0b7a8 100644 --- a/gemma-web/src/main/webapp/pages/processProgress.jsp +++ b/gemma-web/src/main/webapp/pages/processProgress.jsp @@ -1,29 +1,26 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> <%-- DEPRECATED, please use form-page-embedded ajaxified progress bar instead; see loadExpressionExperiment.js for some pointers. --%> -<fmt:message key="processProgress.title" /> - - + +<fmt:message key="processProgress.title" /> + -

- -

- +

- - - - - + diff --git a/gemma-web/src/main/webapp/pages/register.jsp b/gemma-web/src/main/webapp/pages/register.jsp index 96af384237..b3c3f8b868 100644 --- a/gemma-web/src/main/webapp/pages/register.jsp +++ b/gemma-web/src/main/webapp/pages/register.jsp @@ -2,6 +2,5 @@ Registration - \ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/systemNotices.jsp b/gemma-web/src/main/webapp/pages/systemNotices.jsp index 152c127c9c..a0a25cceb9 100644 --- a/gemma-web/src/main/webapp/pages/systemNotices.jsp +++ b/gemma-web/src/main/webapp/pages/systemNotices.jsp @@ -1,26 +1,14 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp" %> - System stats +System stats - -

- Compute grid status -

- -

- This page has information about the status of the Gemma compute grid. Hit 'refresh' in your browser to see updated - information. -

- - - -
-

- ${status} -

-
- - - +

Compute grid status

+

+ This page has information about the status of the Gemma compute grid. Hit 'refresh' in your browser to see updated + information. +

+
+

${status}

+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/taxa.jsp b/gemma-web/src/main/webapp/pages/taxa.jsp new file mode 100644 index 0000000000..eacfa27374 --- /dev/null +++ b/gemma-web/src/main/webapp/pages/taxa.jsp @@ -0,0 +1,15 @@ +<%@ include file="/common/taglibs.jsp" %> + +Taxa + + +
+

Taxa

+
    + +
  • + ${taxon.commonName} +
  • +
    +
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/taxon.detail.jsp b/gemma-web/src/main/webapp/pages/taxon.detail.jsp new file mode 100644 index 0000000000..049d65f350 --- /dev/null +++ b/gemma-web/src/main/webapp/pages/taxon.detail.jsp @@ -0,0 +1,27 @@ +<%@ include file="/common/taglibs.jsp" %> + + +${fn:escapeXml(taxon.commonName)} + + +
+

${fn:escapeXml(taxon.commonName)}

+ + + + + + + + + + + + + + + +
NCBI ID:${taxon.ncbiId}
Scientific name:${fn:escapeXml(taxon.scientificName)}
Number of experiments:${numberOfExperiments}
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/pages/userProfile.jsp b/gemma-web/src/main/webapp/pages/userProfile.jsp index 33be7024a0..7cd3f98c23 100644 --- a/gemma-web/src/main/webapp/pages/userProfile.jsp +++ b/gemma-web/src/main/webapp/pages/userProfile.jsp @@ -1,14 +1,15 @@ -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp" %> - Edit your profile - - +Edit your profile + -

- Change your email address or password. You must enter your current password. -

-
-
+
+

User Profile

+

+ Change your email address or password. You must enter your current password. +

+
+
+
\ No newline at end of file diff --git a/gemma-web/src/main/webapp/scripts/api/entities/analysis/differentialExpression/DifferentialExpressionAnalysesSummaryTree.js b/gemma-web/src/main/webapp/scripts/api/entities/analysis/differentialExpression/DifferentialExpressionAnalysesSummaryTree.js index 9bba97b170..bcf3943bb8 100755 --- a/gemma-web/src/main/webapp/scripts/api/entities/analysis/differentialExpression/DifferentialExpressionAnalysesSummaryTree.js +++ b/gemma-web/src/main/webapp/scripts/api/entities/analysis/differentialExpression/DifferentialExpressionAnalysesSummaryTree.js @@ -472,7 +472,7 @@ Gemma.DifferentialExpressionAnalysesSummaryTree = Ext linkText += ''; /* provide link for visualization. */ var tipText = "View top differentially expressed genes for "" + factorString + """; - linkText += ' ' + ""; @@ -765,7 +765,7 @@ Ext.reg('differentialExpressionAnalysesSummaryTree', Gemma.DifferentialExpressio * fix for now, should replace visualize 'button' with ext button that calls this function, and move function inside * Gemma.DifferentialExpressionAnalysesSummaryTree */ -function visualizeDiffExpressionHandler(eeid, diffResultId, factorDetails, factorId) { +Gemma.visualizeDiffExpressionHandler = function(eeid, diffResultId, factorDetails, factorId) { var visDiffWindow = new Gemma.VisualizationWithThumbsWindow({ thumbnails: false, diff --git a/gemma-web/src/main/webapp/scripts/api/entities/platform/ArrayDesignsNonPagingGrid.js b/gemma-web/src/main/webapp/scripts/api/entities/platform/ArrayDesignsNonPagingGrid.js index 27c3216d09..cf6cc7e849 100755 --- a/gemma-web/src/main/webapp/scripts/api/entities/platform/ArrayDesignsNonPagingGrid.js +++ b/gemma-web/src/main/webapp/scripts/api/entities/platform/ArrayDesignsNonPagingGrid.js @@ -268,7 +268,7 @@ Gemma.ArrayDesignsNonPagingGrid = Ext } } ); } else if ( action === 'icon-refresh' ) { - updateArrayDesignReport( record.id, grid ); // function in arrayDesign.js + Gemma.updateArrayDesignReport( record.id, grid ); // function in arrayDesign.js } }, // You can cancel the action by returning false from this diff --git a/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformDetailsTab.js b/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformDetailsTab.js index 23de27a88e..54fe37782b 100644 --- a/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformDetailsTab.js +++ b/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformDetailsTab.js @@ -117,7 +117,7 @@ Gemma.PlatformDetails = Ext var updateT = ''; var isAdmin = Ext.get("hasAdmin").getValue() == 'true'; if (isAdmin) { - updateT = ' '; } diff --git a/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformElementGrid.js b/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformElementGrid.js index 8036f55080..38f5c03dfe 100644 --- a/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformElementGrid.js +++ b/gemma-web/src/main/webapp/scripts/api/entities/platform/PlatformElementGrid.js @@ -1,7 +1,7 @@ Ext.namespace( 'Gemma' ); /** - * + * * @class Gemma.PlatformElementGrid * @extends Ext.grid.GridPanel */ @@ -26,7 +26,7 @@ Gemma.PlatformElementGrid = Ext /** * Show first batch of data. - * + * * @param {Object} * isArrayDesign * @param {Object} @@ -168,6 +168,9 @@ Gemma.PlatformElementGrid = Ext header : "Element Name", width : 130, dataIndex : "compositeSequenceName", + renderer : ( data, metadata, record ) => { + return '' + data + ''; + }, tooltip : "Element or probe name" }, { @@ -269,7 +272,7 @@ Gemma.PlatformElementGrid = Ext /** * Event handler for searches. Update the lower grid. - * + * * @param {Object} * event */ diff --git a/gemma-web/src/main/webapp/scripts/api/entities/platform/arrayDesign.js b/gemma-web/src/main/webapp/scripts/api/entities/platform/arrayDesign.js index 3e91a24902..8fd27e9059 100755 --- a/gemma-web/src/main/webapp/scripts/api/entities/platform/arrayDesign.js +++ b/gemma-web/src/main/webapp/scripts/api/entities/platform/arrayDesign.js @@ -105,6 +105,8 @@ function updateArrayDesignReport( id, callerScope ) { ArrayDesignController.updateReport.apply( this, callParams ); } +Gemma.updateArrayDesignReport = updateArrayDesignReport; + function remove( id ) { alert( "Are you sure?" ); } diff --git a/gemma-web/src/main/webapp/scripts/lib/sprintf.js b/gemma-web/src/main/webapp/scripts/lib/sprintf.js index 212ed71974..c64d7701a5 100644 --- a/gemma-web/src/main/webapp/scripts/lib/sprintf.js +++ b/gemma-web/src/main/webapp/scripts/lib/sprintf.js @@ -169,4 +169,6 @@ function sprintf() { }; return format.replace(regex, doFormat); -} \ No newline at end of file +} + +window.sprintf = sprintf; \ No newline at end of file diff --git a/gemma-web/src/main/webapp/styles/antisense/typo.css b/gemma-web/src/main/webapp/styles/antisense/typo.css index 84cea426b9..3e892e1d2f 100644 --- a/gemma-web/src/main/webapp/styles/antisense/typo.css +++ b/gemma-web/src/main/webapp/styles/antisense/typo.css @@ -114,10 +114,26 @@ h6 { font-size: 1.5em; } -#main h2, #main h3, #main h4, #main h5, #main h6 { +#main h2 { font-size: 1.25em; } +#main h3 { + font-size: 1.0em; +} + +#main h4 { + font-size: 0.75em; +} + +#main h5 { + font-size: 0.5em; +} + +#main h6 { + font-size: 0.25em; +} + /* END HEADINGS */ /* TEXT */ p { margin-bottom: 1em; @@ -232,9 +248,6 @@ dl dd { } /* END LISTS */ /* TABLE */ -td { - font-weight: normal; -} /* this can interfere with EXT.js tables. */ table { @@ -246,10 +259,14 @@ table { } +td { + font-weight: normal; + vertical-align: baseline; +} + td.label { font-weight: bold; text-align: right; - vertical-align: top; padding-right: 8px; padding-top: 4px; } diff --git a/gemma-web/src/test/java/ubic/gemma/web/util/StaticAssetServerTest.java b/gemma-web/src/test/java/ubic/gemma/web/util/StaticAssetServerTest.java new file mode 100644 index 0000000000..430e0ab390 --- /dev/null +++ b/gemma-web/src/test/java/ubic/gemma/web/util/StaticAssetServerTest.java @@ -0,0 +1,89 @@ +package ubic.gemma.web.util; + +import org.junit.Test; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.mock.web.MockPageContext; +import org.springframework.test.context.ContextConfiguration; +import ubic.gemma.core.context.TestComponent; +import ubic.gemma.core.util.test.TestPropertyPlaceholderConfigurer; +import ubic.gemma.web.taglib.ImageTag; +import ubic.gemma.web.taglib.ScriptTag; +import ubic.gemma.web.taglib.StyleTag; + +import javax.servlet.ServletContext; +import javax.servlet.jsp.JspException; +import java.io.UnsupportedEncodingException; + +import static org.assertj.core.api.Assertions.assertThat; +import static org.assertj.core.api.Assertions.assertThatThrownBy; + +@ContextConfiguration +public class StaticAssetServerTest extends BaseWebTest { + + @Configuration + @TestComponent + static class StaticAssetServerTestContextConfiguration { + + @Bean + public static TestPropertyPlaceholderConfigurer propertyPlaceholderConfigurer() { + return new TestPropertyPlaceholderConfigurer( + "gemma.staticAssetServer.enabled=true", + "gemma.staticAssetServer.baseUrl=http://localhost:8082", + "gemma.staticAssetServer.allowedDirs=/bundles/,/fonts/,/images/,/scripts/,/styles/" ); + } + + @Bean + public StaticAssetServer staticAssetServer() { + return new StaticAssetServer(); + } + } + + @Autowired + private StaticAssetServer staticAssetServer; + + @Autowired + private ServletContext servletContext; + + @Test + public void test() { + assertThat( staticAssetServer.resolveUrl( "/bundles/include.js" ) ) + .isEqualTo( "http://localhost:8082/bundles/include.js" ); + assertThatThrownBy( () -> staticAssetServer.resolveUrl( "/include.js" ) ) + .isInstanceOf( IllegalArgumentException.class ); + } + + @Test + public void testScriptTag() throws JspException, UnsupportedEncodingException { + MockPageContext pageContext = new MockPageContext( servletContext ); + ScriptTag tag = new ScriptTag(); + tag.setPageContext( pageContext ); + tag.setSrc( "/bundles/include.js" ); + tag.doStartTag(); + tag.doEndTag(); + assertThat( pageContext.getContentAsString() ).isEqualTo( "" ); + } + + @Test + public void testStyleTag() throws JspException, UnsupportedEncodingException { + MockPageContext pageContext = new MockPageContext( servletContext ); + StyleTag tag = new StyleTag(); + tag.setPageContext( pageContext ); + tag.setHref( "/bundles/gemma-all.css" ); + tag.doStartTag(); + tag.doEndTag(); + assertThat( pageContext.getContentAsString() ).isEqualTo( "" ); + } + + @Test + public void testImageTags() throws JspException, UnsupportedEncodingException { + MockPageContext pageContext = new MockPageContext( servletContext ); + ImageTag tag = new ImageTag(); + tag.setPageContext( pageContext ); + tag.setSrc( "/images/test.png" ); + tag.doStartTag(); + tag.doEndTag(); + assertThat( pageContext.getContentAsString() ).isEqualTo( "" ); + } +} \ No newline at end of file