blacklight-spotlight 2.13.0 → 3.0.0.alpha.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (282) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/blacklight/add_circle.svg +1 -0
  3. data/app/assets/images/blacklight/arrow_back_ios.svg +1 -0
  4. data/app/assets/images/blacklight/arrow_forward_ios.svg +1 -0
  5. data/app/assets/images/blacklight/check.svg +1 -0
  6. data/app/assets/images/blacklight/check_circle.svg +1 -0
  7. data/app/assets/images/blacklight/chevron_right.svg +1 -0
  8. data/app/assets/images/blacklight/custom_fullscreen.svg +1 -0
  9. data/app/assets/images/blacklight/edit.svg +1 -0
  10. data/app/assets/images/blacklight/error.svg +1 -0
  11. data/app/assets/images/blacklight/info.svg +1 -0
  12. data/app/assets/images/blacklight/remove_circle.svg +1 -0
  13. data/app/assets/images/blacklight/remove_circle_outline.svg +1 -0
  14. data/app/assets/images/blacklight/resize_small.svg +1 -0
  15. data/app/assets/images/blacklight/warning.svg +1 -0
  16. data/app/assets/javascripts/spotlight/admin/block_mixins/autocompleteable.js +1 -1
  17. data/app/assets/javascripts/spotlight/admin/block_mixins/plustextable.js +2 -2
  18. data/app/assets/javascripts/spotlight/admin/blocks/browse_block.js +1 -1
  19. data/app/assets/javascripts/spotlight/admin/blocks/pages_block.js +1 -1
  20. data/app/assets/javascripts/spotlight/admin/blocks/resources_block.js +7 -7
  21. data/app/assets/javascripts/spotlight/admin/blocks/solr_documents_base_block.js +3 -3
  22. data/app/assets/javascripts/spotlight/admin/blocks/uploaded_items_block.js +7 -7
  23. data/app/assets/javascripts/spotlight/admin/catalog_edit.js +2 -2
  24. data/app/assets/javascripts/spotlight/admin/multi_image_selector.js +2 -2
  25. data/app/assets/javascripts/spotlight/admin/reindex_monitor.js +1 -1
  26. data/app/assets/javascripts/spotlight/admin/search_typeahead.js +2 -2
  27. data/app/assets/javascripts/spotlight/admin/sir-trevor/block_controls.js +1 -1
  28. data/app/assets/javascripts/spotlight/admin/users.js +1 -1
  29. data/app/assets/javascripts/spotlight/user/index.js +1 -0
  30. data/app/assets/javascripts/spotlight/user/zpr_links.js.erb +6 -6
  31. data/app/assets/stylesheets/spotlight/_blacklight_configuration.scss +44 -4
  32. data/app/assets/stylesheets/spotlight/_blacklight_overrides.scss +4 -8
  33. data/app/assets/stylesheets/spotlight/_bootstrap_overrides.scss +31 -14
  34. data/app/assets/stylesheets/spotlight/_browse.scss +16 -13
  35. data/app/assets/stylesheets/spotlight/_catalog.scss +13 -7
  36. data/app/assets/stylesheets/spotlight/_collapse_toggle.scss +10 -14
  37. data/app/assets/stylesheets/spotlight/_curation.scss +34 -32
  38. data/app/assets/stylesheets/spotlight/_exhibit_admin.scss +4 -29
  39. data/app/assets/stylesheets/spotlight/_exhibits_index.scss +16 -14
  40. data/app/assets/stylesheets/spotlight/_featured_browse_categories_block.scss +22 -20
  41. data/app/assets/stylesheets/spotlight/_footer.scss +2 -2
  42. data/app/assets/stylesheets/spotlight/_header.scss +18 -39
  43. data/app/assets/stylesheets/spotlight/_item_text_block.scss +1 -24
  44. data/app/assets/stylesheets/spotlight/_mixins.scss +3 -8
  45. data/app/assets/stylesheets/spotlight/_multi_up_item_grid.scss +1 -1
  46. data/app/assets/stylesheets/spotlight/_nestable.scss +1 -2
  47. data/app/assets/stylesheets/spotlight/_pages.scss +33 -54
  48. data/app/assets/stylesheets/spotlight/_report_a_problem.scss +7 -1
  49. data/app/assets/stylesheets/spotlight/_sir-trevor_overrides.scss +9 -9
  50. data/app/assets/stylesheets/spotlight/_slideshow_block.scss +13 -11
  51. data/app/assets/stylesheets/spotlight/_spotlight.scss +0 -1
  52. data/app/assets/stylesheets/spotlight/_translations.scss +12 -12
  53. data/app/assets/stylesheets/spotlight/_variables.scss +14 -15
  54. data/app/assets/stylesheets/spotlight/_variables_bootstrap.scss +7 -7
  55. data/app/assets/stylesheets/spotlight/typeahead.css +1 -1
  56. data/app/builders/spotlight/bootstrap_breadcrumbs_builder.rb +3 -2
  57. data/app/controllers/concerns/spotlight/catalog.rb +1 -1
  58. data/app/controllers/concerns/spotlight/controller.rb +3 -3
  59. data/app/controllers/concerns/spotlight/search_helper.rb +23 -0
  60. data/app/controllers/spotlight/browse_controller.rb +18 -4
  61. data/app/controllers/spotlight/catalog_controller.rb +13 -17
  62. data/app/controllers/spotlight/dashboards_controller.rb +5 -1
  63. data/app/controllers/spotlight/exhibits_controller.rb +1 -1
  64. data/app/controllers/spotlight/home_pages_controller.rb +32 -3
  65. data/app/controllers/spotlight/pages_controller.rb +19 -1
  66. data/app/controllers/spotlight/search_configurations_controller.rb +3 -3
  67. data/app/controllers/spotlight/searches_controller.rb +4 -1
  68. data/app/controllers/spotlight/solr_controller.rb +1 -2
  69. data/app/helpers/spotlight/application_helper.rb +1 -1
  70. data/app/helpers/spotlight/browse_helper.rb +1 -1
  71. data/app/helpers/spotlight/crud_link_helpers.rb +19 -0
  72. data/app/helpers/spotlight/pages_helper.rb +1 -1
  73. data/app/mailers/spotlight/contact_mailer.rb +1 -1
  74. data/app/models/concerns/spotlight/access_controls_enforcement_search_builder.rb +2 -2
  75. data/app/models/concerns/spotlight/exhibit_analytics.rb +1 -3
  76. data/app/models/concerns/spotlight/exhibit_documents.rb +1 -1
  77. data/app/models/sir_trevor_rails/blocks/solr_documents_block.rb +11 -3
  78. data/app/models/spotlight/ability.rb +1 -1
  79. data/app/models/spotlight/analytics/ga.rb +25 -35
  80. data/app/models/spotlight/analytics/ga_model.rb +29 -0
  81. data/app/models/spotlight/blacklight_configuration.rb +5 -3
  82. data/app/models/spotlight/contact_form.rb +11 -4
  83. data/app/models/spotlight/exhibit.rb +0 -4
  84. data/app/models/spotlight/field_metadata.rb +3 -9
  85. data/app/models/spotlight/page.rb +0 -3
  86. data/app/models/spotlight/page_configurations.rb +1 -1
  87. data/app/models/spotlight/role.rb +0 -4
  88. data/app/models/spotlight/search.rb +3 -17
  89. data/app/presenters/spotlight/iiif_manifest_presenter.rb +5 -1
  90. data/app/serializers/spotlight/exhibit_export_serializer.rb +69 -28
  91. data/app/serializers/spotlight/page_representer.rb +1 -1
  92. data/app/views/catalog/_save_search.html.erb +6 -4
  93. data/app/views/devise/mailer/invitation_instructions.html.erb +1 -1
  94. data/app/views/layouts/spotlight/base.html.erb +48 -0
  95. data/app/views/layouts/spotlight/spotlight.html.erb +16 -54
  96. data/app/views/shared/_about_navbar.html.erb +2 -2
  97. data/app/views/shared/_browse_navbar.html.erb +2 -2
  98. data/app/views/shared/_curated_features_navbar.html.erb +4 -4
  99. data/app/views/shared/_exhibit_navbar.html.erb +5 -5
  100. data/app/views/shared/_header_navbar.html.erb +8 -13
  101. data/app/views/shared/_masthead.html.erb +1 -1
  102. data/app/views/shared/_site_sidebar.html.erb +6 -6
  103. data/app/views/shared/_user_util_links.html.erb +47 -0
  104. data/app/views/spotlight/about_pages/_contact.html.erb +3 -4
  105. data/app/views/spotlight/about_pages/_contacts.html.erb +1 -1
  106. data/app/views/spotlight/about_pages/_sidebar.html.erb +3 -5
  107. data/app/views/spotlight/about_pages/index.html.erb +7 -6
  108. data/app/views/spotlight/admin_users/index.html.erb +78 -79
  109. data/app/views/spotlight/appearances/edit.html.erb +26 -23
  110. data/app/views/spotlight/browse/_search.html.erb +2 -2
  111. data/app/views/spotlight/browse/_search_box.html.erb +9 -6
  112. data/app/views/spotlight/browse/_search_title.html.erb +1 -1
  113. data/app/views/spotlight/browse/_sort_and_per_page.html.erb +3 -5
  114. data/app/views/spotlight/browse/index.html.erb +4 -6
  115. data/app/views/spotlight/browse/show.html.erb +1 -1
  116. data/app/views/spotlight/catalog/_admin_header.html.erb +2 -2
  117. data/app/views/spotlight/catalog/_curation_mode_toggle_default.html.erb +1 -1
  118. data/app/views/spotlight/catalog/_document_admin_table.html.erb +4 -4
  119. data/app/views/spotlight/catalog/_edit_sidecar.html.erb +1 -1
  120. data/app/views/spotlight/catalog/_index_compact_default.html.erb +1 -2
  121. data/app/views/spotlight/catalog/_reindex_progress_panel.html.erb +3 -5
  122. data/app/views/spotlight/catalog/admin.html.erb +12 -12
  123. data/app/views/spotlight/contact_forms/new.html.erb +1 -3
  124. data/app/views/spotlight/contacts/edit.html.erb +6 -5
  125. data/app/views/spotlight/contacts/new.html.erb +6 -5
  126. data/app/views/spotlight/custom_fields/edit.html.erb +6 -5
  127. data/app/views/spotlight/custom_fields/new.html.erb +6 -5
  128. data/app/views/spotlight/dashboards/_analytics.html.erb +3 -3
  129. data/app/views/spotlight/dashboards/_page.html.erb +6 -6
  130. data/app/views/spotlight/dashboards/_page_activity.html.erb +5 -5
  131. data/app/views/spotlight/dashboards/_reindexing_activity.html.erb +12 -12
  132. data/app/views/spotlight/dashboards/analytics.html.erb +11 -11
  133. data/app/views/spotlight/dashboards/show.html.erb +13 -13
  134. data/app/views/spotlight/exhibits/_confirmation_status.html.erb +3 -4
  135. data/app/views/spotlight/exhibits/_contact.html.erb +3 -3
  136. data/app/views/spotlight/exhibits/_delete.html.erb +7 -5
  137. data/app/views/spotlight/exhibits/_exhibit_card.html.erb +2 -2
  138. data/app/views/spotlight/exhibits/_exhibit_card_front.html.erb +2 -2
  139. data/app/views/spotlight/exhibits/_form.html.erb +5 -5
  140. data/app/views/spotlight/exhibits/_languages.html.erb +2 -2
  141. data/app/views/spotlight/exhibits/_new_exhibit_form.html.erb +0 -2
  142. data/app/views/spotlight/exhibits/edit.html.erb +43 -42
  143. data/app/views/spotlight/exhibits/index.html.erb +40 -41
  144. data/app/views/spotlight/exhibits/new.html.erb +4 -5
  145. data/app/views/spotlight/feature_pages/_header.html.erb +12 -14
  146. data/app/views/spotlight/feature_pages/_sidebar.html.erb +2 -4
  147. data/app/views/spotlight/featured_images/_form.html.erb +4 -4
  148. data/app/views/spotlight/filters/_form.html.erb +1 -1
  149. data/app/views/spotlight/home_pages/_edit_page_link.html.erb +1 -1
  150. data/app/views/spotlight/home_pages/_sidebar.html.erb +1 -3
  151. data/app/views/spotlight/metadata_configurations/_metadata_field.html.erb +4 -4
  152. data/app/views/spotlight/metadata_configurations/edit.html.erb +5 -4
  153. data/app/views/spotlight/pages/_edit_page_link.html.erb +1 -1
  154. data/app/views/spotlight/pages/_form.html.erb +7 -7
  155. data/app/views/spotlight/pages/_order_pages.html.erb +2 -2
  156. data/app/views/spotlight/pages/_page.html.erb +11 -11
  157. data/app/views/spotlight/pages/_view_type_group.html.erb +1 -1
  158. data/app/views/spotlight/pages/edit.html.erb +2 -4
  159. data/app/views/spotlight/pages/index.html.erb +5 -4
  160. data/app/views/spotlight/pages/show.html.erb +5 -4
  161. data/app/views/spotlight/resources/_external_resources_form.html.erb +2 -2
  162. data/app/views/spotlight/resources/_form.html.erb +1 -1
  163. data/app/views/spotlight/resources/csv_upload/_form.html.erb +1 -1
  164. data/app/views/spotlight/resources/iiif/_form.html.erb +1 -1
  165. data/app/views/spotlight/resources/json_upload/_form.html.erb +1 -1
  166. data/app/views/spotlight/resources/new.html.erb +25 -23
  167. data/app/views/spotlight/resources/upload/_form.html.erb +2 -2
  168. data/app/views/spotlight/roles/index.html.erb +60 -57
  169. data/app/views/spotlight/search_configurations/_facet_metadata.html.erb +3 -1
  170. data/app/views/spotlight/search_configurations/_facets.html.erb +19 -18
  171. data/app/views/spotlight/search_configurations/_search_fields.html.erb +6 -6
  172. data/app/views/spotlight/search_configurations/_sort.html.erb +6 -6
  173. data/app/views/spotlight/search_configurations/edit.html.erb +42 -40
  174. data/app/views/spotlight/searches/_form.html.erb +15 -10
  175. data/app/views/spotlight/searches/_search.html.erb +29 -22
  176. data/app/views/spotlight/searches/edit.html.erb +6 -5
  177. data/app/views/spotlight/searches/index.html.erb +32 -31
  178. data/app/views/spotlight/shared/_configuration_sidebar.html.erb +6 -6
  179. data/app/views/spotlight/shared/_curation_sidebar.html.erb +8 -9
  180. data/app/views/spotlight/shared/_exhibit_sidebar.html.erb +6 -8
  181. data/app/views/spotlight/shared/_locale_picker.html.erb +3 -3
  182. data/app/views/spotlight/shared/_report_a_problem.html.erb +2 -2
  183. data/app/views/spotlight/sir_trevor/blocks/_browse_block.html.erb +1 -1
  184. data/app/views/spotlight/sir_trevor/blocks/_link_to_search_block.html.erb +1 -1
  185. data/app/views/spotlight/sir_trevor/blocks/_oembed_block.html.erb +2 -2
  186. data/app/views/spotlight/sir_trevor/blocks/_search_results_block.html.erb +2 -2
  187. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_block.html.erb +8 -8
  188. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb +8 -8
  189. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb +3 -4
  190. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb +32 -31
  191. data/app/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb +5 -5
  192. data/app/views/spotlight/sir_trevor/blocks/_uploaded_items_block.html.erb +8 -10
  193. data/app/views/spotlight/sites/edit.html.erb +31 -34
  194. data/app/views/spotlight/sites/edit_exhibits.html.erb +28 -29
  195. data/app/views/spotlight/tags/index.html.erb +25 -24
  196. data/app/views/spotlight/translations/_browse_categories.html.erb +20 -15
  197. data/app/views/spotlight/translations/_general.html.erb +69 -91
  198. data/app/views/spotlight/translations/_metadata.html.erb +18 -14
  199. data/app/views/spotlight/translations/_page.html.erb +2 -2
  200. data/app/views/spotlight/translations/_search_fields.html.erb +26 -20
  201. data/app/views/spotlight/translations/edit.html.erb +16 -14
  202. data/config/locales/spotlight.en.yml +3 -0
  203. data/config/routes.rb +1 -1
  204. data/lib/generators/spotlight/install_generator.rb +2 -2
  205. data/lib/generators/spotlight/scaffold_resource_generator.rb +1 -1
  206. data/lib/generators/spotlight/templates/spotlight.scss +0 -1
  207. data/lib/spotlight/engine.rb +12 -0
  208. data/lib/spotlight/version.rb +1 -1
  209. data/spec/controllers/application_controller_spec.rb +2 -2
  210. data/spec/controllers/spotlight/browse_controller_spec.rb +1 -1
  211. data/spec/controllers/spotlight/catalog_controller_spec.rb +13 -13
  212. data/spec/controllers/spotlight/dashboards_controller_spec.rb +2 -1
  213. data/spec/controllers/spotlight/search_configurations_controller_spec.rb +1 -1
  214. data/spec/examples.txt +50 -1489
  215. data/spec/features/add_items_spec.rb +2 -2
  216. data/spec/features/browse_category_admin_spec.rb +3 -3
  217. data/spec/features/browse_category_spec.rb +3 -3
  218. data/spec/features/catalog_spec.rb +1 -1
  219. data/spec/features/exhibits/translation_editing_spec.rb +21 -21
  220. data/spec/features/feature_page_spec.rb +1 -1
  221. data/spec/features/home_page_spec.rb +3 -3
  222. data/spec/features/javascript/blocks/featured_browse_categories_block_spec.rb +1 -1
  223. data/spec/features/javascript/blocks/link_to_search_block_spec.rb +1 -1
  224. data/spec/features/javascript/blocks/search_result_block_spec.rb +9 -4
  225. data/spec/features/javascript/blocks/solr_documents_block_spec.rb +23 -15
  226. data/spec/features/javascript/blocks/solr_documents_carousel_block_spec.rb +29 -0
  227. data/spec/features/javascript/blocks/uploaded_items_block_spec.rb +2 -2
  228. data/spec/features/javascript/edit_in_place_spec.rb +1 -0
  229. data/spec/features/javascript/feature_page_admin_spec.rb +11 -11
  230. data/spec/features/javascript/locale_selector_spec.rb +0 -1
  231. data/spec/features/javascript/multi_image_select_spec.rb +3 -3
  232. data/spec/features/javascript/reindex_monitor_spec.rb +2 -2
  233. data/spec/features/javascript/roles_admin_spec.rb +2 -2
  234. data/spec/features/javascript/search_context_spec.rb +4 -6
  235. data/spec/features/site_users_management_spec.rb +1 -1
  236. data/spec/helpers/spotlight/application_helper_spec.rb +2 -1
  237. data/spec/helpers/spotlight/crud_link_helpers_spec.rb +19 -0
  238. data/spec/helpers/spotlight/languages_helper_spec.rb +1 -0
  239. data/spec/lib/spotlight/controller_spec.rb +2 -2
  240. data/spec/models/sir_trevor_rails/blocks/solr_documents_block_spec.rb +38 -0
  241. data/spec/models/spotlight/access_controls_enforcement_search_builder_spec.rb +7 -6
  242. data/spec/models/spotlight/analytics/ga_spec.rb +16 -1
  243. data/spec/models/spotlight/contact_form_spec.rb +37 -5
  244. data/spec/models/spotlight/exhibit_spec.rb +8 -4
  245. data/spec/presenters/spotlight/iiif_manifest_presenter_spec.rb +4 -0
  246. data/spec/routing/spotlight/exhibit_catalog_spec.rb +15 -11
  247. data/spec/serializers/spotlight/exhibit_export_serializer_spec.rb +60 -0
  248. data/spec/test_app_templates/Gemfile.extra +3 -0
  249. data/spec/test_app_templates/catalog_controller.rb +4 -0
  250. data/spec/test_app_templates/lib/generators/test_app_generator.rb +2 -2
  251. data/spec/views/shared/_header_navbar.html.erb_spec.rb +1 -1
  252. data/spec/views/shared/_masthead.html.erb_spec.rb +1 -1
  253. data/spec/views/{_user_util_links.html.erb_spec.rb → shared/_user_util_links.html.erb_spec.rb} +1 -1
  254. data/spec/views/spotlight/about_pages/_sidebar.html.erb_spec.rb +2 -2
  255. data/spec/views/spotlight/about_pages/index.html.erb_spec.rb +2 -2
  256. data/spec/views/spotlight/browse/_search.html.erb_spec.rb +1 -1
  257. data/spec/views/spotlight/browse/_sort_and_per_page.html.erb_spec.rb +2 -13
  258. data/spec/views/spotlight/browse/show.html.erb_spec.rb +2 -2
  259. data/spec/views/spotlight/catalog/admin.html.erb_spec.rb +1 -1
  260. data/spec/views/spotlight/dashboards/_reindexing_activity.html.erb_spec.rb +5 -5
  261. data/spec/views/spotlight/dashboards/analytics.html.erb_spec.rb +1 -1
  262. data/spec/views/spotlight/exhibits/_exhibit_card_front.html.erb_spec.rb +2 -2
  263. data/spec/views/spotlight/exhibits/edit.html.erb_spec.rb +1 -1
  264. data/spec/views/spotlight/exhibits/index.html.erb_spec.rb +1 -1
  265. data/spec/views/spotlight/feature_pages/_sidebar.html.erb_spec.rb +7 -7
  266. data/spec/views/spotlight/metadata_configurations/_metadata_field.html.erb_spec.rb +3 -2
  267. data/spec/views/spotlight/metadata_configurations/edit.html.erb_spec.rb +2 -1
  268. data/spec/views/spotlight/pages/index.html.erb_spec.rb +2 -2
  269. data/spec/views/spotlight/pages/show.html.erb_spec.rb +3 -3
  270. data/spec/views/spotlight/searches/_search.html.erb_spec.rb +1 -1
  271. data/spec/views/spotlight/searches/edit.html.erb_spec.rb +3 -3
  272. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_carousel_block.html.erb_spec.rb +3 -3
  273. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_embed_block.html.erb_spec.rb +1 -1
  274. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_features_block.html.erb_spec.rb +2 -2
  275. data/spec/views/spotlight/sir_trevor/blocks/_solr_documents_grid_block.html.erb_spec.rb +1 -1
  276. data/spec/views/spotlight/translations/_page.html.erb_spec.rb +2 -2
  277. data/vendor/assets/javascripts/bootstrap-tagsinput.js +1 -1
  278. data/vendor/assets/stylesheets/sir-trevor/_variables.scss +15 -8
  279. metadata +31 -28
  280. data/app/assets/stylesheets/spotlight/_navbar.scss +0 -48
  281. data/app/views/_user_util_links.html.erb +0 -50
  282. data/app/views/shared/_modal.html.erb +0 -6
