Skip to content

Commit

Permalink
re-use the ontology-search-input in the home
Browse files Browse the repository at this point in the history
  • Loading branch information
syphax-bouazzouni committed Jun 27, 2023
1 parent 203d249 commit c8be55b
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions app/views/home/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,8 @@
= t('.welcome', site: $SITE)
%p
= t('.tagline')
%input#home-search{:name => "search", :placeholder => "Search for an ontology or concept (Ex: Agrovoc ...)", :type => "text", 'data-home-search-target': 'input', 'data-action': 'input->home-search#search blur->home-search#blur'}
#home-search-drop-down{'data-home-search-target': 'dropDown', 'data-action': 'mousedown->home-search#prevent'}
%a.home-search-ontology-content#home-search-ontology-content{href: "#", 'data-home-search-target': 'searchOntologyContent'}
%p#seached-ontology{'data-home-search-target': 'ontology'}
%div
%img{src: asset_path("loop.svg")}/
%p Search ontology content
%a.home-search-ontology-content#home-search-ontologies{href: "#", 'data-home-search-target': 'homeSearchOntologies'}
%p#seached-ontologies{'data-home-search-target': 'searchedOntologies'}
%div
%img{src: asset_path("loop.svg")}/
%p See all ontologies
= render OntologySearchInputComponent.new

.home-body-container
.home-section
%h4 Wanna upload an ontology?
Expand Down

0 comments on commit c8be55b

Please sign in to comment.