# HG changeset patch # User Sebastien Jodogne # Date 1734439015 -3600 # Node ID d2e9b09fa717baac5329641f2a1b34fe46ee2bf7 # Parent 900e29a3d93692d4b4cd112277fd9257efa4099e upgraded to Bootstrap 5.3.3 diff -r 900e29a3d936 -r d2e9b09fa717 NEWS --- a/NEWS Tue Dec 17 12:49:13 2024 +0100 +++ b/NEWS Tue Dec 17 13:36:55 2024 +0100 @@ -11,6 +11,7 @@ * Added support for Orthanc running in "ReadOnly" mode * Fix handling of revisions for cached data * Removed dependency on bootstrap-vue +* Upgraded to Bootstrap 5.3.3 Version 1.17 (2024-06-05) diff -r 900e29a3d936 -r d2e9b09fa717 Resources/CMake/JavaScriptLibraries.cmake --- a/Resources/CMake/JavaScriptLibraries.cmake Tue Dec 17 12:49:13 2024 +0100 +++ b/Resources/CMake/JavaScriptLibraries.cmake Tue Dec 17 13:36:55 2024 +0100 @@ -21,14 +21,10 @@ set(BASE_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads") -DownloadFile( - "2c872dbe60f4ba70fb85356113d8b35e" - "${BASE_URL}/jquery-3.7.1.min.js") - DownloadPackage( - "da0189f7c33bf9f652ea65401e0a3dc9" - "${BASE_URL}/dicom-web/bootstrap-4.3.1.zip" - "${CMAKE_CURRENT_BINARY_DIR}/bootstrap-4.3.1") + "102a4386a022f26a3b604e3852fffba8" + "${BASE_URL}/bootstrap-5.3.3.zip" + "${CMAKE_CURRENT_BINARY_DIR}/bootstrap-5.3.3") DownloadPackage( "8242afdc5bd44105d9dc9e6535315484" @@ -81,17 +77,16 @@ ${BABEL_POLYFILL_SOURCES_DIR}/polyfill.min.js ${CMAKE_CURRENT_BINARY_DIR}/axios-0.19.0/dist/axios.min.js ${CMAKE_CURRENT_BINARY_DIR}/axios-0.19.0/dist/axios.min.map - ${CMAKE_CURRENT_BINARY_DIR}/bootstrap-4.3.1/dist/js/bootstrap.min.js + ${CMAKE_CURRENT_BINARY_DIR}/bootstrap-5.3.3/dist/js/bootstrap.min.js ${CMAKE_CURRENT_BINARY_DIR}/vue-2.6.10/dist/vue.min.js - ${CMAKE_SOURCE_DIR}/ThirdPartyDownloads/jquery-3.7.1.min.js DESTINATION ${JAVASCRIPT_LIBS_DIR}/js ) file(COPY ${CMAKE_CURRENT_BINARY_DIR}/Font-Awesome-4.7.0/css/font-awesome.min.css - ${CMAKE_CURRENT_BINARY_DIR}/bootstrap-4.3.1/dist/css/bootstrap.min.css - ${CMAKE_CURRENT_BINARY_DIR}/bootstrap-4.3.1/dist/css/bootstrap.min.css.map + ${CMAKE_CURRENT_BINARY_DIR}/bootstrap-5.3.3/dist/css/bootstrap.min.css + ${CMAKE_CURRENT_BINARY_DIR}/bootstrap-5.3.3/dist/css/bootstrap.min.css.map DESTINATION ${JAVASCRIPT_LIBS_DIR}/css ) diff -r 900e29a3d936 -r d2e9b09fa717 WebApplication/app.js --- a/WebApplication/app.js Tue Dec 17 12:49:13 2024 +0100 +++ b/WebApplication/app.js Tue Dec 17 13:36:55 2024 +0100 @@ -109,7 +109,7 @@ window.scrollTo(0, element.offsetTop); }, ShowErrorModal: function() { - $(app.$refs['modal-error']).modal(); + bootstrap.Modal.getOrCreateInstance('#modal-error').show(); }, RefreshJobDetails: function() { axios @@ -201,8 +201,8 @@ item['Tag'] = i; return item; }); - - $(app.$refs['study-details']).modal(); + + bootstrap.Modal.getOrCreateInstance('#study-details').show(); }, RetrieveStudy: function(study) { var base = '../../servers/'; @@ -214,13 +214,13 @@ app.jobLevel = 'study'; app.jobId = response.data.ID; app.jobUri = base + response.data.Path; - $(app.$refs['retrieve-job']).modal(); + bootstrap.Modal.getOrCreateInstance('#retrieve-job').show(); app.RefreshJobDetails(); }); }, ConfirmDeleteStudy: function(study) { app.studyToDelete = study; - $(app.$refs['study-delete-confirm']).modal(); + bootstrap.Modal.getOrCreateInstance('#study-delete-confirm').show(); }, ExecuteDeleteStudy: function(study) { axios @@ -266,7 +266,7 @@ return item; }); - $(app.$refs['series-details']).modal(); + bootstrap.Modal.getOrCreateInstance('#series-details').show(); }, RetrieveSeries: function(series) { var base = '../../servers/'; @@ -279,7 +279,7 @@ app.jobLevel = 'series'; app.jobId = response.data.ID; app.jobUri = base + response.data.Path; - $(app.$refs['retrieve-job']).modal(); + bootstrap.Modal.getOrCreateInstance('#retrieve-job').show(); app.RefreshJobDetails(); }); }, @@ -313,13 +313,13 @@ app.previewFailure = true; }) .finally(function() { - $(app.$refs['series-preview']).modal(); + bootstrap.Modal.getOrCreateInstance('#series-preview').show(); }) }) }, ConfirmDeleteSeries: function(series) { app.seriesToDelete = series; - $(app.$refs['series-delete-confirm']).modal(); + bootstrap.Modal.getOrCreateInstance('#series-delete-confirm').show(); }, ExecuteDeleteSeries: function(series) { axios diff -r 900e29a3d936 -r d2e9b09fa717 WebApplication/index.html --- a/WebApplication/index.html Tue Dec 17 12:49:13 2024 +0100 +++ b/WebApplication/index.html Tue Dec 17 13:36:55 2024 +0100 @@ -30,7 +30,7 @@

-
+

DICOMweb client

@@ -62,14 +62,12 @@
-