@@ -1,17 +1,17 @@
1
- <%= render 'spotlight/shared/exhibit_sidebar' %>
1
+ <% content_for(:sidebar) do %>
2
+ <%= render 'spotlight/shared/exhibit_sidebar' %>
3
+ <% end %>
2
4
 
3
- <div id="content" class="col-md-9">
4
- <%= curation_page_title %>
5
+ <%= curation_page_title %>
5
6
 
6
- <div class="reindexingHistory clearfix">
7
- <%= render 'reindexing_activity' %>
8
- </div>
7
+ <div class="reindexingHistory clearfix mb-4">
8
+ <%= render 'reindexing_activity' %>
9
+ </div>
10
+
11
+ <div class="pageHistory clearfix mb-4">
12
+ <%= render 'page_activity' %>
13
+ </div>
9
14
 
10
- <div class="pageHistory clearfix">
11
- <%= render 'page_activity' %>
12
- </div>
13
-
14
- <div class="updatedItems clearfix">
15
- <%= render 'solr_document_activity' %>
16
- </div>
15
+ <div class="updatedItems clearfix mb-4">
16
+ <%= render 'solr_document_activity' %>
17
17
  </div>
@@ -1,10 +1,9 @@
1
1
  <div class="confirmation-status <%= 'not-validated' unless contact_email.confirmed? or contact_email.recently_sent? %>">
