geoblacklight_admin 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (346) hide show
  1. checksums.yaml +7 -0
  2. data/.editorconfig +18 -0
  3. data/.gitignore +75 -0
  4. data/.standard.yml +4 -0
  5. data/Gemfile +59 -0
  6. data/LICENSE +21 -0
  7. data/README.md +84 -0
  8. data/Rakefile +72 -0
  9. data/app/assets/images/.keep +0 -0
  10. data/app/assets/images/aerial_photo.jpg +0 -0
  11. data/app/assets/images/archive-solid.svg +1 -0
  12. data/app/assets/images/bookmark-regular.svg +1 -0
  13. data/app/assets/images/bookmark-solid.svg +1 -0
  14. data/app/assets/images/btaa-logo.jpg +0 -0
  15. data/app/assets/images/cloud-download-alt-solid.svg +1 -0
  16. data/app/assets/images/file-import-solid.svg +1 -0
  17. data/app/assets/images/trash-alt-solid.svg +1 -0
  18. data/app/assets/javascripts/geoblacklight_admin/chosen.js +4 -0
  19. data/app/assets/javascripts/geoblacklight_admin/date_range_picker.js +173 -0
  20. data/app/assets/javascripts/geoblacklight_admin/datepicker.js +22 -0
  21. data/app/assets/javascripts/geoblacklight_admin/elements.js +38 -0
  22. data/app/assets/javascripts/geoblacklight_admin/exports.js +3 -0
  23. data/app/assets/javascripts/geoblacklight_admin/fields.js +11 -0
  24. data/app/assets/javascripts/geoblacklight_admin/geoblacklight_admin.js +2 -0
  25. data/app/assets/javascripts/geoblacklight_admin/inputmask.js +4 -0
  26. data/app/assets/javascripts/geoblacklight_admin/locale.js +5 -0
  27. data/app/assets/javascripts/geoblacklight_admin/sortable.js +2544 -0
  28. data/app/assets/javascripts/geoblacklight_admin/tooltips.js +3 -0
  29. data/app/assets/javascripts/geoblacklight_admin/truncate.js +4 -0
  30. data/app/assets/javascripts/geoblacklight_admin.js +40 -0
  31. data/app/assets/stylesheets/geoblacklight_admin/_core.scss +47 -0
  32. data/app/assets/stylesheets/geoblacklight_admin/modules/_autocomplete.scss +32 -0
  33. data/app/assets/stylesheets/geoblacklight_admin/modules/_blazer.scss +3 -0
  34. data/app/assets/stylesheets/geoblacklight_admin/modules/_code.scss +3 -0
  35. data/app/assets/stylesheets/geoblacklight_admin/modules/_datepicker.scss +477 -0
  36. data/app/assets/stylesheets/geoblacklight_admin/modules/_elements.scss +3 -0
  37. data/app/assets/stylesheets/geoblacklight_admin/modules/_forms.scss +28 -0
  38. data/app/assets/stylesheets/geoblacklight_admin/modules/_icons.scss +15 -0
  39. data/app/assets/stylesheets/geoblacklight_admin/modules/_nav.scss +9 -0
  40. data/app/assets/stylesheets/geoblacklight_admin/modules/_tables.scss +4 -0
  41. data/app/assets/stylesheets/geoblacklight_admin/modules/_toasts.scss +7 -0
  42. data/app/assets/stylesheets/geoblacklight_admin/modules/_visibility.scss +3 -0
  43. data/app/assets/stylesheets/geoblacklight_admin/settings/_variables.scss +1 -0
  44. data/app/channels/export_channel.rb +12 -0
  45. data/app/controllers/admin/admin_controller.rb +16 -0
  46. data/app/controllers/admin/advanced_search_controller.rb +365 -0
  47. data/app/controllers/admin/api_controller.rb +386 -0
  48. data/app/controllers/admin/bookmarks_controller.rb +68 -0
  49. data/app/controllers/admin/bulk_actions_controller.rb +94 -0
  50. data/app/controllers/admin/concerns/.keep +0 -0
  51. data/app/controllers/admin/concerns/upload_util.rb +8 -0
  52. data/app/controllers/admin/document_accesses_controller.rb +125 -0
  53. data/app/controllers/admin/document_assets_controller.rb +198 -0
  54. data/app/controllers/admin/document_downloads_controller.rb +127 -0
  55. data/app/controllers/admin/documents_controller.rb +219 -0
  56. data/app/controllers/admin/elements_controller.rb +81 -0
  57. data/app/controllers/admin/form_elements_controller.rb +81 -0
  58. data/app/controllers/admin/ids_controller.rb +379 -0
  59. data/app/controllers/admin/import_documents_controller.rb +18 -0
  60. data/app/controllers/admin/imports_controller.rb +105 -0
  61. data/app/controllers/admin/mappings_controller.rb +95 -0
  62. data/app/controllers/admin/notifications_controller.rb +51 -0
  63. data/app/controllers/admin/search_controller.rb +10 -0
  64. data/app/controllers/admin/users_controller.rb +10 -0
  65. data/app/helpers/bulk_actions_helper.rb +9 -0
  66. data/app/helpers/document_helper.rb +60 -0
  67. data/app/helpers/form_input_helper.rb +73 -0
  68. data/app/helpers/geoblacklight_admin_helper.rb +118 -0
  69. data/app/helpers/import_documents_helper.rb +5 -0
  70. data/app/helpers/mappings_helper.rb +27 -0
  71. data/app/indexers/document_indexer.rb +34 -0
  72. data/app/jobs/bulk_action_revert_document_job.rb +49 -0
  73. data/app/jobs/bulk_action_revert_job.rb +25 -0
  74. data/app/jobs/bulk_action_run_document_job.rb +42 -0
  75. data/app/jobs/bulk_action_run_job.rb +27 -0
  76. data/app/jobs/export_job.rb +72 -0
  77. data/app/jobs/export_json_job.rb +120 -0
  78. data/app/jobs/import_document_job.rb +25 -0
  79. data/app/jobs/import_run_job.rb +33 -0
  80. data/app/models/active_storage_attachment.rb +5 -0
  81. data/app/models/active_storage_blob.rb +5 -0
  82. data/app/models/api_search_builder.rb +12 -0
  83. data/app/models/application_record.rb +6 -0
  84. data/app/models/blacklight_api.rb +93 -0
  85. data/app/models/blacklight_api_facets.rb +15 -0
  86. data/app/models/blacklight_api_ids.rb +103 -0
  87. data/app/models/bookmark.rb +17 -0
  88. data/app/models/bulk_action.rb +88 -0
  89. data/app/models/bulk_action_document.rb +22 -0
  90. data/app/models/bulk_action_document_state_machine.rb +16 -0
  91. data/app/models/bulk_action_document_transition.rb +19 -0
  92. data/app/models/bulk_action_state_machine.rb +16 -0
  93. data/app/models/bulk_action_transition.rb +26 -0
  94. data/app/models/concerns/.keep +0 -0
  95. data/app/models/document/bbox_validator.rb +70 -0
  96. data/app/models/document/controlled_lists.rb +104 -0
  97. data/app/models/document/date_range_validator.rb +63 -0
  98. data/app/models/document/geom_validator.rb +117 -0
  99. data/app/models/document/reference.rb +107 -0
  100. data/app/models/document.rb +264 -0
  101. data/app/models/document_access.rb +35 -0
  102. data/app/models/document_download.rb +35 -0
  103. data/app/models/document_state_machine.rb +14 -0
  104. data/app/models/document_transition.rb +26 -0
  105. data/app/models/element.rb +90 -0
  106. data/app/models/form_control.rb +2 -0
  107. data/app/models/form_element.rb +19 -0
  108. data/app/models/form_feature.rb +2 -0
  109. data/app/models/form_group.rb +2 -0
  110. data/app/models/form_header.rb +2 -0
  111. data/app/models/geoblacklight_admin/field_mappings_btaa_aardvark.rb +379 -0
  112. data/app/models/geoblacklight_admin/field_mappings_gblv1.rb +344 -0
  113. data/app/models/geoblacklight_admin/iso_language_codes.rb +515 -0
  114. data/app/models/geoblacklight_admin/schema.rb +194 -0
  115. data/app/models/geoblacklight_admin.rb +3 -0
  116. data/app/models/import/csv_duplicates_validator.rb +36 -0
  117. data/app/models/import/csv_header_validator.rb +24 -0
  118. data/app/models/import.rb +186 -0
  119. data/app/models/import_btaa.rb +91 -0
  120. data/app/models/import_btaa_aardvark.rb +109 -0
  121. data/app/models/import_document.rb +34 -0
  122. data/app/models/import_document_state_machine.rb +12 -0
  123. data/app/models/import_document_transition.rb +19 -0
  124. data/app/models/import_gblv1.rb +92 -0
  125. data/app/models/import_state_machine.rb +16 -0
  126. data/app/models/import_transition.rb +26 -0
  127. data/app/models/mapping.rb +10 -0
  128. data/app/models/notification.rb +9 -0
  129. data/app/models/user.rb +26 -0
  130. data/app/notifications/export_notification.rb +30 -0
  131. data/app/services/export_csv_document_access_links_service.rb +47 -0
  132. data/app/services/export_csv_document_downloads_service.rb +47 -0
  133. data/app/services/export_csv_service.rb +44 -0
  134. data/app/services/export_json_service.rb +35 -0
  135. data/app/services/zip_file_generator.rb +56 -0
  136. data/app/views/admin/advanced_search/facets.json.jbuilder +80 -0
  137. data/app/views/admin/advanced_search/index.json.jbuilder +90 -0
  138. data/app/views/admin/api/_field.json.jbuilder +10 -0
  139. data/app/views/admin/api/fetch.json.jbuilder +86 -0
  140. data/app/views/admin/api/index.json.jbuilder +90 -0
  141. data/app/views/admin/bookmarks/_bookmark.json.jbuilder +4 -0
  142. data/app/views/admin/bookmarks/create.js.erb +7 -0
  143. data/app/views/admin/bookmarks/destroy.js.erb +7 -0
  144. data/app/views/admin/bookmarks/index.html.erb +21 -0
  145. data/app/views/admin/bookmarks/index.json.jbuilder +3 -0
  146. data/app/views/admin/bulk_actions/_bulk_action.json.jbuilder +4 -0
  147. data/app/views/admin/bulk_actions/_form.html.erb +17 -0
  148. data/app/views/admin/bulk_actions/edit.html.erb +6 -0
  149. data/app/views/admin/bulk_actions/index.html.erb +54 -0
  150. data/app/views/admin/bulk_actions/index.json.jbuilder +3 -0
  151. data/app/views/admin/bulk_actions/new.html.erb +5 -0
  152. data/app/views/admin/bulk_actions/show.html.erb +100 -0
  153. data/app/views/admin/bulk_actions/show.json.jbuilder +3 -0
  154. data/app/views/admin/devise/confirmations/new.html.erb +16 -0
  155. data/app/views/admin/devise/invitations/edit.html.erb +15 -0
  156. data/app/views/admin/devise/invitations/new.html.erb +15 -0
  157. data/app/views/admin/devise/mailer/invitation_instructions.html.erb +11 -0
  158. data/app/views/admin/devise/mailer/invitation_instructions.text.erb +11 -0
  159. data/app/views/admin/devise/passwords/edit.html.erb +26 -0
  160. data/app/views/admin/devise/passwords/new.html.erb +16 -0
  161. data/app/views/admin/devise/registrations/edit.html.erb +35 -0
  162. data/app/views/admin/devise/registrations/new.html.erb +30 -0
  163. data/app/views/admin/devise/sessions/new.html.erb +28 -0
  164. data/app/views/admin/devise/shared/_links.html.erb +27 -0
  165. data/app/views/admin/devise/unlocks/new.html.erb +16 -0
  166. data/app/views/admin/document_accesses/_document_access.json.jbuilder +4 -0
  167. data/app/views/admin/document_accesses/_form.html.erb +17 -0
  168. data/app/views/admin/document_accesses/destroy_all.html.erb +70 -0
  169. data/app/views/admin/document_accesses/edit.html.erb +5 -0
  170. data/app/views/admin/document_accesses/import.html.erb +70 -0
  171. data/app/views/admin/document_accesses/index.html.erb +74 -0
  172. data/app/views/admin/document_accesses/index.json.jbuilder +3 -0
  173. data/app/views/admin/document_accesses/new.html.erb +6 -0
  174. data/app/views/admin/document_accesses/show.html.erb +19 -0
  175. data/app/views/admin/document_accesses/show.json.jbuilder +3 -0
  176. data/app/views/admin/document_assets/display_attach_form.html.erb +44 -0
  177. data/app/views/admin/document_assets/index.html.erb +65 -0
  178. data/app/views/admin/document_downloads/_document_download.json.jbuilder +4 -0
  179. data/app/views/admin/document_downloads/_form.html.erb +15 -0
  180. data/app/views/admin/document_downloads/destroy_all.html.erb +70 -0
  181. data/app/views/admin/document_downloads/edit.html.erb +6 -0
  182. data/app/views/admin/document_downloads/import.html.erb +74 -0
  183. data/app/views/admin/document_downloads/index.html.erb +70 -0
  184. data/app/views/admin/document_downloads/index.json.jbuilder +3 -0
  185. data/app/views/admin/document_downloads/new.html.erb +5 -0
  186. data/app/views/admin/document_downloads/show.html.erb +24 -0
  187. data/app/views/admin/document_downloads/show.json.jbuilder +3 -0
  188. data/app/views/admin/documents/_document.html.erb +29 -0
  189. data/app/views/admin/documents/_document_bookmark.html.erb +17 -0
  190. data/app/views/admin/documents/_document_fields.html.erb +24 -0
  191. data/app/views/admin/documents/_form.html.erb +49 -0
  192. data/app/views/admin/documents/_form_control.html.erb +86 -0
  193. data/app/views/admin/documents/_form_group.html.erb +1 -0
  194. data/app/views/admin/documents/_form_header.html.erb +1 -0
  195. data/app/views/admin/documents/_form_nav.html.erb +21 -0
  196. data/app/views/admin/documents/_json_aardvark.jbuilder +47 -0
  197. data/app/views/admin/documents/_json_btaa_aardvark.jbuilder +16 -0
  198. data/app/views/admin/documents/_json_gbl_v1.jbuilder +32 -0
  199. data/app/views/admin/documents/_result_facets.html.erb +35 -0
  200. data/app/views/admin/documents/_result_pagination.html.erb +21 -0
  201. data/app/views/admin/documents/_result_selected_options.html.erb +54 -0
  202. data/app/views/admin/documents/_result_selection_options.html.erb +10 -0
  203. data/app/views/admin/documents/_result_toggle.html.erb +13 -0
  204. data/app/views/admin/documents/edit.html.erb +7 -0
  205. data/app/views/admin/documents/features/_assets.html.erb +3 -0
  206. data/app/views/admin/documents/features/_institutional_access_links.html.erb +3 -0
  207. data/app/views/admin/documents/features/_multiple_download_links.html.erb +27 -0
  208. data/app/views/admin/documents/fetch.json_aardvark.jbuilder +9 -0
  209. data/app/views/admin/documents/fetch.json_btaa_aardvark.jbuilder +9 -0
  210. data/app/views/admin/documents/fetch.json_gbl_v1.jbuilder +9 -0
  211. data/app/views/admin/documents/index.html.erb +49 -0
  212. data/app/views/admin/documents/index.json_aardvark.jbuilder +9 -0
  213. data/app/views/admin/documents/index.json_btaa_aardvark.jbuilder +9 -0
  214. data/app/views/admin/documents/index.json_gbl_v1.jbuilder +9 -0
  215. data/app/views/admin/documents/show.json_aardvark.jbuilder +3 -0
  216. data/app/views/admin/documents/show.json_btaa_aardvark.jbuilder +3 -0
  217. data/app/views/admin/documents/show.json_gbl_v1.jbuilder +3 -0
  218. data/app/views/admin/documents/versions.html.erb +110 -0
  219. data/app/views/admin/elements/_element.json.jbuilder +2 -0
  220. data/app/views/admin/elements/_form.html.erb +45 -0
  221. data/app/views/admin/elements/edit.html.erb +6 -0
  222. data/app/views/admin/elements/index.html.erb +68 -0
  223. data/app/views/admin/elements/index.json.jbuilder +1 -0
  224. data/app/views/admin/elements/new.html.erb +5 -0
  225. data/app/views/admin/elements/show.html.erb +121 -0
  226. data/app/views/admin/elements/show.json.jbuilder +1 -0
  227. data/app/views/admin/form_elements/_form.html.erb +46 -0
  228. data/app/views/admin/form_elements/_form_element.json.jbuilder +2 -0
  229. data/app/views/admin/form_elements/edit.html.erb +6 -0
  230. data/app/views/admin/form_elements/index.html.erb +49 -0
  231. data/app/views/admin/form_elements/index.json.jbuilder +1 -0
  232. data/app/views/admin/form_elements/new.html.erb +5 -0
  233. data/app/views/admin/form_elements/show.html.erb +19 -0
  234. data/app/views/admin/form_elements/show.json.jbuilder +1 -0
  235. data/app/views/admin/ids/fetch.json.jbuilder +86 -0
  236. data/app/views/admin/ids/index.json.jbuilder +41 -0
  237. data/app/views/admin/import_documents/show.html.haml +20 -0
  238. data/app/views/admin/imports/_form.html.erb +27 -0
  239. data/app/views/admin/imports/_import.json.jbuilder +4 -0
  240. data/app/views/admin/imports/_show_failed_tab.html.erb +37 -0
  241. data/app/views/admin/imports/_show_success_tab.html.erb +31 -0
  242. data/app/views/admin/imports/edit.html.erb +8 -0
  243. data/app/views/admin/imports/index.html.erb +56 -0
  244. data/app/views/admin/imports/index.json.jbuilder +3 -0
  245. data/app/views/admin/imports/new.html.erb +7 -0
  246. data/app/views/admin/imports/show.html.erb +123 -0
  247. data/app/views/admin/imports/show.json.jbuilder +3 -0
  248. data/app/views/admin/layouts/application.html.erb +30 -0
  249. data/app/views/admin/layouts/blazer/application.html.erb +23 -0
  250. data/app/views/admin/layouts/mailer.html.erb +13 -0
  251. data/app/views/admin/layouts/mailer.text.erb +1 -0
  252. data/app/views/admin/mappings/_form.html.erb +17 -0
  253. data/app/views/admin/mappings/_mapping.json.jbuilder +4 -0
  254. data/app/views/admin/mappings/edit.html.erb +6 -0
  255. data/app/views/admin/mappings/index.html.erb +37 -0
  256. data/app/views/admin/mappings/index.json.jbuilder +3 -0
  257. data/app/views/admin/mappings/new.html.erb +5 -0
  258. data/app/views/admin/mappings/show.html.erb +27 -0
  259. data/app/views/admin/mappings/show.json.jbuilder +3 -0
  260. data/app/views/admin/notifications/_notification.html.haml +31 -0
  261. data/app/views/admin/notifications/index.html.erb +54 -0
  262. data/app/views/admin/notifications/update.js.erb +7 -0
  263. data/app/views/admin/search/index.html.erb +38 -0
  264. data/app/views/admin/shared/_flash_messages.html.erb +5 -0
  265. data/app/views/admin/shared/_footer.html.erb +56 -0
  266. data/app/views/admin/shared/_js_behaviors.html.erb +147 -0
  267. data/app/views/admin/shared/_navbar.html.erb +78 -0
  268. data/app/views/admin/shared/_navbar_blazer.html.erb +42 -0
  269. data/app/views/admin/shared/_schema_timestamp.html.erb +16 -0
  270. data/app/views/admin/shared/_toast.html.erb +13 -0
  271. data/app/views/admin/users/index.html.erb +21 -0
  272. data/config/authorities/formats.yml +25 -0
  273. data/config/authorities/languages.yml +50 -0
  274. data/config/authorities/resource_type.yml +82 -0
  275. data/config/blazer.yml +79 -0
  276. data/config/gbl_v1_schema.json +118 -0
  277. data/config/geomg_aardvark_schema.json +211 -0
  278. data/config/geomg_schema.json +123 -0
  279. data/config/locales/devise.en.yml +65 -0
  280. data/config/locales/devise_invitable.en.yml +31 -0
  281. data/config/locales/documents.en.yml +189 -0
  282. data/config/locales/en.yml +51 -0
  283. data/config/locales/geoblacklight.en.yml +178 -0
  284. data/config/locales/simple_form.en.yml +31 -0
  285. data/config/routes.rb +162 -0
  286. data/db/migrate/20230316183001_add_geoblacklight_admin.rb +399 -0
  287. data/db/seeds.rb +26 -0
  288. data/db/seeds_elements.csv +56 -0
  289. data/db/seeds_elements.numbers +0 -0
  290. data/db/seeds_form_elements.csv +71 -0
  291. data/db/seeds_form_elements.numbers +0 -0
  292. data/db/structure.sql +816 -0
  293. data/geoblacklight_admin.gemspec +67 -0
  294. data/lib/generators/geoblacklight_admin/config_generator.rb +336 -0
  295. data/lib/generators/geoblacklight_admin/example_docs_generator.rb +18 -0
  296. data/lib/generators/geoblacklight_admin/helpers_generator.rb +18 -0
  297. data/lib/generators/geoblacklight_admin/install_generator.rb +60 -0
  298. data/lib/generators/geoblacklight_admin/jobs_generator.rb +21 -0
  299. data/lib/generators/geoblacklight_admin/models_generator.rb +23 -0
  300. data/lib/generators/geoblacklight_admin/templates/.env.development.example +28 -0
  301. data/lib/generators/geoblacklight_admin/templates/.solr_wrapper.yml +7 -0
  302. data/lib/generators/geoblacklight_admin/templates/_user_util_links.html.erb +30 -0
  303. data/lib/generators/geoblacklight_admin/templates/config/database.yml +18 -0
  304. data/lib/generators/geoblacklight_admin/templates/config/geomg_aardvark_schema.json +211 -0
  305. data/lib/generators/geoblacklight_admin/templates/config/initializers/geoblacklight_admin.rb +25 -0
  306. data/lib/generators/geoblacklight_admin/templates/config/initializers/kithe.rb +31 -0
  307. data/lib/generators/geoblacklight_admin/templates/config/initializers/pagy.rb +158 -0
  308. data/lib/generators/geoblacklight_admin/templates/config/initializers/statesman.rb +7 -0
  309. data/lib/generators/geoblacklight_admin/templates/javascript/channels/consumer.js +6 -0
  310. data/lib/generators/geoblacklight_admin/templates/javascript/channels/export_channel.js +30 -0
  311. data/lib/generators/geoblacklight_admin/templates/javascript/channels/index.js +5 -0
  312. data/lib/generators/geoblacklight_admin/templates/javascript/controllers/application_controller.js +17 -0
  313. data/lib/generators/geoblacklight_admin/templates/javascript/controllers/document_controller.js +26 -0
  314. data/lib/generators/geoblacklight_admin/templates/javascript/controllers/index.js +10 -0
  315. data/lib/generators/geoblacklight_admin/templates/javascript/controllers/results_controller.js +310 -0
  316. data/lib/generators/geoblacklight_admin/templates/javascript/packs/application.js +23 -0
  317. data/lib/generators/geoblacklight_admin/templates/javascript/src/js/admin/qa_autocomplete.js +1134 -0
  318. data/lib/generators/geoblacklight_admin/templates/package.json +32 -0
  319. data/lib/generators/geoblacklight_admin/templates/solr/README-geoblacklight-solr-development.txt +3 -0
  320. data/lib/generators/geoblacklight_admin/templates/solr/conf/_rest_managed.json +3 -0
  321. data/lib/generators/geoblacklight_admin/templates/solr/conf/admin-extra.html +31 -0
  322. data/lib/generators/geoblacklight_admin/templates/solr/conf/core.properties +5 -0
  323. data/lib/generators/geoblacklight_admin/templates/solr/conf/elevate.xml +36 -0
  324. data/lib/generators/geoblacklight_admin/templates/solr/conf/mapping-ISOLatin1Accent.txt +246 -0
  325. data/lib/generators/geoblacklight_admin/templates/solr/conf/protwords.txt +21 -0
  326. data/lib/generators/geoblacklight_admin/templates/solr/conf/schema.xml +229 -0
  327. data/lib/generators/geoblacklight_admin/templates/solr/conf/scripts.conf +24 -0
  328. data/lib/generators/geoblacklight_admin/templates/solr/conf/solrconfig.xml +266 -0
  329. data/lib/generators/geoblacklight_admin/templates/solr/conf/spellings.txt +2 -0
  330. data/lib/generators/geoblacklight_admin/templates/solr/conf/stopwords.txt +58 -0
  331. data/lib/generators/geoblacklight_admin/templates/solr/conf/stopwords_en.txt +58 -0
  332. data/lib/generators/geoblacklight_admin/templates/solr/conf/synonyms.txt +43 -0
  333. data/lib/generators/geoblacklight_admin/templates/solr/conf/xslt/example.xsl +132 -0
  334. data/lib/generators/geoblacklight_admin/templates/solr/conf/xslt/example_atom.xsl +67 -0
  335. data/lib/generators/geoblacklight_admin/templates/solr/conf/xslt/example_rss.xsl +66 -0
  336. data/lib/generators/geoblacklight_admin/templates/solr/conf/xslt/luke.xsl +337 -0
  337. data/lib/generators/geoblacklight_admin/templates/solr/snapshots/.keep +0 -0
  338. data/lib/generators/geoblacklight_admin/views_generator.rb +19 -0
  339. data/lib/geoblacklight_admin/engine.rb +20 -0
  340. data/lib/geoblacklight_admin/version.rb +5 -0
  341. data/lib/geoblacklight_admin.rb +7 -0
  342. data/lib/tasks/.keep +0 -0
  343. data/lib/tasks/geoblacklight_admin.rake +209 -0
  344. data/spec/test_app_templates/lib/generators/test_app_generator.rb +35 -0
  345. data/template.rb +16 -0
  346. metadata +1037 -0
