Skip to content
Snippets Groups Projects

Howto card on password from the internal repo

Merged Laurent Heirendt requested to merge (removed):include-pwd into develop
1 file
+ 23
1
Compare changes
  • Side-by-side
  • Inline
+ 23
1
<html>
<head>
<meta http-equiv="Refresh" content="0; url=https://r3.pages.uni.lu/labCards/stable" />
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script type="text/javascript">
function UrlExists(url, cb){
jQuery.ajax({
url: url,
dataType: 'text',
type: 'GET',
complete: function(xhr){
if(typeof cb === 'function')
cb.apply(this, [xhr.status]);
}
});
}
UrlExists('https://r3-core.pages.uni.lu/labCards/index.html', function(status){
if(status === 200){
// internal pages
window.location.href = 'https://r3-core.pages.uni.lu/labCards/stable';
} else {
// external pages
window.location.href = 'https://r3.pages.uni.lu/labCards/stable';
}
});
</script>
</head>
<body>
<p>
Loading