2
2
  <% if contact_email.confirmed? %>
3
- <span class="confirmed"><span class="glyphicon glyphicon-ok-sign"></span> <%= t('.confirmed') %></span>
3
+ <span class="confirmed"><%= blacklight_icon('check_circle') %> <%= t('.confirmed') %></span>
4
4
  <% elsif contact_email.recently_sent? %>
5
- <span class="confirmed"><span class="glyphicon glyphicon-ok-sign"></span> <%= t('.confirmation_sent') %></span>
5
+ <span class="confirmed"><%= blacklight_icon('check_circle') %> <%= t('.confirmation_sent') %></span>
6
6
  <% else %>
7
- <span class="unconfirmed"><span class="glyphicon glyphicon-exclamation-sign"></span> <%= t('.not_validated') %></span> <%= link_to t('.resend'), contact_email_confirmation_path(contact_email: {email: contact_email.email}), method: :post %>
7
+ <span class="unconfirmed"><%= blacklight_icon('error') %> <%= t('.not_validated') %></span> <%= link_to t('.resend'), contact_email_confirmation_path(contact_email: {email: contact_email.email}), method: :post %>
8
8
  <% end %>
9
9
  </div>
10
-
@@ -3,16 +3,16 @@
3
3
  <div class="col-md-8<%= ' has-error' if contact.object.errors[:email].present? %>">
