diff --git a/ols-web/src/main/resources/scss/new_ols.scss b/ols-web/src/main/resources/scss/new_ols.scss index 2eee035c..7b76c882 100644 --- a/ols-web/src/main/resources/scss/new_ols.scss +++ b/ols-web/src/main/resources/scss/new_ols.scss @@ -239,6 +239,19 @@ a.nounderline.ontology-link { padding: 10px 10px 10px 10px; } +#ontology_info_box2 .panel-heading { + background: #00827c; + text-align: center; +} + +#ontology_info_box2 .panel-heading h4 { + color: white; +} + +#ontology_info_box2 .panel-body { + padding: 10px 10px 10px 10px; +} + #onto-tab-content .tabs-content { min-height: 500px; margin-bottom: 40px; diff --git a/ols-web/src/main/resources/static/css/new_ols.css b/ols-web/src/main/resources/static/css/new_ols.css index b93ae88a..491c1003 100644 --- a/ols-web/src/main/resources/static/css/new_ols.css +++ b/ols-web/src/main/resources/static/css/new_ols.css @@ -181,6 +181,16 @@ a.nounderline.ontology-link { #ontology_info_box .panel-body { padding: 10px 10px 10px 10px; } +#ontology_info_box2 .panel-heading { + background: #00827c; + text-align: center; } + +#ontology_info_box2 .panel-heading h4 { + color: white; } + +#ontology_info_box2 .panel-body { + padding: 10px 10px 10px 10px; } + #onto-tab-content .tabs-content { min-height: 500px; margin-bottom: 40px; } diff --git a/ols-web/src/main/resources/static/css/new_ols.css.map b/ols-web/src/main/resources/static/css/new_ols.css.map index 3f8817a0..85a64f8f 100644 --- a/ols-web/src/main/resources/static/css/new_ols.css.map +++ b/ols-web/src/main/resources/static/css/new_ols.css.map @@ -6,5 +6,5 @@ "../../scss/new_ols.scss/JSASS_CUSTOM.scss" ], "names": [], - "mappings": "AAAA,AAAA,KAAK,CAAC;EACJ,YAAY,CAAA,QAAC;EACb,WAAW,CAAA,QAAC,GACb;;AAED,AAAA,kBAAkB,CAAC;EACjB,UAAU,EAAE,IAAI;EAChB,aAAa,EAAE,IAAI;EACnB,UAAU,EAAE,OAAO;EACnB,OAAO,EAAE,mBAAmB;EAC5B,aAAa,EAAE,GAAG,GACnB;;AAED;;;;GAIG;AAEH,AAA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kB,GAAG,KAAK,AAAA,YAAY,AAAA,IAAK,CAAA,QAAQ,CAAC,IAAK,CAAA,SAAS,CAAC,MAAM,GAAG,KAAK,AAAA,QAAQ;AACzF,kBAAkB,GAAG,KAAK,AAAA,YAAY,AAAA,IAAK,CAAA,QAAQ,CAAC,IAAK,CAAA,SAAS,CAAC,MAAM,GAAG,KAAK,CAAA,AAAA,IAAC,CAAK,QAAQ,AAAb,IAAiB,KAAK,AAAA,QAAQ,CAAC;EAC/G,YAAY,EAAE,kBAAkB,GACjC;;AAED,AAAA,kBAAkB,GAAG,KAAK,AAAA,YAAY,AAAA,QAAQ,GAAG,KAAK,AAAA,QAAQ;AAC9D,kBAAkB,GAAG,KAAK,AAAA,YAAY,AAAA,QAAQ,GAAG,KAAK,CAAA,AAAA,IAAC,CAAK,QAAQ,AAAb,IAAiB,KAAK,AAAA,QAAQ,CAAC;EACpF,gBAAgB,EAAE,kBAAkB;EACpC,YAAY,EAAE,kBAAkB,GACjC;;AAED,AAAA,gBAAgB,CAAC,CAAC,EAAE,gBAAgB,CAAC,CAAC,AAAA,QAAQ,CAAC;EAC7C,KAAK,EAAE,OAAO,GACf;;AAED,AAAA,gBAAgB,CAAC,CAAC,AAAA,MAAM,CAAC;EACvB,KAAK,EAAE,OAAO,GACf;;AAED,AAAA,aAAa,CAAC;EACZ,QAAQ,EAAE,IAAI,GACf;;AAED,AAAA,YAAY,CAAC;EACX,OAAO,EAAE,IAAI,GACd;;AAED,AAAA,aAAa,CAAC,EAAE,CAAC;EACf,KAAK,EAAE,gBAAgB,GACxB" } \ No newline at end of file diff --git a/ols-web/src/main/resources/static/js/diachron/changeSummary.js b/ols-web/src/main/resources/static/js/diachron/changeSummary.js index 19500679..e301f992 100644 --- a/ols-web/src/main/resources/static/js/diachron/changeSummary.js +++ b/ols-web/src/main/resources/static/js/diachron/changeSummary.js @@ -75,6 +75,10 @@ $("#diachron-link").on('click', function(){ $("#LegendDiv").fadeIn(); }); + $("#ontology_info_box2").fadeOut(200, function(){ + $("#LegendDiv").fadeIn(); + }); + }) }) }) @@ -85,6 +89,7 @@ function hideLegend() { $("#LegendDiv").fadeOut(200, function() { // alert('non-diachron tab clicked'); $("#ontology_info_box").fadeIn(); + $("#ontology_info_box2").fadeIn(); }); } diff --git a/ols-web/src/main/resources/templates/ontology.html b/ols-web/src/main/resources/templates/ontology.html index ef8380ea..88631a9e 100644 --- a/ols-web/src/main/resources/templates/ontology.html +++ b/ols-web/src/main/resources/templates/ontology.html @@ -204,7 +204,7 @@