@@ -0,0 +1,3 @@
1
+ $(document).on('ready turbolinks:load', function() {
2
+ // $('[data-toggle="tooltip"]').tooltip();
3
+ })
@@ -0,0 +1,4 @@
1
+ // jQuery Ready
2
+ $(document).on('ready turbolinks:load', function() {
3
+ $('.js-truncate').shave(32);
4
+ });
@@ -0,0 +1,40 @@
1
+ // This is a manifest file that'll be compiled into application.js, which will include all the files
2
+ // listed below.
3
+ //
4
+ // Any JavaScript/Coffee file within this directory, lib/assets/javascripts, or any plugin's
5
+ // vendor/assets/javascripts directory can be referenced here using a relative path.
6
+ //
7
+ // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
8
+ // compiled file. JavaScript code in this file should be added after the last require_* statement.
9
+ //
10
+ // Read Sprockets README (https://github.com/rails/sprockets#sprockets-directives) for details
11
+ // about supported directives.
12
+ //
13
+
14
+ //= require jquery3
15
+ //= require cocoon
16
+ //= require chosen-jquery/lib/chosen.jquery.js
17
+
18
+ // VENDOR
19
+ //= require bootstrap-datepicker/js/bootstrap-datepicker.js
20
+ //= require inputmask/dist/jquery.inputmask
21
+ //= require shave/dist/jquery.shave.js
22
+ //= require moment/moment.js
23
+
24
+ // @TODO: not loading correctly
25
+ // require i18n/i18n.js
26
+
27
+ // GBLADMIN
28
+ //= require geoblacklight_admin/geoblacklight_admin
29
+ //= require geoblacklight_admin/chosen
30
+ //= require geoblacklight_admin/datepicker
31
+ //= require geoblacklight_admin/date_range_picker
32
+ //= require geoblacklight_admin/exports
33
+ //= require geoblacklight_admin/fields
34
+ //= require geoblacklight_admin/inputmask
35
+ //= require geoblacklight_admin/locale
36
+ //= require geoblacklight_admin/sortable
37
+ //= require geoblacklight_admin/tooltips
38
+ //= require geoblacklight_admin/truncate
39
+
40
+ //= require_tree .
@@ -0,0 +1,47 @@
1
+ /*
2
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
3
+ * listed below.
4
+ *
5
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
6
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
7
+ *
8
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
9
+ * compiled file, but it's generally better to create a new file per style scope.
10
+ *
11
+ */
12
+
13
+ // Settings
14
+ @import "settings/variables";
15
+
16
+ // Vendors
17
+ @import 'bootstrap';
18
+
19
+ // Modules
20
+ @import "modules/autocomplete";
21
+ @import "modules/blazer";
22
+ @import "modules/code";
23
+ @import "modules/datepicker";
24
+ @import "modules/elements";
25
+ @import "modules/forms";
26
+ @import "modules/icons";
27
+ @import "modules/nav";
28
+ @import "modules/tables";
29
+ @import "modules/toasts";
30
+ @import "modules/visibility";
31
+
32
+ nav.navbar.bg-light {
33
+ border-bottom: 1px solid #CCC;
34
+ box-shadow: 0 10px 16px 0 rgba(0,0,0,0.1);
35
+ margin-bottom:2rem;
36
+ }
37
+
38
+ footer {
39
+ border-top: 1rem solid #0088ce;
40
+ margin-top: 4rem;
41
+ background:rgba(0, 0, 0, 0.8) image-url('aerial_photo.jpg') repeat;
42
+ box-shadow: inset 0 0 0 50vw rgba(0, 0, 0, 0.8);
43
+ }
44
+
45
+ div.container-fluid {
46
+ margin-top: 5rem;
47
+ }
@@ -0,0 +1,32 @@
1
+ // Bootstrap-compatible styling for the HTML produced by the JQuery plugin we are using for autocomplete
2
+ //
3
+ // https://github.com/devbridge/jQuery-Autocomplete/#styling
4
+ // https://github.com/devbridge/jQuery-Autocomplete/wiki/Bootstrap-3-Styling
5
+
6
+ .autocomplete-selected {
7
+ background: $dropdown-link-hover-bg;
8
+ color: $dropdown-link-hover-color;
9
+ }
10
+
11
+ .autocomplete-suggestion {
12
+ cursor: pointer;
13
+ overflow: hidden; // From the jQuery Autocomplete README.
14
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x; // Same as .dropdown-menu links.
15
+ }
16
+
17
+ .autocomplete-no-suggestion {
18
+ padding: $dropdown-item-padding-y $dropdown-item-padding-x;
19
+ }
20
+
21
+ .autocomplete-suggestions {
22
+ padding: $dropdown-padding-y 0;
23
+ margin: $dropdown-spacer 0 0; // override default ul
24
+ @include font-size($dropdown-font-size);
25
+ color: $dropdown-color;
26
+ background-color: $dropdown-bg;
27
+ border: $dropdown-border-width solid $dropdown-border-color;
28
+ @include border-radius($dropdown-border-radius);
29
+ @include box-shadow($dropdown-box-shadow);
30
+
31
+ overflow: auto;
32
+ }
@@ -0,0 +1,3 @@
1
+ .topbar {
2
+ position: relative !important;
3
+ }
@@ -0,0 +1,3 @@
1
+ kbd {
2
+ background-color:aliceblue;
3
+ }
@@ -0,0 +1,477 @@
1
+ /*!
2
+ * Datepicker for Bootstrap v1.9.0 (https://github.com/uxsolutions/bootstrap-datepicker)
3
+ *
4
+ * Licensed under the Apache License v2.0 (http://www.apache.org/licenses/LICENSE-2.0)
5
+ */
6
+
7
+ .datepicker {
8
+ padding: 4px;
9
+ -webkit-border-radius: 4px;
10
+ -moz-border-radius: 4px;
11
+ border-radius: 4px;
12
+ direction: ltr;
13
+ }
14
+ .datepicker-inline {
15
+ width: 220px;
16
+ }
17
+ .datepicker-rtl {
18
+ direction: rtl;
19
+ }
20
+ .datepicker-rtl.dropdown-menu {
21
+ left: auto;
22
+ }
23
+ .datepicker-rtl table tr td span {
24
+ float: right;
25
+ }
26
+ .datepicker-dropdown {
27
+ top: 0;
28
+ left: 0;
29
+ }
30
+ .datepicker-dropdown:before {
31
+ content: '';
32
+ display: inline-block;
33
+ border-left: 7px solid transparent;
34
+ border-right: 7px solid transparent;
35
+ border-bottom: 7px solid #999;
36
+ border-top: 0;
37
+ border-bottom-color: rgba(0, 0, 0, 0.2);
38
+ position: absolute;
39
+ }
40
+ .datepicker-dropdown:after {
41
+ content: '';
42
+ display: inline-block;
43
+ border-left: 6px solid transparent;
44
+ border-right: 6px solid transparent;
45
+ border-bottom: 6px solid #fff;
46
+ border-top: 0;
47
+ position: absolute;
48
+ }
49
+ .datepicker-dropdown.datepicker-orient-left:before {
50
+ left: 6px;
51
+ }
52
+ .datepicker-dropdown.datepicker-orient-left:after {
53
+ left: 7px;
54
+ }
55
+ .datepicker-dropdown.datepicker-orient-right:before {
56
+ right: 6px;
57
+ }
58
+ .datepicker-dropdown.datepicker-orient-right:after {
59
+ right: 7px;
60
+ }
61
+ .datepicker-dropdown.datepicker-orient-bottom:before {
62
+ top: -7px;
63
+ }
64
+ .datepicker-dropdown.datepicker-orient-bottom:after {
65
+ top: -6px;
66
+ }
67
+ .datepicker-dropdown.datepicker-orient-top:before {
68
+ bottom: -7px;
69
+ border-bottom: 0;
70
+ border-top: 7px solid #999;
71
+ }
72
+ .datepicker-dropdown.datepicker-orient-top:after {
73
+ bottom: -6px;
74
+ border-bottom: 0;
75
+ border-top: 6px solid #fff;
76
+ }
77
+ .datepicker table {
78
+ margin: 0;
79
+ -webkit-touch-callout: none;
80
+ -webkit-user-select: none;
81
+ -khtml-user-select: none;
82
+ -moz-user-select: none;
83
+ -ms-user-select: none;
84
+ user-select: none;
85
+ }
86
+ .datepicker td,
87
+ .datepicker th {
88
+ text-align: center;
89
+ width: 20px;
90
+ height: 20px;
91
+ -webkit-border-radius: 4px;
92
+ -moz-border-radius: 4px;
93
+ border-radius: 4px;
94
+ border: none;
95
+ }
96
+ .table-striped .datepicker table tr td,
97
+ .table-striped .datepicker table tr th {
98
+ background-color: transparent;
99
+ }
100
+ .datepicker table tr td.day:hover,
101
+ .datepicker table tr td.day.focused {
102
+ background: #eee;
103
+ cursor: pointer;
104
+ }
105
+ .datepicker table tr td.old,
106
+ .datepicker table tr td.new {
107
+ color: #999;
108
+ }
109
+ .datepicker table tr td.disabled,
110
+ .datepicker table tr td.disabled:hover {
111
+ background: none;
112
+ color: #999;
113
+ cursor: default;
114
+ }
115
+ .datepicker table tr td.highlighted {
116
+ background: #d9edf7;
117
+ border-radius: 0;
118
+ }
119
+ .datepicker table tr td.today,
120
+ .datepicker table tr td.today:hover,
121
+ .datepicker table tr td.today.disabled,
122
+ .datepicker table tr td.today.disabled:hover {
123
+ background-color: #fde19a;
124
+ background-image: -moz-linear-gradient(to bottom, #fdd49a, #fdf59a);
125
+ background-image: -ms-linear-gradient(to bottom, #fdd49a, #fdf59a);
126
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fdd49a), to(#fdf59a));
127
+ background-image: -webkit-linear-gradient(to bottom, #fdd49a, #fdf59a);
128
+ background-image: -o-linear-gradient(to bottom, #fdd49a, #fdf59a);
129
+ background-image: linear-gradient(to bottom, #fdd49a, #fdf59a);
130
+ background-repeat: repeat-x;
131
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fdd49a', endColorstr='#fdf59a', GradientType=0);
132
+ border-color: #fdf59a #fdf59a #fbed50;
133
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
134
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
135
+ color: #000;
136
+ }
137
+ .datepicker table tr td.today:hover,
138
+ .datepicker table tr td.today:hover:hover,
139
+ .datepicker table tr td.today.disabled:hover,
140
+ .datepicker table tr td.today.disabled:hover:hover,
141
+ .datepicker table tr td.today:active,
142
+ .datepicker table tr td.today:hover:active,
143
+ .datepicker table tr td.today.disabled:active,
144
+ .datepicker table tr td.today.disabled:hover:active,
145
+ .datepicker table tr td.today.active,
146
+ .datepicker table tr td.today:hover.active,
147
+ .datepicker table tr td.today.disabled.active,
148
+ .datepicker table tr td.today.disabled:hover.active,
149
+ .datepicker table tr td.today.disabled,
150
+ .datepicker table tr td.today:hover.disabled,
151
+ .datepicker table tr td.today.disabled.disabled,
152
+ .datepicker table tr td.today.disabled:hover.disabled,
153
+ .datepicker table tr td.today[disabled],
154
+ .datepicker table tr td.today:hover[disabled],
155
+ .datepicker table tr td.today.disabled[disabled],
156
+ .datepicker table tr td.today.disabled:hover[disabled] {
157
+ background-color: #fdf59a;
158
+ }
159
+ .datepicker table tr td.today:active,
160
+ .datepicker table tr td.today:hover:active,
161
+ .datepicker table tr td.today.disabled:active,
162
+ .datepicker table tr td.today.disabled:hover:active,
163
+ .datepicker table tr td.today.active,
164
+ .datepicker table tr td.today:hover.active,
165
+ .datepicker table tr td.today.disabled.active,
166
+ .datepicker table tr td.today.disabled:hover.active {
167
+ background-color: #fbf069 \9;
168
+ }
169
+ .datepicker table tr td.today:hover:hover {
170
+ color: #000;
171
+ }
172
+ .datepicker table tr td.today.active:hover {
173
+ color: #fff;
174
+ }
175
+ .datepicker table tr td.range,
176
+ .datepicker table tr td.range:hover,
177
+ .datepicker table tr td.range.disabled,
178
+ .datepicker table tr td.range.disabled:hover {
179
+ background: #eee;
180
+ -webkit-border-radius: 0;
181
+ -moz-border-radius: 0;
182
+ border-radius: 0;
183
+ }
184
+ .datepicker table tr td.range.today,
185
+ .datepicker table tr td.range.today:hover,
186
+ .datepicker table tr td.range.today.disabled,
187
+ .datepicker table tr td.range.today.disabled:hover {
188
+ background-color: #f3d17a;
189
+ background-image: -moz-linear-gradient(to bottom, #f3c17a, #f3e97a);
190
+ background-image: -ms-linear-gradient(to bottom, #f3c17a, #f3e97a);
191
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3c17a), to(#f3e97a));
192
+ background-image: -webkit-linear-gradient(to bottom, #f3c17a, #f3e97a);
193
+ background-image: -o-linear-gradient(to bottom, #f3c17a, #f3e97a);
194
+ background-image: linear-gradient(to bottom, #f3c17a, #f3e97a);
195
+ background-repeat: repeat-x;
196
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f3c17a', endColorstr='#f3e97a', GradientType=0);
197
+ border-color: #f3e97a #f3e97a #edde34;
198
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
199
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
200
+ -webkit-border-radius: 0;
201
+ -moz-border-radius: 0;
202
+ border-radius: 0;
203
+ }
204
+ .datepicker table tr td.range.today:hover,
205
+ .datepicker table tr td.range.today:hover:hover,
206
+ .datepicker table tr td.range.today.disabled:hover,
207
+ .datepicker table tr td.range.today.disabled:hover:hover,
208
+ .datepicker table tr td.range.today:active,
209
+ .datepicker table tr td.range.today:hover:active,
210
+ .datepicker table tr td.range.today.disabled:active,
211
+ .datepicker table tr td.range.today.disabled:hover:active,
212
+ .datepicker table tr td.range.today.active,
213
+ .datepicker table tr td.range.today:hover.active,
214
+ .datepicker table tr td.range.today.disabled.active,
215
+ .datepicker table tr td.range.today.disabled:hover.active,
216
+ .datepicker table tr td.range.today.disabled,
217
+ .datepicker table tr td.range.today:hover.disabled,
218
+ .datepicker table tr td.range.today.disabled.disabled,
219
+ .datepicker table tr td.range.today.disabled:hover.disabled,
220
+ .datepicker table tr td.range.today[disabled],
221
+ .datepicker table tr td.range.today:hover[disabled],
222
+ .datepicker table tr td.range.today.disabled[disabled],
223
+ .datepicker table tr td.range.today.disabled:hover[disabled] {
224
+ background-color: #f3e97a;
225
+ }
226
+ .datepicker table tr td.range.today:active,
227
+ .datepicker table tr td.range.today:hover:active,
228
+ .datepicker table tr td.range.today.disabled:active,
229
+ .datepicker table tr td.range.today.disabled:hover:active,
230
+ .datepicker table tr td.range.today.active,
231
+ .datepicker table tr td.range.today:hover.active,
232
+ .datepicker table tr td.range.today.disabled.active,
233
+ .datepicker table tr td.range.today.disabled:hover.active {
234
+ background-color: #efe24b \9;
235
+ }
236
+ .datepicker table tr td.selected,
237
+ .datepicker table tr td.selected:hover,
238
+ .datepicker table tr td.selected.disabled,
239
+ .datepicker table tr td.selected.disabled:hover {
240
+ background-color: #9e9e9e;
241
+ background-image: -moz-linear-gradient(to bottom, #b3b3b3, #808080);
242
+ background-image: -ms-linear-gradient(to bottom, #b3b3b3, #808080);
243
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b3b3b3), to(#808080));
244
+ background-image: -webkit-linear-gradient(to bottom, #b3b3b3, #808080);
245
+ background-image: -o-linear-gradient(to bottom, #b3b3b3, #808080);
246
+ background-image: linear-gradient(to bottom, #b3b3b3, #808080);
247
+ background-repeat: repeat-x;
248
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#b3b3b3', endColorstr='#808080', GradientType=0);
249
+ border-color: #808080 #808080 #595959;
250
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
251
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
252
+ color: #fff;
253
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
254
+ }
255
+ .datepicker table tr td.selected:hover,
256
+ .datepicker table tr td.selected:hover:hover,
257
+ .datepicker table tr td.selected.disabled:hover,
258
+ .datepicker table tr td.selected.disabled:hover:hover,
259
+ .datepicker table tr td.selected:active,
260
+ .datepicker table tr td.selected:hover:active,
261
+ .datepicker table tr td.selected.disabled:active,
262
+ .datepicker table tr td.selected.disabled:hover:active,
263
+ .datepicker table tr td.selected.active,
264
+ .datepicker table tr td.selected:hover.active,
265
+ .datepicker table tr td.selected.disabled.active,
266
+ .datepicker table tr td.selected.disabled:hover.active,
267
+ .datepicker table tr td.selected.disabled,
268
+ .datepicker table tr td.selected:hover.disabled,
269
+ .datepicker table tr td.selected.disabled.disabled,
270
+ .datepicker table tr td.selected.disabled:hover.disabled,
271
+ .datepicker table tr td.selected[disabled],
272
+ .datepicker table tr td.selected:hover[disabled],
273
+ .datepicker table tr td.selected.disabled[disabled],
274
+ .datepicker table tr td.selected.disabled:hover[disabled] {
275
+ background-color: #808080;
276
+ }
277
+ .datepicker table tr td.selected:active,
278
+ .datepicker table tr td.selected:hover:active,
279
+ .datepicker table tr td.selected.disabled:active,
280
+ .datepicker table tr td.selected.disabled:hover:active,
281
+ .datepicker table tr td.selected.active,
282
+ .datepicker table tr td.selected:hover.active,
283
+ .datepicker table tr td.selected.disabled.active,
284
+ .datepicker table tr td.selected.disabled:hover.active {
285
+ background-color: #666666 \9;
286
+ }
287
+ .datepicker table tr td.active,
288
+ .datepicker table tr td.active:hover,
289
+ .datepicker table tr td.active.disabled,
290
+ .datepicker table tr td.active.disabled:hover {
291
+ background-color: #006dcc;
292
+ background-image: -moz-linear-gradient(to bottom, #08c, #0044cc);
293
+ background-image: -ms-linear-gradient(to bottom, #08c, #0044cc);
294
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc));
295
+ background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc);
296
+ background-image: -o-linear-gradient(to bottom, #08c, #0044cc);
297
+ background-image: linear-gradient(to bottom, #08c, #0044cc);
298
+ background-repeat: repeat-x;
299
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);
300
+ border-color: #0044cc #0044cc #002a80;
301
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
302
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
303
+ color: #fff;
304
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
305
+ }
306
+ .datepicker table tr td.active:hover,
307
+ .datepicker table tr td.active:hover:hover,
308
+ .datepicker table tr td.active.disabled:hover,
309
+ .datepicker table tr td.active.disabled:hover:hover,
310
+ .datepicker table tr td.active:active,
311
+ .datepicker table tr td.active:hover:active,
312
+ .datepicker table tr td.active.disabled:active,
313
+ .datepicker table tr td.active.disabled:hover:active,
314
+ .datepicker table tr td.active.active,
315
+ .datepicker table tr td.active:hover.active,
316
+ .datepicker table tr td.active.disabled.active,
317
+ .datepicker table tr td.active.disabled:hover.active,
318
+ .datepicker table tr td.active.disabled,
319
+ .datepicker table tr td.active:hover.disabled,
320
+ .datepicker table tr td.active.disabled.disabled,
321
+ .datepicker table tr td.active.disabled:hover.disabled,
322
+ .datepicker table tr td.active[disabled],
323
+ .datepicker table tr td.active:hover[disabled],
324
+ .datepicker table tr td.active.disabled[disabled],
325
+ .datepicker table tr td.active.disabled:hover[disabled] {
326
+ background-color: #0044cc;
327
+ }
328
+ .datepicker table tr td.active:active,
329
+ .datepicker table tr td.active:hover:active,
330
+ .datepicker table tr td.active.disabled:active,
331
+ .datepicker table tr td.active.disabled:hover:active,
332
+ .datepicker table tr td.active.active,
333
+ .datepicker table tr td.active:hover.active,
334
+ .datepicker table tr td.active.disabled.active,
335
+ .datepicker table tr td.active.disabled:hover.active {
336
+ background-color: #003399 \9;
337
+ }
338
+ .datepicker table tr td span {
339
+ display: block;
340
+ width: 23%;
341
+ height: 54px;
342
+ line-height: 54px;
343
+ float: left;
344
+ margin: 1%;
345
+ cursor: pointer;
346
+ -webkit-border-radius: 4px;
347
+ -moz-border-radius: 4px;
348
+ border-radius: 4px;
349
+ }
350
+ .datepicker table tr td span:hover,
351
+ .datepicker table tr td span.focused {
352
+ background: #eee;
353
+ }
354
+ .datepicker table tr td span.disabled,
355
+ .datepicker table tr td span.disabled:hover {
356
+ background: none;
357
+ color: #999;
358
+ cursor: default;
359
+ }
360
+ .datepicker table tr td span.active,
361
+ .datepicker table tr td span.active:hover,
362
+ .datepicker table tr td span.active.disabled,
363
+ .datepicker table tr td span.active.disabled:hover {
364
+ background-color: #006dcc;
365
+ background-image: -moz-linear-gradient(to bottom, #08c, #0044cc);
366
+ background-image: -ms-linear-gradient(to bottom, #08c, #0044cc);
367
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#08c), to(#0044cc));
368
+ background-image: -webkit-linear-gradient(to bottom, #08c, #0044cc);
369
+ background-image: -o-linear-gradient(to bottom, #08c, #0044cc);
370
+ background-image: linear-gradient(to bottom, #08c, #0044cc);
371
+ background-repeat: repeat-x;
372
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#08c', endColorstr='#0044cc', GradientType=0);
373
+ border-color: #0044cc #0044cc #002a80;
374
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
375
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
376
+ color: #fff;
377
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
378
+ }
379
+ .datepicker table tr td span.active:hover,
380
+ .datepicker table tr td span.active:hover:hover,
381
+ .datepicker table tr td span.active.disabled:hover,
382
+ .datepicker table tr td span.active.disabled:hover:hover,
383
+ .datepicker table tr td span.active:active,
384
+ .datepicker table tr td span.active:hover:active,
385
+ .datepicker table tr td span.active.disabled:active,
386
+ .datepicker table tr td span.active.disabled:hover:active,
387
+ .datepicker table tr td span.active.active,
388
+ .datepicker table tr td span.active:hover.active,
389
+ .datepicker table tr td span.active.disabled.active,
390
+ .datepicker table tr td span.active.disabled:hover.active,
391
+ .datepicker table tr td span.active.disabled,
392
+ .datepicker table tr td span.active:hover.disabled,
393
+ .datepicker table tr td span.active.disabled.disabled,
394
+ .datepicker table tr td span.active.disabled:hover.disabled,
395
+ .datepicker table tr td span.active[disabled],
396
+ .datepicker table tr td span.active:hover[disabled],
397
+ .datepicker table tr td span.active.disabled[disabled],
398
+ .datepicker table tr td span.active.disabled:hover[disabled] {
399
+ background-color: #0044cc;
400
+ }
401
+ .datepicker table tr td span.active:active,
402
+ .datepicker table tr td span.active:hover:active,
403
+ .datepicker table tr td span.active.disabled:active,
404
+ .datepicker table tr td span.active.disabled:hover:active,
405
+ .datepicker table tr td span.active.active,
406
+ .datepicker table tr td span.active:hover.active,
407
+ .datepicker table tr td span.active.disabled.active,
408
+ .datepicker table tr td span.active.disabled:hover.active {
409
+ background-color: #003399 \9;
410
+ }
411
+ .datepicker table tr td span.old,
412
+ .datepicker table tr td span.new {
413
+ color: #999;
414
+ }
415
+ .datepicker .datepicker-switch {
416
+ width: 145px;
417
+ }
418
+ .datepicker .datepicker-switch,
419
+ .datepicker .prev,
420
+ .datepicker .next,
421
+ .datepicker tfoot tr th {
422
+ cursor: pointer;
423
+ }
424
+ .datepicker .datepicker-switch:hover,
425
+ .datepicker .prev:hover,
426
+ .datepicker .next:hover,
427
+ .datepicker tfoot tr th:hover {
428
+ background: #eee;
429
+ }
430
+ .datepicker .prev.disabled,
431
+ .datepicker .next.disabled {
432
+ visibility: hidden;
433
+ }
434
+ .datepicker .cw {
435
+ font-size: 10px;
436
+ width: 12px;
437
+ padding: 0 2px 0 5px;
438
+ vertical-align: middle;
439
+ }
440
+ .input-append.date .add-on,
441
+ .input-prepend.date .add-on {
442
+ cursor: pointer;
443
+ }
444
+ .input-append.date .add-on i,
445
+ .input-prepend.date .add-on i {
446
+ margin-top: 3px;
447
+ }
448
+ .input-daterange input {
449
+ text-align: center;
450
+ }
451
+ .input-daterange input:first-child {
452
+ -webkit-border-radius: 3px 0 0 3px;
453
+ -moz-border-radius: 3px 0 0 3px;
454
+ border-radius: 3px 0 0 3px;
455
+ }
456
+ .input-daterange input:last-child {
457
+ -webkit-border-radius: 0 3px 3px 0;
458
+ -moz-border-radius: 0 3px 3px 0;
459
+ border-radius: 0 3px 3px 0;
460
+ }
461
+ .input-daterange .add-on {
462
+ display: inline-block;
463
+ width: auto;
464
+ min-width: 16px;
465
+ height: 18px;
466
+ padding: 4px 5px;
467
+ font-weight: normal;
468
+ line-height: 18px;
469
+ text-align: center;
470
+ text-shadow: 0 1px 0 #fff;
471
+ vertical-align: middle;
472
+ background-color: #eee;
473
+ border: 1px solid #ccc;
474
+ margin-left: -5px;
475
+ margin-right: -5px;
476
+ }
477
+ /*# sourceMappingURL=bootstrap-datepicker.css.map */
@@ -0,0 +1,3 @@
1
+ .ui-sortable-helper {
2
+ display: table;
3
+ }
@@ -0,0 +1,28 @@
1
+ div.grouping {
2
+ border-top: 2px solid $gray !important;
3
+ padding-top: 1rem;
4
+ }
5
+
6
+ h3.grouping {
7
+ border-top: 2px solid $gray !important;
8
+ padding-top: 1rem;
9
+ }
10
+
11
+ h1.h5 {
12
+ margin-top:0.5rem;
13
+ }
14
+
15
+ label, legend {
16
+ font-weight:bold;
17
+ }
18
+
19
+ // Sidebar Nav
20
+ .make-me-sticky {
21
+ position: sticky;
22
+ top: 4rem;
23
+ }
24
+
25
+ //
26
+ html {
27
+ scroll-padding-top: 4rem; /* height of your sticky header */
28
+ }
@@ -0,0 +1,15 @@
1
+ .icon {
2
+ display: inline;
3
+ align-self: center;
4
+ }
5
+
6
+ svg.icon {
7
+ fill: currentColor;
8
+ height: 1em;
9
+ width: 1em;
10
+ }
11
+
12
+ svg.icon.baseline {
13
+ top: -0.125em;
14
+ position: relative;
15
+ }
@@ -0,0 +1,9 @@
1
+ // Keep Document Cancel and Update buttons visible
2
+ .admin-header {
3
+ top:4rem;
4
+ }
5
+
6
+ // Keep View in Geoportal visible
7
+ .make-me-sticky {
8
+ top:8rem;
9
+ }
@@ -0,0 +1,4 @@
1
+ th.header{
2
+ position: sticky;
3
+ top: 55px;
4
+ }
@@ -0,0 +1,7 @@
1
+ #toast-wrapper {
2
+ position: absolute;
3
+ top: 100;
4
+ right: 0;
5
+ min-height:200px;
6
+ z-index: 1000;
7
+ }