4
4
  <%= text_field_tag "#{contact.object_name}[email]", contact.object.email, class: 'exhibit-contact form-control' %>
5
5
  <% if contact.object.errors[:email].present? %>
6
- <span class="help-block"><%=contact.object.errors[:email].join(", ".html_safe) %></span>
6
+ <small class="form-text text-muted"><%=contact.object.errors[:email].join(", ".html_safe) %></small>
7
7
  <% end %>
8
8
  <p>
9
- <span class="contact-email-delete-error text-danger callout-danger" style="display: none;"><%= t('.email_delete_error') %> <span class="error-msg"></span></span>
9
+ <span class="contact-email-delete-error text-danger bg-danger" style="display: none;"><%= t('.email_delete_error') %> <span class="error-msg"></span></span>
10
10
  </p>
11
11
  </div>
12
12
  <div class="col-md-4">
13
13
  <% if contact.object.id %>
14
14
  <span class="contact-email-delete-wrapper">
15
- <%= link_to exhibit_contact_email_path(exhibit_id: exhibit.id, id: contact.object.id), class: 'contact-email-delete btn btn-xs btn-danger', method: :delete, data: { confirm: t('.email_delete_confirmation'), remote: true } do %>
15
+ <%= link_to exhibit_contact_email_path(exhibit_id: exhibit.id, id: contact.object.id), class: 'contact-email-delete btn btn-sm btn-danger', method: :delete, data: { confirm: t('.email_delete_confirmation'), remote: true } do %>
16
16
  <%= t('.email_delete_button') %>
