Skip to content

Commit

Permalink
Position textual/semantic search UIs as equals with tabs (#455)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgonggrijp committed May 31, 2021
1 parent 295a152 commit 081eed3
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 7 deletions.
1 change: 0 additions & 1 deletion frontend/src/semantic-search/semantic-search-template.hbs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
<h4 class="title is-4">{{#i18n 'semsearch-title'}}Semantic search{{/i18n}}</h4>
<h6 class="subtitle is-6">{{#i18n 'semsearch-subtitle'}}Find linked data items based on semantic features{{/i18n}}</h6>
<div class="field">
<div class="control">
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/style/_bulma-custom.sass
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@import "bulma/sass/components/navbar"
@import "bulma/sass/components/pagination"
// @import "bulma/sass/components/panel"
// @import "bulma/sass/components/tabs"
@import "bulma/sass/components/tabs"

@import "bulma/sass/grid/columns"
// @import "bulma/sass/grid/tiles"
Expand Down
7 changes: 3 additions & 4 deletions frontend/src/style/welcome.sass
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
margin: 6% auto
.notfound img
max-height: 40vh

.welcome .searchbox
margin: 30px auto
width: 85%
.searchbox, .rit-semantic-search, .tabs
margin: 30px auto
width: 85%
20 changes: 19 additions & 1 deletion frontend/src/welcome/welcome-template.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,23 @@
<div class="welcome">
<div class="welcome-image">
<figure class='image'><img src="{{static 'image/Read-IT-logo-bg.svg'}}" alt="Read-It"></figure>
<figure class='image'>
<img src="{{static 'image/Read-IT-logo-bg.svg'}}" alt="Read-It">
</figure>
<div class="tabs">
<ul>
<li data-tab=searchboxView><a>
<span class="icon is-small">
<i class="fas fa-quote-right" aria-hidden=true></i>
</span>
<span>{{#i18n 'search-tab-text'}}Textual search{{/i18n}}</span>
</a></li>
<li data-tab=semSearchView><a>
<span class="icon is-small">
<i class="fas fa-code-branch" aria-hidden=true></i>
</span>
<span>{{#i18n 'search-tab-semantic'}}Semantic search{{/i18n}}</span>
</a></li>
</ul>
</div>
</div>
</div>

0 comments on commit 081eed3

Please sign in to comment.