From 73c3b75a84613be7195c34386ef4c337acd42e6c Mon Sep 17 00:00:00 2001 From: Max Turer Date: Fri, 26 Apr 2024 19:10:07 +0000 Subject: [PATCH] removed sort option --- .../scholarspace/components/_advanced.scss | 15 +++++++++++---- .../_advanced_search_submit_btns.html.erb | 9 +-------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/assets/stylesheets/scholarspace/components/_advanced.scss b/app/assets/stylesheets/scholarspace/components/_advanced.scss index 1690ca5a..e6b8a8df 100644 --- a/app/assets/stylesheets/scholarspace/components/_advanced.scss +++ b/app/assets/stylesheets/scholarspace/components/_advanced.scss @@ -216,10 +216,13 @@ margin-bottom: 0; padding: 0em 3em 1em 3em; - .sort-buttons, .submit-buttons { margin-bottom: 1rem; + .gw-btn { + padding: 0.3rem 2.75rem; + } + .gw-ghost-btn { padding: 0.3rem 0.75rem; } @@ -227,7 +230,7 @@ hr { display: flex; - width: 13vw; + width: 15vw; margin: 0 0 1rem 0; border: 2px solid $gw-buff; } @@ -295,10 +298,14 @@ } .sort-submit-buttons { - flex-direction: column; + .submit-buttons { + .gw-btn { + padding: 0.3rem 0.75rem; + } + } hr { - display: none; + width: 11vw; } } } diff --git a/app/views/advanced/_advanced_search_submit_btns.html.erb b/app/views/advanced/_advanced_search_submit_btns.html.erb index 650fcdb3..49f28987 100644 --- a/app/views/advanced/_advanced_search_submit_btns.html.erb +++ b/app/views/advanced/_advanced_search_submit_btns.html.erb @@ -1,11 +1,4 @@ -
- <%= label_tag(:sort, t('blacklight_advanced_search.form.sort_label'), :class => "control-label") %> - - <%= select_tag(:sort, options_for_select(sort_fields, h(params[:sort])), :class => "form-control sort-select") %> - <%= hidden_field_tag(:search_field, blacklight_config.advanced_search[:url_key]) %> -
- -
+
<%= link_to t('blacklight_advanced_search.form.start_over'), blacklight_advanced_search_engine.advanced_search_path, :class =>"btn-base gw-ghost-btn advanced-search-start-over" %> <%= submit_tag t('blacklight_advanced_search.form.search_btn'), :class=>'btn-base gw-btn advanced-search-submit', :id => "advanced-search-submit" %>