17
17
  <% end %>
18
18
  </span>
@@ -1,9 +1,11 @@
1
1
  <div role="tabpanel" class="tab-pane" id="delete">
2
- <div class="callout callout-danger row">
3
- <h4><%= t(:".heading") %></h4>
4
- <p class='col-md-9'><%= t(:".warning_html", export_link: link_to(t(:'spotlight.exhibits.export.download'), spotlight.import_exhibit_path(current_exhibit))) %></p>
5
- <div class='col-md-3'>
6
- <%= delete_link current_exhibit, class: 'btn btn-default' %>
2
+ <div class="alert alert-danger">
3
+ <h4 class="alert-heading"><%= t(:".heading") %></h4>
4
+ <div class="row">
5
+ <p class='col-9'><%= t(:".warning_html", export_link: link_to(t(:'spotlight.exhibits.export.download'), spotlight.import_exhibit_path(current_exhibit))) %></p>
6
+ <div class='col-3'>
7
+ <%= delete_link current_exhibit, class: 'btn btn-secondary' %>
8
+ </div>
7
9
  </div>
8
10
  </div>
9
11
  </div>
@@ -1,4 +1,4 @@
1
- <div class="col-xs-12 col-sm-4 exhibit-card">
1
+ <div class="col-12 col-sm-6 col-md-4 exhibit-card">
2
2
  <div class="flipper">
3
3
  <div class="card-front card-face">
4
4
  <%= render 'exhibit_card_front', exhibit: exhibit %>
@@ -7,4 +7,4 @@
7
7
  <%= render 'exhibit_card_back', exhibit: exhibit %>
8
8
  </div>
9
9
  </div>
10
- </div>
10
+ </div>
@@ -5,7 +5,7 @@
5
5
  <% end %>
6
6
 
7
7
  <% unless exhibit.published? %>
8
- <div class="label label-warning unpublished"><%= t('.unpublished') %></div>
8
+ <div class="badge badge-warning unpublished"><%= t('.unpublished') %></div>
9
9
  <% end %>
10
10
 
11
- <h2 class="card-title"><%= exhibit.title %></h2>
11
+ <h2 class="exhibit-card-title"><%= exhibit.title %></h2>
@@ -1,5 +1,5 @@
1
1
  <%= bootstrap_form_for @exhibit, url: ((spotlight.exhibit_path(@exhibit) if @exhibit.persisted?) || spotlight.exhibits_path), layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10', html: {class: "row"} do |f| %>
2
- <div class="row col-md-12">
2
+ <div class="col-md-12">
3
3
  <%= f.text_field :title, disabled: !default_language?, help: !default_language? ? t('.uneditable_non_default_language') : '' %>
4
4
  <%= f.text_field :subtitle %>
5
5
  <%= f.text_area :description %>
@@ -9,15 +9,15 @@
9
9
  <%= render partial: 'contact', locals: {exhibit: @exhibit, contact: contact} %>
10
10
  <% end %>
11
11
  <span id='another-email' class="btn btn-sm btn-info"><%= t('.add_contact_email_button') %></span>
12
- <p class="help-block"><%= t(:'.fields.contact_emails.help_block') %></p>
12
+ <small class="form-text text-muted"><%= t(:'.fields.contact_emails.help_block') %></small>
13
13
  <% end %>
14
14
  <%= f.form_group :published, label: { text: nil, class: nil }, help: nil do %>
15
15
  <%= f.check_box :published, label: "" %>
16
- <p class="help-block"><%= t(:'.fields.published.help_block') %></p>
16
+ <small class="form-text text-muted"><%= t(:'.fields.published.help_block') %></small>
17
17
  <% end %>
18
-
18
+
19
19
  <div class="form-actions">
20
-
20
+
21
21
  <div class="primary-actions">
22
22
  <%= f.submit nil, class: 'btn btn-primary' %>
23
23
  </div>
@@ -9,7 +9,7 @@
9
9
  <%= f.submit nil, class: 'btn btn-primary' %>
10
10
  <% end %>
11
11
 
12
- <h3><%= t :'spotlight.exhibits.languages.current_header' %></h3>
12
+ <h3 class="mt-4"><%= t :'spotlight.exhibits.languages.current_header' %></h3>
13
13
 
14
14
  <% if current_exhibit.languages.any? && current_exhibit.languages.last.persisted? %>
15
15
  <p class="instructions"><%= t :'spotlight.exhibits.languages.current_instructions' %></p>
@@ -36,7 +36,7 @@
36
36
  <%= languages.check_box_without_bootstrap :public %>
