Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • develop
  • feature/arch_support
  • feature/global_refactoring
  • master
  • v1.0.0
5 results

Target

Select target project
  • exact/Rosetta
1 result
Select Git revision
  • develop
  • feature/arch_support
  • feature/global_refactoring
  • master
  • v1.0.0
5 results
Show changes
Commits on Source (2)
Showing
with 589 additions and 526 deletions
...@@ -44,3 +44,4 @@ class RosettaOIDCAuthenticationCallbackView(OIDCAuthenticationCallbackView): ...@@ -44,3 +44,4 @@ class RosettaOIDCAuthenticationCallbackView(OIDCAuthenticationCallbackView):
logger.debug('No cookie-based post login redirect found, redirecting to "%s"', self.success_url) logger.debug('No cookie-based post login redirect found, redirecting to "%s"', self.success_url)
return HttpResponseRedirect(self.success_url) return HttpResponseRedirect(self.success_url)
...@@ -1333,3 +1333,4 @@ class ImportRepositoryAPI(PrivateGETAPI): ...@@ -1333,3 +1333,4 @@ class ImportRepositoryAPI(PrivateGETAPI):
...@@ -626,3 +626,4 @@ class SlurmSSHClusterComputingManager(ClusterComputingManager, SSHComputingManag ...@@ -626,3 +626,4 @@ class SlurmSSHClusterComputingManager(ClusterComputingManager, SSHComputingManag
raise Exception(out.stderr) raise Exception(out.stderr)
else: else:
return out.stdout return out.stdout
...@@ -137,3 +137,4 @@ def private_view(wrapped_view): ...@@ -137,3 +137,4 @@ def private_view(wrapped_view):
response.set_cookie('post_login_redirect', request.build_absolute_uri()) response.set_cookie('post_login_redirect', request.build_absolute_uri())
return response return response
return private_view_wrapper return private_view_wrapper
...@@ -359,3 +359,4 @@ to provide help, news and informations on your deployment. Or you can just ignor ...@@ -359,3 +359,4 @@ to provide help, news and informations on your deployment. Or you can just ignor
base_path = '/shared/data/users/$SSH_USER', base_path = '/shared/data/users/$SSH_USER',
bind_path = '/storages/personal') bind_path = '/storages/personal')
...@@ -461,3 +461,4 @@ class Page(models.Model): ...@@ -461,3 +461,4 @@ class Page(models.Model):
@keyframes spin {
to {
transform: rotate(360deg);
}
}
#navigate-away-loader {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
background-color: rgba(0, 0, 0, 0.5);
z-index: 2000;
align-items: center;
justify-content: center;
color: white;
transition: opacity 0.4s ease-in-out;
visibility: hidden;
pointer-events: none;
display: flex;
& > svg {
animation: spin 1.5s infinite linear;
opacity: 0.5;
}
}
function showNavigationLoader() {
var navigationLoader = document.querySelector("#navigate-away-loader")
navigationLoader.style.visibility = "visible"
navigationLoader.style.opacity = 1
navigationLoader.style.pointerEvents = "all"
document.querySelector("#navigate-away-loader > svg").style.animation =
"spin 1.5s infinite linear"
}
function hideNavigationLoader() {
var navigationLoader = document.querySelector("#navigate-away-loader")
navigationLoader.style.visibility = "hidden"
navigationLoader.style.opacity = 0
navigationLoader.style.pointerEvents = "none"
}
window.addEventListener("beforeunload", function (e) {
showNavigationLoader()
return true
})
window.addEventListener("pageshow", function (e) {
hideNavigationLoader()
})
...@@ -178,3 +178,4 @@ ...@@ -178,3 +178,4 @@
...@@ -87,3 +87,4 @@ ...@@ -87,3 +87,4 @@
...@@ -283,3 +283,4 @@ function toggle_visibility(id) { ...@@ -283,3 +283,4 @@ function toggle_visibility(id) {
...@@ -49,3 +49,4 @@ ...@@ -49,3 +49,4 @@
</html> </html>