-

[[${ontologyAlias}]] information

+

[[${shortTitle}]] [[${ontologyAlias}]] information

@@ -241,17 +241,47 @@

[[${ontologyAlias}]] information

Creator: NCBI:9606
- -
+ +
+ Reasoner: NCBI_9606 +
+ +
+ License Label: NCBI_9606 +
+ +
+ License Logo: + License Logo +
+ +
+ License URL: + License URL +
+
+ +
+
+

Original [[${ontologyAlias}]] information

+
+
property name -

- NCBI_9606

+
+
+
+ NCBI_9606 +

NCBI_9606

+
+ NCBI_9606 +
+

NCBI_9606

+
diff --git a/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfig.java b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfig.java index 85eed752..6f02e7ea 100644 --- a/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfig.java +++ b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfig.java @@ -1,6 +1,7 @@ package uk.ac.ebi.spot.ols.config; +import uk.ac.ebi.spot.ols.util.License; import uk.ac.ebi.spot.ols.util.ReasonerType; import java.net.URI; @@ -47,6 +48,7 @@ public class OntologyResourceConfig { private boolean isSkos; private boolean allowDownload; + private License license; // these are any metadata properties for the ontology, such as title or definition that are included in the ontology as OWL ontology annotation private Collection internalMetadataProperties; @@ -58,7 +60,7 @@ public OntologyResourceConfig(String id, String versionIri, String title, String Collection synonymProperties, Collection hierarchicalProperties, Collection baseUris, Collection hiddenProperties, boolean isSkos, Collection internalMetadataProperties, Collection preferredRootTerms, - boolean allowDownload) { + boolean allowDownload, License license) { this.id = id; this.versionIri = versionIri; this.title = title; @@ -84,6 +86,7 @@ public OntologyResourceConfig(String id, String versionIri, String title, String this.internalMetadataProperties = internalMetadataProperties; this.preferredRootTerms = preferredRootTerms; this.allowDownload = allowDownload; + this.license = license; } public OntologyResourceConfig() { @@ -116,6 +119,7 @@ private OntologyResourceConfig(OntologyResourceConfigBuilder builder) { this.internalMetadataProperties = builder.internalMetadatProperties; this.preferredRootTerms = builder.preferredRootTerms; this.allowDownload = builder.allowDownload; + this.license = builder.license; } public void setId(String id) { @@ -328,6 +332,14 @@ public boolean getAllowDownload() { public void setAllowDownload(boolean allowDownload) { this.allowDownload = allowDownload; } + + public License getLicense() { + return this.license; + } + + public void setLicense(License license) { + this.license= license; + } public static class OntologyResourceConfigBuilder { private String id; @@ -356,6 +368,7 @@ public static class OntologyResourceConfigBuilder { private Collection internalMetadatProperties = Collections.emptySet(); private Collection preferredRootTerms = Collections.emptySet(); private boolean allowDownload = true; + private License license; public OntologyResourceConfigBuilder(String id, String title, String namespace, URI fileLocation) { this.id = id; @@ -492,6 +505,10 @@ public void setPreferredRootTerms(Collection preferredRootTerms) { public void setAllowDownload(boolean allowDownload) { this.allowDownload = allowDownload; } + + public void setLicense(License license) { + this.license = license; + } public OntologyResourceConfig build() { return new OntologyResourceConfig(this); diff --git a/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfigEnum.java b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfigEnum.java index e016865a..3c6fdb2a 100644 --- a/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfigEnum.java +++ b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/OntologyResourceConfigEnum.java @@ -21,7 +21,8 @@ public enum OntologyResourceConfigEnum { LOGO("logo"), CREATOR("creator"), PREFERRED_ROOT_TERM("preferred_root_term"), - ALLOW_DOWNLOAD("allow_download"); + ALLOW_DOWNLOAD("allow_download"), + LICENSE("license"); private final String propertyName; diff --git a/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/YamlBasedLoadingService.java b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/YamlBasedLoadingService.java index b67be6f8..1e40b387 100644 --- a/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/YamlBasedLoadingService.java +++ b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/config/YamlBasedLoadingService.java @@ -3,6 +3,7 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import uk.ac.ebi.spot.ols.exception.ConfigParsingException; +import uk.ac.ebi.spot.ols.util.License; import uk.ac.ebi.spot.ols.util.ReasonerType; import java.net.URI; @@ -80,6 +81,7 @@ public OntologyResourceConfig getConfiguration() throws ConfigParsingException { populateCreator(builder); populatePreferredRootTerms(builder); populateAllowDownload(builder); + populateLicense(builder); return builder.build(); } @@ -279,4 +281,16 @@ private void populateAllowDownload(OntologyResourceConfig.OntologyResourceConfig builder.setAllowDownload(true); } } + + private void populateLicense(OntologyResourceConfig.OntologyResourceConfigBuilder builder) { + if (ontology.containsKey(LICENSE.getPropertyName())) { + License license = new License(); + license.setLabel((String) ((Map) ontology.get(LICENSE.getPropertyName())).get("label")); + license.setLogo((String) ((Map) ontology.get(LICENSE.getPropertyName())).get("logo")); + license.setUrl((String) ((Map) ontology.get(LICENSE.getPropertyName())).get("url")); + builder.setLicense(license); + } else { + builder.setLicense(new License()); + } + } } diff --git a/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/util/License.java b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/util/License.java new file mode 100644 index 00000000..9b2edceb --- /dev/null +++ b/ontology-tools/src/main/java/uk/ac/ebi/spot/ols/util/License.java @@ -0,0 +1,49 @@ +package uk.ac.ebi.spot.ols.util; + +public class License { + + String url; + String logo; + String label; + + public License() {} + + public License(String url, String logo, String label) { + super(); + this.url = url; + this.logo = logo; + this.label = label; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + public String getLogo() { + return logo; + } + + public void setLogo(String logo) { + this.logo = logo; + } + + public String getLabel() { + return label; + } + + public void setLabel(String label) { + this.label = label; + } + + @Override + public String toString() { + return "License [url=" + url + ", logo=" + logo + ", label=" + label + "]"; + } + + + +}