37
37
  </div>
38
38
  </td>
39
- <td class='text-center'><%= link_to t('.remove'), exhibit_language_path(current_exhibit, language), method: :delete, data: { confirm: t('.modal.confirm') }, class: 'btn btn-sm btn-primary' %></td>
39
+ <td class='text-center'><%= link_to t('.remove'), exhibit_language_path(current_exhibit, language), method: :delete, data: { confirm: t('.modal.confirm') }, class: 'btn btn-sm btn-danger' %></td>
40
40
  </tr>
41
41
  <% end %>
42
42
  <% end %>
@@ -1,5 +1,4 @@
1
1
  <%= bootstrap_form_for @exhibit, url: ((spotlight.exhibit_path(@exhibit) if @exhibit.persisted?) || spotlight.exhibits_path), layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10' do |f| %>
2
- <div class="row col-md-12">
3
2
  <%= f.text_field :title, label: t(:'.fields.title.label'), help: t(:'.fields.title.help_block') %>
4
3
  <%= f.text_field :slug, label: t(:'.fields.slug.label'), help: t(:'.fields.slug.help_block') %>
5
4
  <%= f.text_field :tag_list %>
@@ -11,5 +10,4 @@
11
10
  <%= f.submit nil, class: 'btn btn-primary' %>
12
11
  </div>
13
12
  </div>
14
- </div>
15
13
  <% end %>
@@ -1,46 +1,47 @@
1
- <%= render 'spotlight/shared/exhibit_sidebar' %>
2
- <div id="content" class="col-md-9 exhibit-admin">
3
- <%= configuration_page_title %>
4
- <div role="tabpanel">
5
- <ul class="nav nav-tabs" role="tablist">
6
- <li role="presentation" class="<%= 'active' if @tab.blank? %>">
7
- <a href="#basic" aria-controls="basic" role="tab" data-toggle="tab"><%= t(:'.basic_settings.heading') %></a>
1
+ <% content_for(:sidebar) do %>
2
+ <%= render 'spotlight/shared/exhibit_sidebar' %>
3
+ <% end %>
4
+
5
+ <%= configuration_page_title %>
6
+ <div role="tabpanel">
7
+ <ul class="nav nav-tabs" role="tablist">
8
+ <li role="presentation" class="nav-item">
9
+ <a href="#basic" aria-controls="basic" role="tab" data-toggle="tab" class="nav-link <%= 'active' if @tab.blank? %>"><%= t(:'.basic_settings.heading') %></a>
10
+ </li>
11
+ <% if can? :manage, current_exhibit.languages.first_or_initialize %>
12
+ <li role="presentation" class="nav-item">
13
+ <a href="#language" aria-controls="language" role="tab" data-toggle="tab" class="nav-link <%= 'active' if @tab == 'language' %>"><%= t(:'spotlight.exhibits.languages.heading') %></a>
8
14
  </li>
9
- <% if can? :manage, current_exhibit.languages.first_or_initialize %>
10
- <li role="presentation" class="<%= 'active' if @tab == 'language' %>">
11
- <a href="#language" aria-controls="language" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.languages.heading') %></a>
12
- </li>
13
- <% end %>
14
- <% if can? :edit, current_exhibit.filters.first_or_initialize %>
15
- <li role="presentation" class="<%= 'active' if @tab == 'filter' %>">
16
- <a href="#filter" aria-controls="filter" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.filter.heading') %></a>
17
- </li>
18
- <% end %>
19
- <% if can? :import, current_exhibit %>
20
- <li role="presentation" class="<%= 'active' if @tab == 'import' %>">
21
- <a href="#import" aria-controls="import" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.import.heading') %></a>
22
- </li>
23
- <% end %>
24
- <% if can? :export, current_exhibit %>
25
- <li role="presentation" class="<%= 'active' if @tab == 'export' %>">
26
- <a href="#export" aria-controls="export" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.export.heading') %></a>
27
- </li>
28
- <% end %>
29
- <% if can? :destroy, current_exhibit %>
30
- <li role="presentation">
31
- <a href="#delete" aria-controls="delete" role="tab" data-toggle="tab"><%= t(:'spotlight.exhibits.delete.heading') %></a>
32
- </li>
33
- <% end %>
34
- </ul>
35
- <div class="tab-content">
36
- <div role="tabpanel" class="tab-pane <%= 'active' if @tab.blank? %>" id="basic">
37
- <%= render 'form' %>
38
- </div>
39
- <%= render 'languages' if can? :manage, current_exhibit.languages.first_or_initialize %>
40
- <%= render 'spotlight/filters/form' if can? :edit, current_exhibit.filters.first_or_initialize %>
41
- <%= render 'import' if can? :import, current_exhibit %>
42
- <%= render 'export' if can? :export, current_exhibit %>
43
- <%= render 'delete' if can? :destroy, current_exhibit %>
15
+ <% end %>
16
+ <% if can? :edit, current_exhibit.filters.first_or_initialize %>
17
+ <li role="presentation" class="nav-item">
18
+ <a href="#filter" aria-controls="filter" role="tab" data-toggle="tab" class="nav-link <%= 'active' if @tab == 'filter' %>"><%= t(:'spotlight.exhibits.filter.heading') %></a>
19
+ </li>
20
+ <% end %>
21
+ <% if can? :import, current_exhibit %>
22
+ <li role="presentation" class="nav-item">
23
+ <a href="#import" aria-controls="import" role="tab" data-toggle="tab" class="nav-link <%= 'active' if @tab == 'import' %>"><%= t(:'spotlight.exhibits.import.heading') %></a>
24
+ </li>
25
+ <% end %>
26
+ <% if can? :export, current_exhibit %>
27
+ <li role="presentation" class="nav-item">
28
+ <a href="#export" aria-controls="export" role="tab" data-toggle="tab" class="nav-link <%= 'active' if @tab == 'import' %>"><%= t(:'spotlight.exhibits.export.heading') %></a>
29
+ </li>
30
+ <% end %>
31
+ <% if can? :destroy, current_exhibit %>
32
+ <li role="presentation" class="nav-item">
33
+ <a href="#delete" aria-controls="delete" role="tab" data-toggle="tab" class="nav-link"><%= t(:'spotlight.exhibits.delete.heading') %></a>
34
+ </li>
35
+ <% end %>
36
+ </ul>
37
+ <div class="tab-content">
38
+ <div role="tabpanel" class="tab-pane <%= 'active' if @tab.blank? %>" id="basic">
39
+ <%= render 'form' %>
44
40
  </div>
