igs-slm 0.1.0b0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (447) hide show
  1. igs_slm-0.1.0b0.dist-info/LICENSE +21 -0
  2. igs_slm-0.1.0b0.dist-info/METADATA +151 -0
  3. igs_slm-0.1.0b0.dist-info/RECORD +447 -0
  4. igs_slm-0.1.0b0.dist-info/WHEEL +4 -0
  5. igs_slm-0.1.0b0.dist-info/entry_points.txt +3 -0
  6. igs_tools/__init__.py +0 -0
  7. igs_tools/connection.py +88 -0
  8. igs_tools/defines/__init__.py +8 -0
  9. igs_tools/defines/constellation.py +21 -0
  10. igs_tools/defines/data_center.py +75 -0
  11. igs_tools/defines/rinex.py +49 -0
  12. igs_tools/directory.py +247 -0
  13. igs_tools/utils.py +66 -0
  14. slm/__init__.py +21 -0
  15. slm/admin.py +674 -0
  16. slm/api/edit/__init__.py +0 -0
  17. slm/api/edit/serializers.py +316 -0
  18. slm/api/edit/views.py +1632 -0
  19. slm/api/fields.py +89 -0
  20. slm/api/filter.py +504 -0
  21. slm/api/pagination.py +55 -0
  22. slm/api/permissions.py +65 -0
  23. slm/api/public/__init__.py +0 -0
  24. slm/api/public/serializers.py +249 -0
  25. slm/api/public/views.py +606 -0
  26. slm/api/serializers.py +132 -0
  27. slm/api/views.py +148 -0
  28. slm/apps.py +323 -0
  29. slm/authentication.py +198 -0
  30. slm/bin/__init__.py +0 -0
  31. slm/bin/startproject.py +262 -0
  32. slm/bin/templates/{{ project_dir }}/pyproject.toml +35 -0
  33. slm/bin/templates/{{ project_dir }}/sites/__init__.py +0 -0
  34. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/__init__.py +0 -0
  35. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/base.py +15 -0
  36. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/develop/__init__.py +56 -0
  37. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/develop/local.py +4 -0
  38. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/develop/wsgi.py +16 -0
  39. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/manage.py +34 -0
  40. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/production/__init__.py +61 -0
  41. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/production/wsgi.py +16 -0
  42. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/urls.py +7 -0
  43. slm/bin/templates/{{ project_dir }}/sites/{{ site }}/validation.py +11 -0
  44. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/__init__.py +0 -0
  45. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/admin.py +5 -0
  46. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/apps.py +14 -0
  47. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/management/__init__.py +0 -0
  48. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/management/commands/__init__.py +0 -0
  49. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/management/commands/import_archive.py +64 -0
  50. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/migrations/__init__.py +0 -0
  51. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/models.py +6 -0
  52. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/templates/slm/base.html +8 -0
  53. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/urls.py +10 -0
  54. slm/bin/templates/{{ project_dir }}/{{ extension_app }}/views.py +5 -0
  55. slm/defines/AlertLevel.py +24 -0
  56. slm/defines/AntennaCalibration.py +25 -0
  57. slm/defines/AntennaFeatures.py +27 -0
  58. slm/defines/AntennaReferencePoint.py +22 -0
  59. slm/defines/Aspiration.py +13 -0
  60. slm/defines/CardinalDirection.py +19 -0
  61. slm/defines/CollocationStatus.py +12 -0
  62. slm/defines/EquipmentState.py +22 -0
  63. slm/defines/FlagSeverity.py +14 -0
  64. slm/defines/FractureSpacing.py +15 -0
  65. slm/defines/FrequencyStandardType.py +15 -0
  66. slm/defines/GeodesyMLVersion.py +48 -0
  67. slm/defines/ISOCountry.py +1194 -0
  68. slm/defines/Instrumentation.py +19 -0
  69. slm/defines/LogEntryType.py +30 -0
  70. slm/defines/SLMFileType.py +18 -0
  71. slm/defines/SiteFileUploadStatus.py +61 -0
  72. slm/defines/SiteLogFormat.py +49 -0
  73. slm/defines/SiteLogStatus.py +78 -0
  74. slm/defines/TectonicPlates.py +28 -0
  75. slm/defines/__init__.py +46 -0
  76. slm/forms.py +1126 -0
  77. slm/jinja2/slm/sitelog/ascii_9char.log +346 -0
  78. slm/jinja2/slm/sitelog/legacy.log +346 -0
  79. slm/jinja2/slm/sitelog/xsd/0.4/collocationInformation.xml +12 -0
  80. slm/jinja2/slm/sitelog/xsd/0.4/condition.xml +12 -0
  81. slm/jinja2/slm/sitelog/xsd/0.4/contact.xml +52 -0
  82. slm/jinja2/slm/sitelog/xsd/0.4/formInformation.xml +5 -0
  83. slm/jinja2/slm/sitelog/xsd/0.4/frequencyStandard.xml +12 -0
  84. slm/jinja2/slm/sitelog/xsd/0.4/gnssAntenna.xml +16 -0
  85. slm/jinja2/slm/sitelog/xsd/0.4/gnssReceiver.xml +11 -0
  86. slm/jinja2/slm/sitelog/xsd/0.4/humiditySensor.xml +13 -0
  87. slm/jinja2/slm/sitelog/xsd/0.4/localEpisodicEffect.xml +10 -0
  88. slm/jinja2/slm/sitelog/xsd/0.4/moreInformation.xml +22 -0
  89. slm/jinja2/slm/sitelog/xsd/0.4/multipathSource.xml +10 -0
  90. slm/jinja2/slm/sitelog/xsd/0.4/otherInstrumentation.xml +5 -0
  91. slm/jinja2/slm/sitelog/xsd/0.4/pressureSensor.xml +12 -0
  92. slm/jinja2/slm/sitelog/xsd/0.4/radioInterference.xml +11 -0
  93. slm/jinja2/slm/sitelog/xsd/0.4/sensor.xml +16 -0
  94. slm/jinja2/slm/sitelog/xsd/0.4/signalObstruction.xml +10 -0
  95. slm/jinja2/slm/sitelog/xsd/0.4/siteIdentification.xml +22 -0
  96. slm/jinja2/slm/sitelog/xsd/0.4/siteLocation.xml +21 -0
  97. slm/jinja2/slm/sitelog/xsd/0.4/surveyedLocalTie.xml +20 -0
  98. slm/jinja2/slm/sitelog/xsd/0.4/temperatureSensor.xml +13 -0
  99. slm/jinja2/slm/sitelog/xsd/0.4/waterVaporSensor.xml +11 -0
  100. slm/jinja2/slm/sitelog/xsd/0.5/document.xml +10 -0
  101. slm/jinja2/slm/sitelog/xsd/geodesyml_0.4.xml +99 -0
  102. slm/jinja2/slm/sitelog/xsd/geodesyml_0.5.xml +112 -0
  103. slm/management/__init__.py +0 -0
  104. slm/management/commands/__init__.py +53 -0
  105. slm/management/commands/build_index.py +96 -0
  106. slm/management/commands/generate_sinex.py +675 -0
  107. slm/management/commands/head_from_index.py +541 -0
  108. slm/management/commands/import_archive.py +908 -0
  109. slm/management/commands/import_equipment.py +351 -0
  110. slm/management/commands/set_site.py +56 -0
  111. slm/management/commands/sitelog.py +144 -0
  112. slm/management/commands/synchronize.py +60 -0
  113. slm/management/commands/update_data_availability.py +167 -0
  114. slm/management/commands/validate_db.py +186 -0
  115. slm/management/commands/validate_gml.py +73 -0
  116. slm/map/__init__.py +1 -0
  117. slm/map/admin.py +5 -0
  118. slm/map/api/__init__.py +0 -0
  119. slm/map/api/edit/__init__.py +0 -0
  120. slm/map/api/edit/serializers.py +28 -0
  121. slm/map/api/edit/views.py +46 -0
  122. slm/map/api/public/__init__.py +0 -0
  123. slm/map/api/public/serializers.py +29 -0
  124. slm/map/api/public/views.py +64 -0
  125. slm/map/apps.py +7 -0
  126. slm/map/defines.py +53 -0
  127. slm/map/migrations/0001_initial.py +115 -0
  128. slm/map/migrations/__init__.py +0 -0
  129. slm/map/models.py +63 -0
  130. slm/map/static/slm/css/map.css +86 -0
  131. slm/map/static/slm/js/map.js +159 -0
  132. slm/map/templates/slm/map.html +374 -0
  133. slm/map/templates/slm/station/base.html +11 -0
  134. slm/map/templates/slm/station/edit.html +10 -0
  135. slm/map/templates/slm/top_nav.html +17 -0
  136. slm/map/templatetags/__init__.py +0 -0
  137. slm/map/templatetags/slm_map.py +18 -0
  138. slm/map/urls.py +25 -0
  139. slm/map/views.py +36 -0
  140. slm/middleware.py +29 -0
  141. slm/migrations/0001_alter_siteantenna_marker_enu_alter_sitelocation_llh_and_more.py +47 -0
  142. slm/migrations/0001_initial.py +4826 -0
  143. slm/migrations/0002_alter_dataavailability_site.py +22 -0
  144. slm/migrations/0003_remove_logentry_slm_logentr_site_lo_7a2af7_idx_and_more.py +80 -0
  145. slm/migrations/0004_alter_logentry_timestamp_and_more.py +25 -0
  146. slm/migrations/0005_alter_logentry_options_alter_logentry_section_and_more.py +46 -0
  147. slm/migrations/0006_alter_logentry_options_alter_logentry_index_together.py +24 -0
  148. slm/migrations/0007_alter_dataavailability_rate.py +23 -0
  149. slm/migrations/0008_alter_archiveindex_options_and_more.py +64 -0
  150. slm/migrations/0009_alter_archiveindex_end.py +21 -0
  151. slm/migrations/0010_alter_dataavailability_rinex_version_and_more.py +844 -0
  152. slm/migrations/0011_alter_siteidentification_fracture_spacing.py +33 -0
  153. slm/migrations/0012_alter_logentry_type.py +36 -0
  154. slm/migrations/0013_unpublishedfilesalert.py +48 -0
  155. slm/migrations/0014_sitelogpublished.py +48 -0
  156. slm/migrations/0015_alter_siteantenna_options_and_more.py +181 -0
  157. slm/migrations/0016_alter_antenna_description_alter_radome_description_and_more.py +42 -0
  158. slm/migrations/0017_alter_logentry_unique_together_and_more.py +54 -0
  159. slm/migrations/0018_afix_deleted.py +34 -0
  160. slm/migrations/0018_alter_siteantenna_options_and_more.py +244 -0
  161. slm/migrations/0019_remove_siteantenna_marker_enu_siteantenna_marker_une_and_more.py +101 -0
  162. slm/migrations/0020_alter_manufacturer_options.py +16 -0
  163. slm/migrations/0021_alter_siteform_report_type.py +23 -0
  164. slm/migrations/0022_rename_antcal_antenna_radome_slm_antcal_antenna_20827a_idx_and_more.py +297 -0
  165. slm/migrations/0023_archivedsitelog_gml_version_and_more.py +55 -0
  166. slm/migrations/0024_alter_agency_name_alter_agency_shortname.py +24 -0
  167. slm/migrations/0025_alter_archivedsitelog_log_format_and_more.py +61 -0
  168. slm/migrations/0026_alter_archivedsitelog_log_format_and_more.py +61 -0
  169. slm/migrations/0027_importalert_file_contents_importalert_findings_and_more.py +41 -0
  170. slm/migrations/0028_antenna_replaced_manufacturer_url_radome_replaced_and_more.py +46 -0
  171. slm/migrations/0029_manufacturer_full_name.py +17 -0
  172. slm/migrations/0030_alter_antenna_state_alter_radome_state_and_more.py +43 -0
  173. slm/migrations/__init__.py +0 -0
  174. slm/migrations/load_satellitesystems.py +27 -0
  175. slm/models/__init__.py +118 -0
  176. slm/models/about.py +14 -0
  177. slm/models/alerts.py +1204 -0
  178. slm/models/data.py +58 -0
  179. slm/models/equipment.py +229 -0
  180. slm/models/help.py +14 -0
  181. slm/models/index.py +428 -0
  182. slm/models/sitelog.py +4279 -0
  183. slm/models/system.py +723 -0
  184. slm/models/user.py +304 -0
  185. slm/parsing/__init__.py +786 -0
  186. slm/parsing/legacy/__init__.py +4 -0
  187. slm/parsing/legacy/binding.py +817 -0
  188. slm/parsing/legacy/parser.py +377 -0
  189. slm/parsing/xsd/__init__.py +34 -0
  190. slm/parsing/xsd/binding.py +86 -0
  191. slm/parsing/xsd/geodesyml/0.4/commonTypes.xsd +133 -0
  192. slm/parsing/xsd/geodesyml/0.4/contact.xsd +29 -0
  193. slm/parsing/xsd/geodesyml/0.4/dataStreams.xsd +129 -0
  194. slm/parsing/xsd/geodesyml/0.4/document.xsd +64 -0
  195. slm/parsing/xsd/geodesyml/0.4/equipment.xsd +427 -0
  196. slm/parsing/xsd/geodesyml/0.4/fieldMeasurement.xsd +170 -0
  197. slm/parsing/xsd/geodesyml/0.4/geodesyML.xsd +71 -0
  198. slm/parsing/xsd/geodesyml/0.4/geodeticEquipment.xsd +343 -0
  199. slm/parsing/xsd/geodesyml/0.4/geodeticMonument.xsd +147 -0
  200. slm/parsing/xsd/geodesyml/0.4/lineage.xsd +614 -0
  201. slm/parsing/xsd/geodesyml/0.4/localInterferences.xsd +131 -0
  202. slm/parsing/xsd/geodesyml/0.4/measurement.xsd +473 -0
  203. slm/parsing/xsd/geodesyml/0.4/monumentInfo.xsd +251 -0
  204. slm/parsing/xsd/geodesyml/0.4/observationSystem.xsd +429 -0
  205. slm/parsing/xsd/geodesyml/0.4/project.xsd +38 -0
  206. slm/parsing/xsd/geodesyml/0.4/quality.xsd +176 -0
  207. slm/parsing/xsd/geodesyml/0.4/referenceFrame.xsd +194 -0
  208. slm/parsing/xsd/geodesyml/0.4/siteLog.xsd +71 -0
  209. slm/parsing/xsd/geodesyml/0.5/commonTypes.xsd +133 -0
  210. slm/parsing/xsd/geodesyml/0.5/contact.xsd +29 -0
  211. slm/parsing/xsd/geodesyml/0.5/dataStreams.xsd +129 -0
  212. slm/parsing/xsd/geodesyml/0.5/document.xsd +64 -0
  213. slm/parsing/xsd/geodesyml/0.5/equipment.xsd +427 -0
  214. slm/parsing/xsd/geodesyml/0.5/fieldMeasurement.xsd +170 -0
  215. slm/parsing/xsd/geodesyml/0.5/geodesyML.xsd +71 -0
  216. slm/parsing/xsd/geodesyml/0.5/geodeticEquipment.xsd +343 -0
  217. slm/parsing/xsd/geodesyml/0.5/geodeticMonument.xsd +147 -0
  218. slm/parsing/xsd/geodesyml/0.5/lineage.xsd +614 -0
  219. slm/parsing/xsd/geodesyml/0.5/localInterferences.xsd +131 -0
  220. slm/parsing/xsd/geodesyml/0.5/measurement.xsd +473 -0
  221. slm/parsing/xsd/geodesyml/0.5/monumentInfo.xsd +306 -0
  222. slm/parsing/xsd/geodesyml/0.5/observationSystem.xsd +429 -0
  223. slm/parsing/xsd/geodesyml/0.5/project.xsd +38 -0
  224. slm/parsing/xsd/geodesyml/0.5/quality.xsd +176 -0
  225. slm/parsing/xsd/geodesyml/0.5/referenceFrame.xsd +194 -0
  226. slm/parsing/xsd/geodesyml/0.5/siteLog.xsd +73 -0
  227. slm/parsing/xsd/parser.py +116 -0
  228. slm/parsing/xsd/resolver.py +28 -0
  229. slm/receivers/__init__.py +11 -0
  230. slm/receivers/alerts.py +87 -0
  231. slm/receivers/cleanup.py +41 -0
  232. slm/receivers/event_loggers.py +175 -0
  233. slm/receivers/index.py +67 -0
  234. slm/settings/__init__.py +55 -0
  235. slm/settings/auth.py +15 -0
  236. slm/settings/ckeditor.py +14 -0
  237. slm/settings/debug.py +47 -0
  238. slm/settings/internationalization.py +12 -0
  239. slm/settings/logging.py +113 -0
  240. slm/settings/platform/__init__.py +0 -0
  241. slm/settings/platform/darwin.py +10 -0
  242. slm/settings/rest.py +21 -0
  243. slm/settings/root.py +152 -0
  244. slm/settings/routines.py +43 -0
  245. slm/settings/secrets.py +37 -0
  246. slm/settings/security.py +5 -0
  247. slm/settings/slm.py +188 -0
  248. slm/settings/static_templates.py +53 -0
  249. slm/settings/templates.py +29 -0
  250. slm/settings/uploads.py +8 -0
  251. slm/settings/urls.py +126 -0
  252. slm/settings/validation.py +196 -0
  253. slm/signals.py +250 -0
  254. slm/singleton.py +49 -0
  255. slm/static/rest_framework/css/bootstrap-tweaks.css +204 -0
  256. slm/static/rest_framework/css/bootstrap.min.css +7 -0
  257. slm/static/rest_framework/css/bootstrap.min.css.map +1 -0
  258. slm/static/rest_framework/css/default.css +82 -0
  259. slm/static/rest_framework/css/prettify.css +30 -0
  260. slm/static/rest_framework/docs/css/base.css +344 -0
  261. slm/static/rest_framework/docs/css/highlight.css +125 -0
  262. slm/static/rest_framework/docs/css/jquery.json-view.min.css +11 -0
  263. slm/static/rest_framework/docs/img/favicon.ico +0 -0
  264. slm/static/rest_framework/docs/img/grid.png +0 -0
  265. slm/static/rest_framework/docs/js/api.js +321 -0
  266. slm/static/rest_framework/docs/js/highlight.pack.js +2 -0
  267. slm/static/rest_framework/docs/js/jquery.json-view.min.js +7 -0
  268. slm/static/rest_framework/img/grid.png +0 -0
  269. slm/static/rest_framework/js/ajax-form.js +127 -0
  270. slm/static/rest_framework/js/bootstrap.bundle.min.js +7 -0
  271. slm/static/rest_framework/js/bootstrap.bundle.min.js.map +1 -0
  272. slm/static/rest_framework/js/bootstrap.min.js.map +1 -0
  273. slm/static/rest_framework/js/coreapi-0.1.1.js +2043 -0
  274. slm/static/rest_framework/js/csrf.js +52 -0
  275. slm/static/rest_framework/js/default.js +47 -0
  276. slm/static/rest_framework/js/jquery-3.5.1.min.js +2 -0
  277. slm/static/rest_framework/js/prettify-min.js +28 -0
  278. slm/static/slm/css/admin.css +3 -0
  279. slm/static/slm/css/defines.css +82 -0
  280. slm/static/slm/css/forms.css +1 -0
  281. slm/static/slm/css/style.css +1004 -0
  282. slm/static/slm/img/email-branding.png +0 -0
  283. slm/static/slm/img/favicon.ico +0 -0
  284. slm/static/slm/img/login-bg.jpg +0 -0
  285. slm/static/slm/img/slm-logo.svg +4 -0
  286. slm/static/slm/js/autocomplete.js +341 -0
  287. slm/static/slm/js/enums.js +322 -0
  288. slm/static/slm/js/fileIcons.js +30 -0
  289. slm/static/slm/js/form.js +404 -0
  290. slm/static/slm/js/formWidget.js +23 -0
  291. slm/static/slm/js/persistable.js +33 -0
  292. slm/static/slm/js/slm.js +1028 -0
  293. slm/static/slm/js/time24.js +212 -0
  294. slm/static_templates/slm/css/defines.css +26 -0
  295. slm/static_templates/slm/js/enums.js +28 -0
  296. slm/static_templates/slm/js/fileIcons.js +16 -0
  297. slm/static_templates/slm/js/urls.js +5 -0
  298. slm/templates/account/base.html +20 -0
  299. slm/templates/account/email/base.html +43 -0
  300. slm/templates/account/email/base_message.txt +7 -0
  301. slm/templates/account/email/email_confirmation_message.html +16 -0
  302. slm/templates/account/email/email_confirmation_message.txt +7 -0
  303. slm/templates/account/email/email_confirmation_signup_message.html +1 -0
  304. slm/templates/account/email/email_confirmation_signup_message.txt +1 -0
  305. slm/templates/account/email/email_confirmation_signup_subject.txt +1 -0
  306. slm/templates/account/email/email_confirmation_subject.txt +4 -0
  307. slm/templates/account/email/password_reset_key_message.html +28 -0
  308. slm/templates/account/email/password_reset_key_message.txt +9 -0
  309. slm/templates/account/email/password_reset_key_subject.txt +4 -0
  310. slm/templates/account/email/unknown_account_message.html +25 -0
  311. slm/templates/account/email/unknown_account_message.txt +12 -0
  312. slm/templates/account/email/unknown_account_subject.txt +4 -0
  313. slm/templates/account/login.html +67 -0
  314. slm/templates/account/logout.html +38 -0
  315. slm/templates/account/password_change.html +48 -0
  316. slm/templates/account/password_reset.html +51 -0
  317. slm/templates/account/password_reset_done.html +20 -0
  318. slm/templates/account/password_reset_from_key.html +52 -0
  319. slm/templates/account/password_reset_from_key_done.html +17 -0
  320. slm/templates/admin/base.html +7 -0
  321. slm/templates/messages.html +8 -0
  322. slm/templates/rest_framework/README +16 -0
  323. slm/templates/rest_framework/admin/detail.html +10 -0
  324. slm/templates/rest_framework/admin/dict_value.html +11 -0
  325. slm/templates/rest_framework/admin/list.html +32 -0
  326. slm/templates/rest_framework/admin/list_value.html +11 -0
  327. slm/templates/rest_framework/admin/simple_list_value.html +2 -0
  328. slm/templates/rest_framework/admin.html +282 -0
  329. slm/templates/rest_framework/api.html +3 -0
  330. slm/templates/rest_framework/base.html +334 -0
  331. slm/templates/rest_framework/docs/auth/basic.html +42 -0
  332. slm/templates/rest_framework/docs/auth/session.html +40 -0
  333. slm/templates/rest_framework/docs/auth/token.html +41 -0
  334. slm/templates/rest_framework/docs/document.html +37 -0
  335. slm/templates/rest_framework/docs/error.html +71 -0
  336. slm/templates/rest_framework/docs/index.html +55 -0
  337. slm/templates/rest_framework/docs/interact.html +57 -0
  338. slm/templates/rest_framework/docs/langs/javascript-intro.html +5 -0
  339. slm/templates/rest_framework/docs/langs/javascript.html +15 -0
  340. slm/templates/rest_framework/docs/langs/python-intro.html +3 -0
  341. slm/templates/rest_framework/docs/langs/python.html +13 -0
  342. slm/templates/rest_framework/docs/langs/shell-intro.html +3 -0
  343. slm/templates/rest_framework/docs/langs/shell.html +6 -0
  344. slm/templates/rest_framework/docs/link.html +113 -0
  345. slm/templates/rest_framework/docs/sidebar.html +78 -0
  346. slm/templates/rest_framework/filters/base.html +16 -0
  347. slm/templates/rest_framework/filters/ordering.html +17 -0
  348. slm/templates/rest_framework/filters/search.html +13 -0
  349. slm/templates/rest_framework/horizontal/checkbox.html +23 -0
  350. slm/templates/rest_framework/horizontal/checkbox_multiple.html +32 -0
  351. slm/templates/rest_framework/horizontal/dict_field.html +11 -0
  352. slm/templates/rest_framework/horizontal/fieldset.html +16 -0
  353. slm/templates/rest_framework/horizontal/form.html +6 -0
  354. slm/templates/rest_framework/horizontal/input.html +21 -0
  355. slm/templates/rest_framework/horizontal/list_field.html +11 -0
  356. slm/templates/rest_framework/horizontal/list_fieldset.html +13 -0
  357. slm/templates/rest_framework/horizontal/radio.html +42 -0
  358. slm/templates/rest_framework/horizontal/select.html +36 -0
  359. slm/templates/rest_framework/horizontal/select_multiple.html +38 -0
  360. slm/templates/rest_framework/horizontal/textarea.html +21 -0
  361. slm/templates/rest_framework/inline/checkbox.html +8 -0
  362. slm/templates/rest_framework/inline/checkbox_multiple.html +14 -0
  363. slm/templates/rest_framework/inline/dict_field.html +9 -0
  364. slm/templates/rest_framework/inline/fieldset.html +6 -0
  365. slm/templates/rest_framework/inline/form.html +8 -0
  366. slm/templates/rest_framework/inline/input.html +9 -0
  367. slm/templates/rest_framework/inline/list_field.html +9 -0
  368. slm/templates/rest_framework/inline/list_fieldset.html +3 -0
  369. slm/templates/rest_framework/inline/radio.html +25 -0
  370. slm/templates/rest_framework/inline/select.html +24 -0
  371. slm/templates/rest_framework/inline/select_multiple.html +25 -0
  372. slm/templates/rest_framework/inline/textarea.html +9 -0
  373. slm/templates/rest_framework/login.html +3 -0
  374. slm/templates/rest_framework/login_base.html +65 -0
  375. slm/templates/rest_framework/pagination/numbers.html +47 -0
  376. slm/templates/rest_framework/pagination/previous_and_next.html +21 -0
  377. slm/templates/rest_framework/raw_data_form.html +11 -0
  378. slm/templates/rest_framework/schema.js +3 -0
  379. slm/templates/rest_framework/vertical/checkbox.html +16 -0
  380. slm/templates/rest_framework/vertical/checkbox_multiple.html +30 -0
  381. slm/templates/rest_framework/vertical/dict_field.html +7 -0
  382. slm/templates/rest_framework/vertical/fieldset.html +13 -0
  383. slm/templates/rest_framework/vertical/form.html +6 -0
  384. slm/templates/rest_framework/vertical/input.html +17 -0
  385. slm/templates/rest_framework/vertical/list_field.html +7 -0
  386. slm/templates/rest_framework/vertical/list_fieldset.html +7 -0
  387. slm/templates/rest_framework/vertical/radio.html +40 -0
  388. slm/templates/rest_framework/vertical/select.html +34 -0
  389. slm/templates/rest_framework/vertical/select_multiple.html +31 -0
  390. slm/templates/rest_framework/vertical/textarea.html +17 -0
  391. slm/templates/slm/about.html +21 -0
  392. slm/templates/slm/alerts/alert.html +15 -0
  393. slm/templates/slm/alerts/geodesymlinvalid.html +8 -0
  394. slm/templates/slm/alerts/importalert.html +10 -0
  395. slm/templates/slm/alerts.html +18 -0
  396. slm/templates/slm/auth_menu.html +41 -0
  397. slm/templates/slm/base.html +195 -0
  398. slm/templates/slm/emails/alert_issued.html +31 -0
  399. slm/templates/slm/emails/alert_issued.txt +9 -0
  400. slm/templates/slm/emails/base.html +6 -0
  401. slm/templates/slm/emails/changes_rejected.txt +7 -0
  402. slm/templates/slm/emails/review_requested.txt +7 -0
  403. slm/templates/slm/forms/widgets/auto_complete.html +21 -0
  404. slm/templates/slm/forms/widgets/auto_complete_multiple.html +18 -0
  405. slm/templates/slm/forms/widgets/checkbox_multiple.html +6 -0
  406. slm/templates/slm/forms/widgets/inline_multi.html +1 -0
  407. slm/templates/slm/forms/widgets/splitdatetime.html +14 -0
  408. slm/templates/slm/forms/widgets/time24.html +37 -0
  409. slm/templates/slm/help.html +54 -0
  410. slm/templates/slm/messages.html +13 -0
  411. slm/templates/slm/new_site.html +88 -0
  412. slm/templates/slm/profile.html +57 -0
  413. slm/templates/slm/register.html +40 -0
  414. slm/templates/slm/reports/file_log.html +43 -0
  415. slm/templates/slm/reports/head_log.html +23 -0
  416. slm/templates/slm/reports/head_report.html +55 -0
  417. slm/templates/slm/reports/index_log.html +23 -0
  418. slm/templates/slm/reports/index_report.html +71 -0
  419. slm/templates/slm/station/alert.html +8 -0
  420. slm/templates/slm/station/alerts.html +19 -0
  421. slm/templates/slm/station/base.html +104 -0
  422. slm/templates/slm/station/download.html +87 -0
  423. slm/templates/slm/station/edit.html +283 -0
  424. slm/templates/slm/station/form.html +110 -0
  425. slm/templates/slm/station/log.html +18 -0
  426. slm/templates/slm/station/review.html +461 -0
  427. slm/templates/slm/station/upload.html +295 -0
  428. slm/templates/slm/station/uploads/attachment.html +20 -0
  429. slm/templates/slm/station/uploads/geodesyml.html +1 -0
  430. slm/templates/slm/station/uploads/image.html +27 -0
  431. slm/templates/slm/station/uploads/json.html +0 -0
  432. slm/templates/slm/station/uploads/legacy.html +77 -0
  433. slm/templates/slm/top_nav.html +14 -0
  434. slm/templates/slm/user_activity.html +16 -0
  435. slm/templates/slm/widgets/alert_scroll.html +135 -0
  436. slm/templates/slm/widgets/filelist.html +258 -0
  437. slm/templates/slm/widgets/legend.html +12 -0
  438. slm/templates/slm/widgets/log_scroll.html +88 -0
  439. slm/templates/slm/widgets/stationlist.html +233 -0
  440. slm/templatetags/__init__.py +0 -0
  441. slm/templatetags/jinja2.py +9 -0
  442. slm/templatetags/slm.py +459 -0
  443. slm/urls.py +148 -0
  444. slm/utils.py +299 -0
  445. slm/validators.py +297 -0
  446. slm/views.py +654 -0
  447. slm/widgets.py +134 -0
