mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-05 21:39:19 +08:00
39 lines
1.5 KiB
HTML
39 lines
1.5 KiB
HTML
|
<!DOCTYPE html>
|
||
|
<html lang="en">
|
||
|
<head>
|
||
|
<meta charset="utf-8">
|
||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||
|
<title>Service Available</title>
|
||
|
<meta name="description" content="Milvus Management WebUI">
|
||
|
<link href="./static/css/bootstrap.min.css" rel="stylesheet">
|
||
|
<link href="./static/css/style.css" rel="stylesheet">
|
||
|
<script src="./static/js/jquery.min.js"></script>
|
||
|
<script src="./static/js/bootstrap.min.js"></script>
|
||
|
<script src="./static/js/bootstrap.bundle.min.js"></script>
|
||
|
<script src="./static/js/scripts.js"></script>
|
||
|
<script>
|
||
|
function getQueryParams() {
|
||
|
const params = {};
|
||
|
const queryString = window.location.search.substring(1);
|
||
|
const queryArray = queryString.split('&');
|
||
|
queryArray.forEach(param => {
|
||
|
const [key, value] = param.split('=');
|
||
|
params[decodeURIComponent(key)] = decodeURIComponent(value || '');
|
||
|
});
|
||
|
return params;
|
||
|
}
|
||
|
|
||
|
document.addEventListener("DOMContentLoaded", function() {
|
||
|
const params = getQueryParams();
|
||
|
const errorMessage = params.error || 'No error message available.';
|
||
|
document.getElementById('error-message').innerText = errorMessage;
|
||
|
});
|
||
|
</script>
|
||
|
</head>
|
||
|
<body>
|
||
|
<h1>Service Unavailable</h1>
|
||
|
<p id="error-message"></p>
|
||
|
<p>Please try again later.</p>
|
||
|
</body>
|
||
|
</html>
|