41
+ <%= render 'languages' if can? :manage, current_exhibit.languages.first_or_initialize %>
42
+ <%= render 'spotlight/filters/form' if can? :edit, current_exhibit.filters.first_or_initialize %>
43
+ <%= render 'import' if can? :import, current_exhibit %>
44
+ <%= render 'export' if can? :export, current_exhibit %>
45
+ <%= render 'delete' if can? :destroy, current_exhibit %>
45
46
  </div>
46
47
  </div>
@@ -1,50 +1,49 @@
1
- <div class="col-md-9">
2
- <% if (current_user && current_user.exhibits.any?) || can?(:manage, Spotlight::Exhibit) %>
3
- <ul class="nav nav-tabs" role="tablist">
4
- <li role="presentation" class="active"><a href="#published" aria-controls="published" role="tab" data-toggle="tab"><%= t('.published') %></a></li>
5
- <% if can?(:manage, Spotlight::Exhibit) && @exhibits.unpublished.accessible_by(current_ability).any? %>
6
- <li role="presentation"><a href="#unpublished" aria-controls="unpublished" role="tab" data-toggle="tab"><%= t('.unpublished') %></a></li>
7
- <% end %>
8
- <% if current_user && current_user.exhibits.any? %>
9
- <li role="presentation"><a href="#user" aria-controls="user" role="tab" data-toggle="tab"><%= t('.user') %></a></li>
10
- <% end %>
11
- </ul>
12
- <% end %>
1
+ <% if (current_user && current_user.exhibits.any?) || can?(:manage, Spotlight::Exhibit) %>
2
+ <ul class="nav nav-tabs" role="tablist">
3
+ <li role="presentation" class="nav-item"><a href="#published" aria-controls="published" role="tab" data-toggle="tab" class="nav-link active"><%= t('.published') %></a></li>
4
+ <% if can?(:manage, Spotlight::Exhibit) && @exhibits.unpublished.accessible_by(current_ability).any? %>
5
+ <li role="presentation" class="nav-item"><a href="#unpublished" aria-controls="unpublished" role="tab" data-toggle="tab" class="nav-link"><%= t('.unpublished') %></a></li>
6
+ <% end %>
7
+ <% if current_user && current_user.exhibits.any? %>
8
+ <li role="presentation" class="nav-item"><a href="#user" aria-controls="user" role="tab" data-toggle="tab" class="nav-link"><%= t('.user') %></a></li>
9
+ <% end %>
10
+ </ul>
11
+ <% end %>
13
12
 
14
- <div class="tab-content">
15
- <div role="tabpanel" class="tab-pane active" id="published">
16
- <% if @exhibits.published.none? %>
17
- <%= render 'missing_exhibits' %>
18
- <% else %>
19
- <%= render 'tags', tags: @exhibits.published.all_tags %>
20
- <%= render 'exhibits', exhibits: @published_exhibits %>
13
+ <div class="tab-content">
14
+ <div role="tabpanel" class="tab-pane active" id="published">
15
+ <% if @exhibits.published.none? %>
16
+ <%= render 'missing_exhibits' %>
17
+ <% else %>
18
+ <%= render 'tags', tags: @exhibits.published.all_tags %>
19
+ <%= render 'exhibits', exhibits: @published_exhibits %>
21
20
 
22
- <% if @published_exhibits.total_count > @published_exhibits.size %>
23
- <nav>
24
- <ul class="pager">
25
- <li><%= link_to_previous_page @published_exhibits, t('views.pagination.previous').html_safe %></li>
26
- <li><%= link_to_next_page @published_exhibits, t('views.pagination.next').html_safe %></li>
27
- </ul>
28
- </nav>
29
- <% end %>
21
+ <% if @published_exhibits.total_count > @published_exhibits.size %>
22
+ <nav>
23
+ <ul class="pager">
24
+ <li><%= link_to_previous_page @published_exhibits, t('views.pagination.previous').html_safe %></li>
25
+ <li><%= link_to_next_page @published_exhibits, t('views.pagination.next').html_safe %></li>
26
+ </ul>
27
+ </nav>
30
28
  <% end %>
31
-
32
- </div>
33
-
34
- <% if @exhibits.unpublished.accessible_by(current_ability).any? %>
35
- <div role="tabpanel" class="tab-pane" id="unpublished">
36
- <%= render 'exhibits', exhibits: @exhibits.unpublished.ordered_by_weight.accessible_by(current_ability) %>
37
- </div>
38
29
  <% end %>
39
30
 
40
- <% if current_user && current_user.exhibits.any? %>
41
- <div role="tabpanel" class="tab-pane" id="user">
42
- <%= render 'exhibits', exhibits: current_user.exhibits %>
43
- </div>
44
- <% end %>
45
31
  </div>
32
+
33
+ <% if @exhibits.unpublished.accessible_by(current_ability).any? %>
34
+ <div role="tabpanel" class="tab-pane" id="unpublished">
35
+ <%= render 'exhibits', exhibits: @exhibits.unpublished.ordered_by_weight.accessible_by(current_ability) %>
36
+ </div>
37
+ <% end %>
38
+
39
+ <% if current_user && current_user.exhibits.any? %>
40
+ <div role="tabpanel" class="tab-pane" id="user">
41
+ <%= render 'exhibits', exhibits: current_user.exhibits %>
42
+ </div>
43
+ <% end %>
46
44
  </div>
47
45
 
48
- <aside class="col-md-3">
46
+ <% content_for(:sidebar_position) { 'order-last' } %>
47
+ <% content_for(:sidebar) do %>
49
48
  <%= render "shared/site_sidebar" %>
50
- </aside>
49
+ <% end %>
@@ -1,8 +1,7 @@
1
- <div id="content" class="col-md-9 exhibit-admin">
2
1
  <%= page_title t(:'spotlight.sites.new.section') %>
3
2
  <%= render 'new_exhibit_form' %>
4
- </div>
5
3
 
6
- <aside class="col-md-3">
7
- <%= render "shared/site_sidebar" %>
8
- </aside>
4
+ <% content_for(:sidebar_position) { 'order-last' } %>
5
+ <% content_for(:sidebar) do %>
6
+ <%= render 'shared/site_sidebar' %>
7
+ <% end %>
@@ -2,20 +2,18 @@
2
2
  <% page = p.object %>
3
3
  <div class="home_page">