@@ -0,0 +1,1004 @@
1
+ /*------- Typography CSS -------*/
2
+ .h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
3
+ /* margin-bottom: 0; */
4
+ font-family: 'Roboto', serif;
5
+ font-weight: bold;
6
+ }
7
+ .h-110 {
8
+ height: 110%;
9
+ }
10
+ body {
11
+ font-family: 'Roboto', serif;
12
+ display: flex;
13
+ flex-direction: column;
14
+ min-height: 100vh;
15
+ }
16
+ button {
17
+ font-weight: 700;
18
+ }
19
+ a, a:hover {
20
+ color: #175A7D;
21
+ }
22
+ .mono {
23
+ font-family: "Lucida Console", Courier, monospace;
24
+ }
25
+ span.slm-section-header {
26
+ font-size: calc(1.4rem + .3vw);
27
+ }
28
+ .footer-link {
29
+ color: #fff;
30
+ text-decoration: none;
31
+ }
32
+ .footer-link a:hover {
33
+ color: #fff;
34
+ text-decoration: underline;
35
+ }
36
+
37
+ img.fancybox-image {
38
+ image-orientation: none;
39
+ }
40
+
41
+
42
+
43
+ /*------- Layout CSS -------*/
44
+ @media (max-width: 797px) {
45
+ body {
46
+ padding-left: 0;
47
+ padding-right: 0;
48
+ }
49
+ }
50
+ .container-fluid {
51
+ padding: 0;
52
+ }
53
+
54
+ .slm-account-card {
55
+ position: fixed;
56
+ top: 50%;
57
+ left: 50%;
58
+ -webkit-transform: translate(-50%, -50%);
59
+ transform: translate(-50%, -50%);
60
+ }
61
+
62
+
63
+
64
+ /*------- Top Menu Navigation CSS -------*/
65
+ .navbar-dark .navbar-nav .active>.nav-link {
66
+ background-color: #185A7D !important;
67
+ color: #fff;
68
+ border-radius: 0.25rem;
69
+ }
70
+ .navbar-dark .navbar-nav .nav-link {
71
+ color: #fff;
72
+ }
73
+ .nav-link {
74
+ width: 100%;
75
+ text-align: left;
76
+ color: #000;
77
+ }
78
+ @media (min-width: 768px) {
79
+ .navbar-expand-md .navbar-nav .nav-link {
80
+ padding: 0.5rem 1rem;
81
+ }
82
+ }
83
+ /* Fixes active CSS on dropdown sections (DO NOT MOVE) */
84
+ .nav-link.active, .active>.nav-link {
85
+ background-color: #185A7D !important;
86
+ color: #fff;
87
+ }
88
+ .show>.nav-link {
89
+ background-color: #fff !important;
90
+ color: #000 !important;
91
+ }
92
+ .nav-link:focus, .nav-link:hover {
93
+ background-color: #185A7D !important;
94
+ color: #fff !important;
95
+ border-radius: 0.25rem;
96
+ }
97
+ .list-group-item.active {
98
+ background-color: #185A7D !important;
99
+ border-color: #185A7D !important;
100
+ }
101
+
102
+
103
+ /*------- Review Diff CSS -------*/
104
+ #slm-review-diff-container {
105
+ padding: 50px;
106
+ }
107
+ #slm-review-diff {
108
+ border: 1px solid #212529;
109
+ background-color: ghostwhite;
110
+ padding: 0;
111
+ border-right: 15px solid #175A7D;
112
+ }
113
+ #slm-review-diff span.slm-review-lineno {
114
+ width: 5em;
115
+ text-align: right;
116
+ display: inline-block;
117
+ border-right: 2px solid black;
118
+ padding-right: 5px;
119
+ margin-right: 10px;
120
+ background: #175A7D;
121
+ color: #f1f1f1;
122
+ }
123
+ #slm-review-diff span.slm-review-line {
124
+ display: inline-block;
125
+ }
126
+
127
+ #slm-review-diff div.slm-diff-header,
128
+ #slm-review-diff div.slm-diff-footer {
129
+ height: 15px;
130
+ background: #175A7D;
131
+ }
132
+
133
+
134
+
135
+ /*------- Alerts/Log CSS -------*/
136
+ div.slm-alert-detail {
137
+ color: #0f0f0f;
138
+ opacity: 0.75;
139
+ }
140
+
141
+
142
+ .no-scrollbar::-webkit-scrollbar {
143
+ display: none;
144
+ }
145
+
146
+ /* For Internet Explorer and Edge */
147
+ .no-scrollbar {
148
+ -ms-overflow-style: none;
149
+ }
150
+
151
+ /* For Firefox */
152
+ .no-scrollbar {
153
+ scrollbar-width: none;
154
+ }
155
+
156
+ #slm-alert-scroll div.slm-alert-detail {
157
+ display: -webkit-box;
158
+ -webkit-line-clamp: 4;
159
+ -webkit-box-orient: vertical;
160
+ overflow: hidden;
161
+ margin: 15px;
162
+ opacity: 0.5;
163
+ }
164
+
165
+ .slm-alert-notice {
166
+ border-color: #12CAF0 !important;
167
+ color: #12CAF0 !important;
168
+ }
169
+ .btn.slm-alert-notice:hover {
170
+ background-color: #12CAF0 !important;
171
+ color: white !important;
172
+ }
173
+
174
+ .slm-alert-warning {
175
+ border-color: #E3AA00 !important;
176
+ color: #E3AA00 !important;
177
+ }
178
+ .btn.slm-alert-warning:hover {
179
+ background-color: #E3AA00 !important;
180
+ color: white !important;
181
+ }
182
+
183
+ .slm-alert-error {
184
+ border-color: #DD3444 !important;
185
+ color: #DD3444 !important;
186
+ }
187
+
188
+ .btn.slm-alert-error:hover {
189
+ background-color: #DD3444 !important;
190
+ color: white !important;
191
+ }
192
+
193
+ .slm-alert-item {
194
+ position: relative;
195
+ display: block;
196
+ padding: 0.5rem 1rem;
197
+ color: #212529;
198
+ text-decoration: none;
199
+ background-color: #fff;
200
+ border-left: 1px solid #212529;
201
+ border-left-width: 0.5rem;
202
+ border-radius: 0.5rem;
203
+ }
204
+ .slm-alert-item:hover {
205
+ background-color: ghostwhite;
206
+ }
207
+
208
+ .slm-alert-item .slm-alert-header a {
209
+ color: #0f0f0f;
210
+ text-decoration: none;
211
+ }
212
+ .slm-alert-item .slm-alert-header a:hover {
213
+ text-decoration: underline;
214
+ }
215
+
216
+ .slm-alert-close {
217
+ position: absolute;
218
+ top: 8px;
219
+ right: 16px;
220
+ font-size: 18px;
221
+ }
222
+ .slm-alert-close:hover .bi-trash3:before {
223
+ content: "\F78A";
224
+ }
225
+
226
+ .slm-alert-close {
227
+ position: absolute;
228
+ bottom: 8px;
229
+ right: 16px;
230
+ font-size: 18px;
231
+ }
232
+ .slm-alert-time {
233
+ position: absolute;
234
+ bottom: 8px;
235
+ right: 16px;
236
+ font-size: 14px;
237
+ color: #0f0f0f;
238
+ }
239
+
240
+ .slm-log-item {
241
+ position: relative;
242
+ display: block;
243
+ padding: 0.5rem 1rem;
244
+ color: #212529;
245
+ text-decoration: none;
246
+ background-color: #fff;
247
+ border-left: 1px solid #212529;
248
+ border-left-width: 0.5rem;
249
+ border-radius: 0.5rem;
250
+ cursor: pointer;
251
+ }
252
+ .slm-log-scroll {
253
+ overflow-y: auto;
254
+ }
255
+ .slm-log-item a {
256
+ text-decoration: none;
257
+ color: initial;
258
+ }
259
+ .slm-log-item a:hover {
260
+ text-decoration: underline;
261
+ }
262
+
263
+
264
+
265
+ /*------- Agency Header CSS -------*/
266
+ header.slm-agency, .slm-agency a {
267
+ background-color: #175A7D;
268
+ color: ghostwhite;
269
+ }
270
+
271
+
272
+
273
+ /*------- Station Location CSS -------*/
274
+ img.slm-station-location {
275
+ width: 100%;
276
+ height: 100%;
277
+ background: url(http://goo.gl/vyAs27) no-repeat scroll 0 0;
278
+ }
279
+
280
+
281
+
282
+ /*------- Background CSS -------*/
283
+ .bg-igs-blue {
284
+ background-color: #051C2C;
285
+ }
286
+ .bg-white {
287
+ background-color: white;
288
+ }
289
+ .modal-backdrop {
290
+ background-color: rgba(0, 0, 0, 0.5);
291
+ }
292
+
293
+
294
+
295
+ /*------- Form CSS -------*/
296
+ .form-label {
297
+ margin-bottom: 0rem;
298
+ }
299
+ .input-group {
300
+ width: 50%;
301
+ }
302
+ .form-control, .input-group-text {
303
+ border: 1px solid #545454;
304
+ }
305
+ .accordion-button:not(.collapsed) {
306
+ color: white;
307
+ background-color: #175A7D
308
+ }
309
+ .slm-form-error {
310
+ padding: 7px;
311
+ }
312
+ .slm-form-fieldset {
313
+ margin-top: 5px;
314
+ margin-bottom: 5px;
315
+ }
316
+ fieldset.slm-form-group {
317
+ border: 1px groove #ddd !important;
318
+ padding: 0 1.4em 1.4em 1.4em !important;
319
+ margin: 0 0 1.5em 0 !important;
320
+ -webkit-box-shadow: 0 0 0 0 #000;
321
+ box-shadow: 0 0 0 0 #000;
322
+ }
323
+ fieldset.slm-form-group > legend {
324
+ width:inherit; /* Or auto */
325
+ padding:0 10px; /* To give a bit of padding on the left and right */
326
+ border-bottom:none;
327
+ float: none;
328
+ }
329
+
330
+
331
+
332
+ /*------- Station/File List CSS -------*/
333
+ #slm-station-list,
334
+ #slm-file-list {
335
+ justify-content: flex-start;
336
+ align-items: flex-start;
337
+ }
338
+ #slm-station-list button,
339
+ #slm-file-list button {
340
+ height: fit-content;
341
+ width: 100%;
342
+ text-align: left;
343
+ background-color: transparent;
344
+ color: black;
345
+ font-size: large;
346
+ margin-top: 3px;
347
+ }
348
+ #slm-file-list button > i {
349
+ font-size: 20px;
350
+ margin-right: 5px;
351
+ }
352
+ #slm-file-list button {
353
+ overflow: hidden;
354
+ white-space: nowrap;
355
+ text-overflow: ellipsis;
356
+ }
357
+ #slm-station-list button.active,
358
+ #slm-station-list button:hover,
359
+ #slm-file-list button.active,
360
+ #slm-file-list button:hover {
361
+ background-color: #175A7D;
362
+ color: ghostwhite;
363
+ }
364
+ #slm-station-container {
365
+ background-color: ghostwhite;
366
+ }
367
+ .slm-scroll-container {
368
+ position: -webkit-sticky; /* Safari */
369
+ position: sticky;
370
+ top: 0;
371
+ }
372
+ #slm-form-menu {
373
+ position: -webkit-sticky; /* Safari */
374
+ position: sticky;
375
+ top: 0;
376
+ margin-bottom: 20px;
377
+ }
378
+ #file-actions > button {
379
+ margin-right: 5px;
380
+ }
381
+
382
+
383
+
384
+ /*------- Validation CSS -------*/
385
+ /* this needs major cleanup */
386
+ .row.is-invalid.slm-form-unpublished {
387
+ border: none;
388
+ background-image: none;
389
+ padding-left: 0;
390
+ padding-right: 0;
391
+ }
392
+ .row.is-invalid {
393
+ border: none;
394
+ background-image: none;
395
+ padding-left: 0;
396
+ padding-right: 0;
397
+ }
398
+
399
+ .row.slm-widget-container.is-invalid.slm-form-unpublished {
400
+ border: 1px solid #0079AD;
401
+ background-image: none;
402
+ padding-left: 5px;
403
+ padding-right: 5px;
404
+ margin-left: 0;
405
+ margin-right: 0;
406
+ }
407
+ .row.slm-widget-container.is-invalid {
408
+ border: 1px solid red;
409
+ background-image: none;
410
+ padding-left: 5px;
411
+ padding-right: 5px;
412
+ margin-left: 0;
413
+ margin-right: 0;
414
+ }
415
+
416
+ .is-invalid.slm-form-unpublished {
417
+ /*border-color: #ffecb5;*/
418
+ border-color: #0079AD;
419
+ background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%230084BD'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23d89133' stroke='none'/%3e%3c/svg%3e");
420
+ }
421
+ .invalid-feedback.slm-form-unpublished {
422
+ /*color: #ffecb5;*/
423
+ color: #0079AD;
424
+ }
425
+ .was-validated .form-control.slm-form-unpublished:invalid:focus, .form-control.is-invalid.slm-form-unpublished:focus {
426
+ border-color: #0079AD;
427
+ box-shadow: 0 0 0 0.25rem #0079AD5F;
428
+ }
429
+ .alert-warning.slm-form-unpublished,
430
+ .alert-warning.slm-form-deleted {
431
+ border-color: #0079AD;
432
+ background-color: #e6f7ff;
433
+ color: #0079AD;
434
+ }
435
+
436
+
437
+ /*------- Flag CSS -------*/
438
+ .slm-flag-error {
439
+ font-size: large;
440
+ }
441
+ .slm-flag-error:hover {
442
+ color: #EB0000;
443
+ }
444
+ .slm-flag-error .bi-x-circle {
445
+ color: #EB0000;
446
+ }
447
+ .slm-flag-error > .bi + .bi,
448
+ .slm-flag-error:hover > .bi {
449
+ display: none;
450
+ }
451
+ .slm-flag-error:hover > .bi + .bi {
452
+ display: inherit;
453
+ }
454
+ .form-control.slm-flag-input {
455
+ margin-top: 5px;
456
+ background-color: #CD2026!important;
457
+ color: #F8F9FA;
458
+ }
459
+ .form-control.slm-flag-input:invalid:focus,
460
+ .form-control.slm-flag-input:focus {
461
+ border-color: darkred;
462
+ box-shadow: 0 0 0 0.1rem rgba(139, 0, 0, 1);
463
+ }
464
+ span.slm-parse-error {
465
+ color: white;
466
+ }
467
+
468
+
469
+
470
+ /*------- SLM Loader CSS -------*/
471
+ .slm-loader {
472
+ border: 6px solid #f3f3f3; /* Light grey */
473
+ border-top: 6px solid #175A7D; /* Blue */
474
+ border-radius: 50%;
475
+ width: 40px;
476
+ height: 40px;
477
+ animation: spin 1s linear infinite;
478
+ }
479
+ @keyframes spin {
480
+ 0% { transform: rotate(0deg); }
481
+ 100% { transform: rotate(360deg); }
482
+ }
483
+
484
+
485
+
486
+ /*------- SLM Status Colors CSS -------*/
487
+ /* Status Background Color*/
488
+
489
+ /* Actvity Log Item Border Colors */
490
+ .slm-log-delete {
491
+ border-left-color: #D3D3D3;
492
+ }
493
+ .slm-log-revert {
494
+ border-left-color: #eb9e34;
495
+ }
496
+ .slm-log-attachment-deleted,
497
+ .slm-log-image-deleted {
498
+ border-left-color: #EB0000;
499
+ }
500
+ .slm-log-add,
501
+ .slm-log-update {
502
+ border-left-color: #0079AD;
503
+ }
504
+ .slm-log-image-published,
505
+ .slm-log-attachment-published,
506
+ .slm-log-publish {
507
+ border-left-color: #0D820D;
508
+ }
509
+ .slm-log-image-unpublished,
510
+ .slm-log-attachment-unpublished {
511
+ border-left-color: #0079AD;
512
+ }
513
+ .slm-log-site-proposed {
514
+ border-left-color: #913D88;
515
+ }
516
+ .slm-log-log-upload {
517
+ border-left-color: #006EDB;
518
+ }
519
+ .slm-log-image-upload {
520
+ border-left-color: darkblue;
521
+ }
522
+ .slm-log-attachment-upload {
523
+ border-left-color: darkblue;
524
+ }
525
+ /* Download Tab Icons Colors */
526
+ .slm-modified {
527
+ color: #0079AD;
528
+ }
529
+ .slm-published {
530
+ color: green;
531
+ }
532
+ .slm-log-item:hover {
533
+ background-color: ghostwhite;
534
+ }
535
+
536
+
537
+
538
+ /*------- Badge Colors CSS -------*/
539
+ span.badge.slm-log-add,
540
+ span.badge.slm-log-update {
541
+ background-color: #0079AD;
542
+ color: white;
543
+ }
544
+ span.badge.slm-log-image-published,
545
+ span.badge.slm-log-attachment-published,
546
+ span.badge.slm-log-publish {
547
+ background-color: green;
548
+ color: white;
549
+ }
550
+
551
+ span.badge.slm-log-attachment-unpublished,
552
+ span.badge.slm-log-image-unpublished {
553
+ background-color: #0079AD;
554
+ color: white;
555
+ }
556
+ span.badge.slm-log-site-proposed {
557
+ background-color: #913D88;
558
+ color: white;
559
+ }
560
+ span.badge.slm-log-delete {
561
+ background-color: #D3D3D3;
562
+ color: black;
563
+ }
564
+ span.badge.slm-log-revert {
565
+ background-color: #eb9e34;
566
+ color: white;
567
+ }
568
+ span.badge.slm-log-attachment-deleted,
569
+ span.badge.slm-log-image-deleted {
570
+ background-color: #EB0000;
571
+ color: white;
572
+ }
573
+ span.badge.slm-log-log-upload {
574
+ background-color: #006EDB;
575
+ color: white;
576
+ }
577
+ span.badge.slm-log-image-upload {
578
+ background-color: darkblue;
579
+ color: white;
580
+ }
581
+ span.badge.slm-log-attachment-upload {
582
+ background-color: darkblue;
583
+ color: white;
584
+ }
585
+ /* Badge Color for Upload Tab */
586
+ .slm-files-badge {
587
+ background-color: #0079AD;
588
+ }
589
+
590
+
591
+
592
+ /*------- Upload widget CSS -------*/
593
+ /* Upload widget custom CSS */
594
+ i.bi.bi-cloud-arrow-up {
595
+ font-size: 60px;
596
+ color: #9D9D9D;
597
+ }
598
+ .dropzone {
599
+ border: none !important;
600
+ border-radius: 16px;
601
+ background-image: url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='16' ry='16' stroke='%239D9D9DFF' stroke-width='4' stroke-dasharray='21%2c 16' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e") !important;
602
+ }
603
+ .dropzone .dz-message {
604
+ text-align: center;
605
+ margin: 10% 5% !important;
606
+ }
607
+ .dz-message:hover {
608
+ color: #175A7D !important;
609
+ }
610
+
611
+
612
+
613
+ /*------- Button/Icon/Accordion CSS -------*/
614
+ /* Bootstrap Buttons */
615
+ .btn-primary {
616
+ color: #fff;
617
+ background-color: #185A7D;
618
+ }
619
+ .btn:hover {
620
+ color: #fff;
621
+ }
622
+
623
+ button.nav-link {
624
+ margin-left: 5px;
625
+ margin-top: 3px;
626
+ }
627
+ /* Filter Button */
628
+ .btn-outline-primary {
629
+ color: #185A7D;
630
+ border-color: #185A7D;
631
+ }
632
+ /* Removes default button border/bg color for help popover */
633
+ .icon {
634
+ background-color: #fff;
635
+ border: none;
636
+ padding: 0;
637
+ }
638
+ /* Removes bootstrap accordion arrows */
639
+ .accordion-button:after {
640
+ display: none;
641
+ }
642
+ /* Adds border to empty icon in legend */
643
+ .bi-square-fill::before {
644
+ border: 1px solid #000;
645
+ border-radius: 4px;
646
+ }
647
+ /* Increases size of tooltip icon */
648
+ [type=button] .bi-question-circle {
649
+ font-size: 24px;
650
+ }
651
+ /* Subsection CSS */
652
+ button.slm-subsection > .slm-effective {
653
+ vertical-align: middle;
654
+ float:right;
655
+ content: "";
656
+ position:absolute;
657
+ right:20px;
658
+ top:35%;
659
+ }
660
+ button.slm-subsection {
661
+ display:block;
662
+ text-align:left;
663
+ overflow:hidden;
664
+ position:relative;
665
+ }
666
+ /* Button Status CSS */
667
+ button.slm-status-updated,
668
+ button.nav-link.slm-status-updated {
669
+ border-left: 10px solid #0079AD;
670
+ border-bottom-left-radius: 10px;
671
+ border-top-left-radius: 10px;
672
+ }
673
+ button.slm-status-updated.slm-section-deleted {
674
+ border-left: 10px solid #d3d3d3;
675
+ }
676
+ form.slm-section-deleted input.slm-flag-input {
677
+ opacity: 0.5;
678
+ }
679
+ button.slm-status-updated span.section-number {
680
+ background-color: #0079AD;
681
+ color: whitesmoke;
682
+ }
683
+ button.slm-status-published,
684
+ button.nav-link.slm-status-published {
685
+ border-left: 10px solid #0D820D;
686
+ border-bottom-left-radius: 10px;
687
+ border-top-left-radius: 10px;
688
+ }
689
+ button.slm-status-published span.section-number {
690
+ background-color: #0D820D;
691
+ color: whitesmoke;
692
+ }
693
+ button.slm-status-in-review,
694
+ button.nav-link.slm-status-in-review {
695
+ border-left: 10px solid #0079AD;
696
+ border-bottom-left-radius: 10px;
697
+ border-top-left-radius: 10px;
698
+ }
699
+ button.slm-status-in-review span.section-number {
700
+ background-color: #0079AD;
701
+ color: whitesmoke;
702
+ }
703
+ button.slm-status-proposed,
704
+ button.nav-link.slm-status-proposed {
705
+ border-left: 10px solid #913D88;
706
+ border-bottom-left-radius: 10px;
707
+ border-top-left-radius: 10px;
708
+ }
709
+ button.slm-status-proposed span.section-number {
710
+ background-color: #913D88;
711
+ color: whitesmoke;
712
+ }
713
+ button.slm-status-former,
714
+ button.nav-link.slm-status-former {
715
+ border-left: 10px solid #3D4543;
716
+ border-bottom-left-radius: 10px;
717
+ border-top-left-radius: 10px;
718
+ }
719
+ button.slm-status-former span.section-number {
720
+ background-color: #3D4543;
721
+ color: whitesmoke;
722
+ }
723
+ button.slm-status-suspended,
724
+ button.nav-link.slm-status-suspended {
725
+ border-left: 10px solid #E0041A;
726
+ border-bottom-left-radius: 10px;
727
+ border-top-left-radius: 10px;
728
+ }
729
+ button.slm-status-suspended span.section-number {
730
+ background-color: #E0041A;
731
+ color: whitesmoke;
732
+ }
733
+ button.slm-status-empty,
734
+ button.nav-link.slm-status-empty {
735
+ border-left: 10px solid #d3d3d3;
736
+ border-bottom-left-radius: 10px;
737
+ border-top-left-radius: 10px;
738
+ }
739
+ button.slm-status-empty span.section-number {
740
+ background-color: #d3d3d3;
741
+ color: black;
742
+ }
743
+ /* Upload Buttons CSS */
744
+ button.slm-upload-unpublished,
745
+ button.nav-link.slm-upload-unpublished {
746
+ border-left: 10px solid #0079AD;
747
+ border-bottom-left-radius: 10px;
748
+ border-top-left-radius: 10px;
749
+ }
750
+ button.slm-upload-published,
751
+ button.nav-link.slm-upload-published {
752
+ border-left: 10px solid #0D820D;
753
+ border-bottom-left-radius: 10px;
754
+ border-top-left-radius: 10px;
755
+ }
756
+ button.slm-upload-invalid,
757
+ button.nav-link.slm-upload-invalid {
758
+ border-left: 10px solid #8b0000;
759
+ border-bottom-left-radius: 10px;
760
+ border-top-left-radius: 10px;
761
+ }
762
+ button.slm-upload-warnings,
763
+ button.nav-link.slm-upload-warnings {
764
+ border-left: 10px solid darkorange;
765
+ border-bottom-left-radius: 10px;
766
+ border-top-left-radius: 10px;
767
+ }
768
+ button.slm-upload-valid,
769
+ button.nav-link.slm-upload-valid {
770
+ border-left: 10px solid #0D820D;
771
+ border-bottom-left-radius: 10px;
772
+ border-top-left-radius: 10px;
773
+ }
774
+ /* Accordion CSS */
775
+ .accordion,
776
+ .accordion-item,
777
+ .accordion-item:first-of-type,
778
+ .accordion-header {
779
+ border-bottom-left-radius: 10px;
780
+ border-top-left-radius: 10px;
781
+ }
782
+
783
+
784
+ span.autocomplete-match { font-weight: normal; color: #3399FF; }
785
+
786
+
787
+ /***************************************************/
788
+ /* styling to make custom 24 hour time widget work */
789
+ fieldset.time-24hr:disabled * {
790
+ pointer-events: none;
791
+ user-select: none;
792
+ }
793
+ fieldset.time-24hr:disabled > div {
794
+ background-color: #E9ECEF;
795
+ }
796
+
797
+ fieldset.time-24hr {
798
+ position: relative;
799
+ }
800
+ div.time-select {
801
+ border: 1px solid rgba(0,0,0,0.2);
802
+ background-color: white;
803
+ box-shadow: 0 2px 10px 2px rgba(0,0,0,0.2);
804
+ padding: 5px;
805
+ position: absolute;
806
+ top: 38px;
807
+ left: 0;
808
+ z-index: 99;
809
+ }
810
+
811
+ div.time-select > div::-webkit-scrollbar {
812
+ display: none;
813
+ }
814
+ div.time-select > div {
815
+ scrollbar-width: none;
816
+ }
817
+
818
+ div.time-select span {
819
+ height: 40px;
820
+ width: 55px;
821
+ cursor: default;
822
+ display: inline-block;
823
+ text-align: center;
824
+ line-height: 40px;
825
+ font-size: 14px;
826
+ }
827
+
828
+ div.time-select span:hover {
829
+ background-color: rgb(192, 214, 252);
830
+ }
831
+
832
+ div.time-select span.time-set {
833
+ background-color: rgb(20, 106, 245);
834
+ color: white;
835
+ font-weight: bold;
836
+ }
837
+
838
+ span.time-selected {
839
+ border: 2px solid black;
840
+ }
841
+ /***************************************************/
842
+
843
+
844
+
845
+ /*------- Messages CSS -------*/
846
+ div.messages > div {
847
+ border: 1px solid black;
848
+ width: 75%;
849
+ padding: 15px;
850
+ }
851
+
852
+ div.messages > div.info {
853
+ border-color: #0079AD;
854
+ background-color: #0079AD6F;
855
+ }
856
+
857
+
858
+ fieldset.autocomplete {
859
+ padding: 0;
860
+ border: none;
861
+ }
862
+ fieldset.autocompleteselectmultiple,
863
+ fieldset.autocompleteenumselectmultiple {
864
+ padding: 0;
865
+ border: none;
866
+ }
867
+
868
+ div.autocomplete-selection {
869
+ background-color: royalblue;
870
+ color: whitesmoke;
871
+ padding: 5px 10px 5px 10px;
872
+ border: 1px solid royalblue;
873
+ border-radius: 5px;
874
+ width: fit-content;
875
+ margin: 5px;
876
+ text-align: center;
877
+ }
878
+
879
+ fieldset[name=country] div.autocomplete-selection {
880
+ background-color: transparent;
881
+ color: initial;
882
+ padding: 5px 10px 5px 10px;
883
+ border: 1px solid royalblue;
884
+ border-radius: 5px;
885
+ width: fit-content;
886
+ margin: 5px;
887
+ text-align: center;
888
+ }
889
+
890
+ div.autocomplete-selection span:last-child {
891
+ margin-left: 10px;
892
+ vertical-align: middle;
893
+ }
894
+ div.autocomplete-selection span:after {
895
+ content: " ";
896
+ white-space: pre;
897
+ }
898
+
899
+ div.autocomplete-selection span:last-child:before {
900
+ font-family: 'Bootstrap-icons';
901
+ content: '\F623';
902
+ }
903
+ div.autocomplete-selection span:last-child:hover:before {
904
+ font-family: 'Bootstrap-icons';
905
+ cursor: pointer;
906
+ content: '\F622';
907
+ }
908
+
909
+ div span.fi {
910
+ margin-left: 0;
911
+ margin-right: 7px;
912
+ font-size: large;
913
+ }
914
+
915
+ div.ui-menu-item-wrapper > span.fi {
916
+ margin-right: 5px;
917
+ }
918
+
919
+ div.ui-menu-item-wrapper > span.matchable:after {
920
+ content: " ";
921
+ white-space: pre;
922
+ }
923
+
924
+ /* replace default crispy form required asterisk rendering */
925
+ span.asteriskField {
926
+ color: transparent;
927
+ }
928
+ span.asteriskField:after {
929
+ font-family: 'Bootstrap-icons';
930
+ color: red;
931
+ content: '\F151';
932
+ display: inline;
933
+ font-size: small;
934
+ }
935
+ /************************************************************/
936
+
937
+
938
+ #photo-container {
939
+ display: grid;
940
+ grid-template-columns: repeat(3, 1fr);
941
+ grid-gap: 1rem;
942
+ justify-content: center;
943
+ align-items: center;
944
+ padding: 20px;
945
+ }
946
+
947
+ #photo-container.card {
948
+ background: whitesmoke;
949
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px;
950
+ color: #333333;
951
+ border-radius: 2px;
952
+ }
953
+
954
+ #photo-container .card .card-image {
955
+ background: whitesmoke;
956
+ display: block;
957
+ padding-top: 70%;
958
+ position: relative;
959
+ width: 100%;
960
+ }
961
+
962
+ #photo-container .card .card-image img {
963
+ display: block;
964
+ position: absolute;
965
+ top: 0;
966
+ left: 0;
967
+ width: 100%;
968
+ height: 100%;
969
+ object-fit: cover;
970
+ }
971
+
972
+ @media only screen and (max-width: 600px) {
973
+ #photo-container {
974
+ display: grid;
975
+ grid-template-columns: 1fr;
976
+ grid-gap: 1rem;
977
+ }
978
+ }
979
+
980
+ span.section-number {
981
+ display: inline-block;
982
+ background-color: #d3d3d3; /* Green background */
983
+ border: 1px solid black;
984
+ color: black; /* White text color */
985
+ text-align: center; /* Centered text */
986
+ border-radius: 4px; /* Slightly rounded corners */
987
+ font-weight: bold; /* Bold text */
988
+ font-size: small;
989
+ margin-right: 10px;
990
+ padding: 0 10px 0 10px;
991
+ }
992
+
993
+ div[disabled] {
994
+ background-color: #E9ECEF;
995
+ }
996
+ textarea[name="custom_graphic"] {
997
+ font-family: "Lucida Console", Courier, monospace;
998
+ }
999
+
1000
+ @media only screen and (max-width: 1920px) {
1001
+ textarea[name="custom_graphic"] {
1002
+ font-size: small;
1003
+ }
1004
+ }