diff --git a/app/assets/images/logos/ontoportal.svg b/app/assets/images/logos/ontoportal.svg new file mode 100644 index 000000000..dfb0838d3 --- /dev/null +++ b/app/assets/images/logos/ontoportal.svg @@ -0,0 +1,3 @@ + diff --git a/app/assets/images/social/github.svg b/app/assets/images/social/github.svg new file mode 100644 index 000000000..9f2ef1737 --- /dev/null +++ b/app/assets/images/social/github.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/app/assets/images/social/people.svg b/app/assets/images/social/people.svg new file mode 100644 index 000000000..85f1d5fd0 --- /dev/null +++ b/app/assets/images/social/people.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/app/assets/images/social/twitter.svg b/app/assets/images/social/twitter.svg new file mode 100644 index 000000000..162e21ae2 --- /dev/null +++ b/app/assets/images/social/twitter.svg @@ -0,0 +1,10 @@ + \ No newline at end of file diff --git a/app/assets/stylesheets/footer.scss b/app/assets/stylesheets/footer.scss index 927971394..dec58f53f 100644 --- a/app/assets/stylesheets/footer.scss +++ b/app/assets/stylesheets/footer.scss @@ -1,3 +1,55 @@ -.legal-text { - font-size: 0.9rem; -} \ No newline at end of file +.footer-container{ + display: flex; + justify-content: center; + background-color: var(--primary-color); +} +footer{ + width: 1280px; + background-color: var(--primary-color); + padding: 40px 100px; +} + +.footer-header{ + display: flex; + justify-content: space-between; + margin-bottom: 40px; +} +.footer-logo{ + color: white; + display: flex; + align-items: center; +} +.footer-logo p{ + margin-bottom: 0; + font-weight: 700; + font-size: 18px; + margin-left: 20px; +} +.footer-social-media-links a{ + margin-left: 20px; +} +.footer-nav-links{ + display: flex; + flex-wrap: wrap; + justify-content: space-between; +} +.footer-nav-links div h2{ + font-size: 21px; + font-weight: 700; + color: white; + margin-bottom: 10px; +} +.footer-nav-links div div{ + display:flex; + flex-direction: column; +} +.footer-nav-links div a{ + font-size: 16px; + font-weight: 400; + color: white !important; + margin-bottom: 10px; + opacity: 60%; +} +.footer-nav-links div a:hover{ + opacity: 100%; +} diff --git a/app/assets/stylesheets/themes/lirmm/main.scss b/app/assets/stylesheets/themes/lirmm/main.scss index e50dcf48d..d5bb078c1 100644 --- a/app/assets/stylesheets/themes/lirmm/main.scss +++ b/app/assets/stylesheets/themes/lirmm/main.scss @@ -241,22 +241,3 @@ div.logos a { } } -/************************************ - * FOOTER -************************************/ -footer, .footer { - background-color: $color-secondary !important; - position: relative !important; -} - -footer img { - height: 32px; -} - -footer a.logo.connect img { - margin-right: 10px; -} - -.legal-text { - font-size: 0.9rem; -} diff --git a/app/views/annotator/index.html.haml b/app/views/annotator/index.html.haml index 6c12a1f55..ca9fa67bb 100644 --- a/app/views/annotator/index.html.haml +++ b/app/views/annotator/index.html.haml @@ -3,7 +3,7 @@ %head = javascript_include_tag "bp_annotator" -%div.container-fluid +%div.container-fluid.flex-grow-1 %div.row %div.col %h2.mt-3 Annotator diff --git a/app/views/annotatorplus/index.html.haml b/app/views/annotatorplus/index.html.haml index 0fab2ce09..01cbdbbac 100644 --- a/app/views/annotatorplus/index.html.haml +++ b/app/views/annotatorplus/index.html.haml @@ -3,7 +3,7 @@ %head = javascript_include_tag "bp_annotatorplus" -%div.container-fluid +%div.container-fluid.flex-grow-1 %div.row %div.col %h2.mt-3 Annotator + diff --git a/app/views/layouts/_footer.html.haml b/app/views/layouts/_footer.html.haml index a88f4166f..2cdd9b7c0 100644 --- a/app/views/layouts/_footer.html.haml +++ b/app/views/layouts/_footer.html.haml @@ -1,33 +1,32 @@ -%footer.footer.pt-4.mt-5 - %div.container - %div.row - - $FOOTER_LINKS.to_h[:top].to_a.each do |footer_links_block| - %div.col-6.col-md - %h6= footer_links_block[:column_header] - %ul.list-unstyled - - footer_links_block[:links].each do |footer_links_row| - %li - - footer_links_row.each do |footer_link| - = render_footer_link footer_link - %div.row.legal-text - %div.col - = t('.grant_html', site: $SITE) - %div.row.pt-2 - - $FOOTER_LINKS.to_h[:bottom].to_a.each do |footer_links_block| - %div.col-6.col-md - - if footer_links_block[:column_header].present? - %h6= footer_links_block[:column_header] - %ul.list-inline - - footer_links_block[:links].each do |footer_links_row| - - footer_links_row.each_with_index do |footer_link, i| - %li.list-inline-item - = render_footer_link footer_link - - unless i >= footer_links_row.size - 1 - %li.list-inline-item - = raw(footer_links_block[:separator]) +%br +%br/ +.footer-container + %footer + .footer-header + .footer-logo + %img{:src => "#{asset_path("logos/ontoportal.svg")}"} + - logo = $UI_THEME.to_s.capitalize + - logo.sub! 'portal' , 'Portal' + %p + = logo + .footer-social-media-links + - $FOOTER_LINKS[:social].each do |link| + %a{:href => link[:link], :target => "_blank"} + %img{:src => "#{asset_path(link[:logo])}"}/ + .footer-nav-links + - $FOOTER_LINKS[:sections].each do |key, section_links| + %div + %h2 + = t("layout.footer."+key.to_s) + %div + - section_links.each do |section , link| + %a{:href => link, :target => "_blank"} + = t("layout.footer."+section.to_s) + + = javascript_include_tag "application" diff --git a/app/views/layouts/_header.html.erb b/app/views/layouts/_header.html.erb index 730a85af5..0530d3209 100644 --- a/app/views/layouts/_header.html.erb +++ b/app/views/layouts/_header.html.erb @@ -43,5 +43,5 @@
<%=render partial: 'layouts/topnav'%> -- Many vocabularies and ontologies are produced to represent and annotate agronomic data. Therefore, there is a need of - a common platform to identify, host and use them in agro-informatics application. The AgroPortal project aims to offer - a reference ontology repository for agronomy, reusing the NCBO BioPortal technology. The scientific outcomes and the - experience of the biomedical domain are thus exploited and transposed in the agronomy domain, including plants, food, - environment and possibly animal sciences. We offer an ontology portal which features ontology hosting, search, versioning, - visualization, comment, recommendation, enables semantic annotation, as well as storing and exploiting ontology alignments. - All of these within a fully semantic web compliant infrastructure. The AgroPortal specifically pays attention to respect the - requirements of the agronomic community in terms of ontology formats (e.g., SKOS, trait dictionaries) or supported features. - AgroPortal project is based on five driving agronomic use cases which participate in the design and orientation of the platform. - AgroPortal already offers a robust and stable reference repository highly valuable for the agronomic domain. -
-- See the release notes -
-The National Center For Biomedical Ontology (NCBO), Institut de Recherche pour le Développement (IRD), Research Data Alliance (RDA), - Bioversity International, Food & Agriculture Organization (FAO), Global Open Data for Agriculture & Nutrition (Godan Action), Institut National de la Recherche Agronomique (INRA)
-The AgroPortal is partly achieved within the Semantic Indexing of French biomedical Resources (SIFR) project - that received funding from the EU H2020 research and innovation programme under the Marie Sklodowska-Curie (grant 701771) - and the French National Research Agency (grant ANR-12-JS02-01001), the NUMEV Labex (grant ANR-10-LABX-20), - the Computational Biology Institute of Montpellier (grant ANR-11-BINF-0002) as well as by University of Montpellier and the CNRS. - We also thank the National Center for Biomedical Ontologies for help and time spent with us in deploying the AgroPortal.
-+ Many vocabularies and ontologies are produced to represent and annotate agronomic data. It is therefore necessary to have a common platform to identify them, host them and use them in agro-informatics applications. The AgroPortal project aims to provide a repository of reference ontologies for agronomy, by reusing the NCBO BioPortal technology. The scientific results and the experience of the biomedical field are thus exploited and transposed in the field of agronomy, including plants, food, the environment and possibly animal sciences. We propose an ontology portal that offers ontology hosting, search, versioning, visualization, commenting, recommendation, allows semantic annotation, as well as storing and exploiting alignments of ontologies. All this in an infrastructure fully compliant with the Semantic Web. The AgroPortal project pays particular attention to meeting the requirements of the agronomic community in terms of ontology formats (e.g. SKOS, trait dictionaries) or supported functionalities. The AgroPortal project is based on five agronomic use cases that participate in the design and orientation of the platform. AgroPortal already offers a robust and stable reference repository, of great value for the field of agronomy. +
++ See the release-notes +
+The National Center for Biomedical Ontology (NCBO), the Research Institute for Development (IRD), Research Data Alliance (RDA), + Bioversity International, Food & Agriculture Organization (FAO), Global Open Data for Agriculture & Nutrition (Godan Action), National Institute for Agronomic Research (INRA)
+The AgroPortail is partly produced as part of the Semantic Indexing of French Biomedical Resources project (SIFR) + who have received funding from the EU H2020 research and innovation program under Marie Sklodowska-Curie (grant 701771) + and the National Research Agency (ANR-12-JS02-01001 grant), Labex NUMEV (ANR-10-LABX-20 grant), + the Institute of Computational Biology of Montpellier (grant ANR-11-BINF-0002) as well as by the University of Montpellier and the CNRS. + We also thank the National Center of Biomedical Ontologies for their help and the time spent with us in the deployment of the AgroPortail.
+This ontology integrates with OntoloBridge, allowing community users to suggest additions to the public ontology. Complete the template below to submit a term request directly to the ontology maintainer.
---Term Label (required)
-
Suggested term name. If a term can be described with multiple synonyms, only list the preferred name here.
--Term description (required)
-
A brief definition, description, or usage of your suggested term. Additional term synonyms may be listed in this section.
--Superclass (required)
-
The parent term of the suggested term. The parent term should be an existing entry of the current ontology. The superclass can be selected directly from Bioportal's Classes tree viewer.
--References (optional)
-
Provide evidence for the existence of the requested term such as Pubmed IDs of papers or links to other resources that describe the term.
-- mappings: - intro: Browse mappings between classes in different ontologies +Justification (optional)
-
Provide any additional information about the requested term here.
This ontology integrates with OntoloBridge, allowing community users to suggest additions to the public ontology. Complete the template below to submit a term request directly to the Ontology Manager.
+++Term label (required)
+
Suggested term name. If a term can be described with more than one synonym, enter only the preferred name here.
++Term Description (required)
+
A brief definition, description, or usage of the suggested term. Synonyms of additional terms may be listed in this section.
++Superclass (required)
+
The parent term of the suggested term. The parent term must be an existing entry in the current ontology. The superclass can be selected directly from the Bioportal class tree.
++References (optional)
+
Provide evidence that the requested term exists, such as Pubmed IDs of articles or links to other resources describing the term.
++ + # General + + showing: Display + of: of + sort: Sort + popular: Popular + name: Name + classes_count: Number of classes + instances_concepts_count: Number of instances/concepts + Notes: Notes + upload_date: Upload date + release_date: Release date + fair_score: FAIR score + search_rank: Search Rank + no_matches: No matches! + uploaded: Uploaded + view_of: View of + view: View + summary_only: Summary only + groups: Groups + categories: Categories + admins: Administrators + status: Status + no_submissions_available: No submissions available + classes: classes + category: Category + group: Group + size: size + ontology_content: Ontology content + natural_language: Natural language + formality_levels: Formality levels + is_of_type: Is of type + missing_status: Missing Status + types: Types + artifacts: Artifacts + formats: formats + selected_ontologies: Selected ontologies + all: "All" + none: "none" + keywords: "Keywords" + keywords_separated_by_commas: "Keywords separated by commas" + see_details: "See details" + view_fair_scores_definitions: "View fair scores definitions" + get_json_version: "Get the json version" + select_ontologies: "Start typing to select ontologies or leave blank to use them all" + clear_selection: "Clear Selection" + select_from_list: "Select from list" + more: "More" + statistics: "Statistics" + average: "Average" + min: "Min" + max: "Max" + median: "Median" + slices: "Slices" + help: "Help" + or: "Or" + show_advanced_options: "Show advanced options" + insert_sample_text: "Insert sample text" + class: "Class" + filter: "Filter" + ontology: "Ontology" + type: "Type" + context: "Context" + umls_sem_type: "UMLS Sem Type" + matched_ontology: "matched ontology" + matched_class: "Matched class" + score: "Score" + negation: "negation" + experience: "Experience" + temporality: "Temporality" + certainty: "Certainty" + format_results: "Format results as " + reproduce_results: "Reproduce these results using the " + additional_parameters: "Additional Parameters Explained at " + input: "Input" + text: "Text" + output: "Output" + ontology_sets: "Ontology sets" + insert_sample_input: "Insert sample input" + weights_configuration: "Weights Configuration" + coverage: "Coverage" + accept: "Accept" + knowledge_detail: "Knowledge Detail" + specialization: "Specialization" + max_ontologies_per_set: "Maximum number of ontologies per set" + paste_input_text: "Paste a paragraph of text or keywords to use in calculating ontology recommendations" + get_recommendations: "Get recommendations" + select_ontologies_list: "Select ontologies"Justification (optional)
+
Provide here any additional information about the requested term.