4
4
  <h3><%= t('spotlight.pages.index.feature_pages.home_pages_header') %></h3>
5
- <div class="panel panel-default">
6
- <div class="panel-heading page">
7
- <div class="main row">
8
- <div class="col-sm-8">
9
- <%= p.hidden_field :id, value: page.id , class: 'form-control input-sm' %>
10
- <h3 class="panel-title" data-in-place-edit-target=".edit-in-place" data-in-place-edit-field-target="[data-edit-field-target='true']">
11
- <a href="#edit-in-place" class="field-label edit-in-place"><%= page.title %></a>
12
- <%= p.hidden_field :title, value: page.title , class: 'form-control input-sm', data: {:"edit-field-target" => 'true'} %>
13
- </h3>
14
- </div>
15
- <div class="col-sm-4 page-links">
16
- <%= exhibit_view_link page, exhibit_root_path(page.exhibit), class: 'btn btn-link' %> &middot;
17
- <%= exhibit_edit_link page, edit_exhibit_home_page_path(page.exhibit), class: 'btn btn-link', data: { turbolinks: false } %>
18
- </div>
5
+ <div class="card container">
6
+ <div class="card-body bg-light page main row">
7
+ <div class="col-sm-8">
8
+ <%= p.hidden_field :id, value: page.id , class: 'form-control form-control-sm' %>
9
+ <h3 class="h6 card-title" data-in-place-edit-target=".edit-in-place" data-in-place-edit-field-target="[data-edit-field-target='true']">
10
+ <a href="#edit-in-place" class="field-label edit-in-place"><%= page.title %></a>
11
+ <%= p.hidden_field :title, value: page.title , class: 'form-control form-control-sm title-field', data: {:"edit-field-target" => 'true'} %>
12
+ </h3>
13
+ </div>
14
+ <div class="col-sm-4 page-links">
15
+ <%= exhibit_view_link page, exhibit_root_path(page.exhibit), class: 'btn btn-link' %> &middot;
16
+ <%= exhibit_edit_link page, edit_exhibit_home_page_path(page.exhibit), class: 'btn btn-link', data: { turbolinks: false } %>
19
17
  </div>
20
18
  </div>
21
19
  </div>
@@ -1,9 +1,8 @@
1
1
  <% cache_unless current_user, [current_exhibit, @page] do %>
2
- <div id="sidebar" class="col-md-3" role="complementary">
3
- <ol class="nav sidenav">
2
+ <ol class="nav sidenav flex-column">
4
3
  <% @exhibit.feature_pages.for_locale.published.at_top_level.each do |feature_section| %>
5
4
  <li class="<%= 'active' if current_page? [spotlight, @exhibit, feature_section] %>">
6
- <h4><%= link_to_unless_current feature_section.title, [spotlight, @exhibit, feature_section] %></h4>
5
+ <%= link_to_unless_current feature_section.title, [spotlight, @exhibit, feature_section] %>
7
6
  <ol class="subsection">
8
7
  <% feature_section.child_pages.published.each do |page| %>
9
8
  <li class="<%= 'active' if current_page? [spotlight, @exhibit, page] %>"><%= link_to_unless_current page.title, [spotlight, @exhibit, page] %></li>
@@ -12,5 +11,4 @@
12
11
  </li>
13
12
  <% end %>
14
13
  </ol>
15
- </div>
16
14
  <% end %>
@@ -8,17 +8,17 @@
8
8
  <div>
9
9
  <%= f.hidden_field(:document_global_id) %>
10
10
  <div class="alert alert-danger" data-behavior="non-iiif-alert" role="alert" style="display:none;">
11
- <span class="glyphicon glyphicon-alert"></span>
11
+ <%= blacklight_icon('warning') %>
12
12
  <%= t(:'.non_iiif_alert_html') %>
13
13
  </div>
14
- <%= text_field_tag(:document_title, (presenter(f.object.document).document_show_html_title if f.object.document), class: "form-control", data: { input_select_target: "##{form_prefix(f)}_source_exhibit", 'behavior': 'autocomplete', featured_image_typeahead: true, target_panel: "##{form_prefix(f)}-target-panel", :'id-field' => "##{form_prefix(f)}_document_global_id" }) %>
14
+ <%= text_field_tag(:document_title, (presenter(f.object.document).heading if f.object.document), class: "form-control", data: { input_select_target: "##{form_prefix(f)}_source_exhibit", 'behavior': 'autocomplete', featured_image_typeahead: true, target_panel: "##{form_prefix(f)}-target-panel", :'id-field' => "##{form_prefix(f)}_document_global_id" }) %>
15
15
  <div id="<%= form_prefix(f) %>-target-panel" style="display:none">
16
- <div class="panel-heading">
16
+ <div class="card-header">
17
17
  <div data-item-title="true"></div>
18
18
  <div data-panel-image-pagination="true"></div>
19
19
  </div>
20
20
  </div>
21
- <p class="help-block"><%= t(:'.source.exhibit.help') %></p>
21
+ <small class="form-text text-muted"><%= t(:'.source.exhibit.help') %></small>
22
22
  </div>
23
23
  </div>
24
24
  <div>
@@ -1,5 +1,5 @@
1
1
  <div role="tabpanel" class="tab-pane <%= 'active' if @tab == 'filter' %>" id="filter">
2
- <%= bootstrap_form_for [@exhibit, @exhibit.filters.first_or_initialize], layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10', html: {class: "row"} do |f| %>
2
+ <%= bootstrap_form_for [@exhibit, @exhibit.filters.first_or_initialize], layout: :horizontal, label_col: 'col-md-2', control_col: 'col-md-10' do |f| %>
3
3
  <p class="instructions"><%= t :'spotlight.exhibits.filter.instructions' %></p>
4
4
 
5
5
  <%= f.text_field :field %>
@@ -1 +1 @@
1
- <%= exhibit_edit_link @page, edit_exhibit_home_page_path(@page.exhibit), class: 'edit-button pull-right btn btn-primary', data: { turbolinks: false } %>
1
+ <%= exhibit_edit_link @page, edit_exhibit_home_page_path(@page.exhibit), class: 'edit-button float-right btn btn-primary', data: { turbolinks: false } %>
@@ -1,3 +1 @@
1
- <div id="sidebar" class="col-md-3">
2
- <%= render 'catalog/search_sidebar' %>
3
- </div>
1
+ <%= render 'catalog/search_sidebar' %>