mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Center divs
This commit is contained in:
@@ -1,13 +1,16 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en-US">
|
|
||||||
<head>
|
<head>
|
||||||
<body>
|
<body>
|
||||||
<meta http-equiv="refresh" content="20"/>
|
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width">
|
||||||
<img style="width: 150px; height: auto;" src="https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/docs/images/logo/logo.png">
|
<img style="width: 150px; height: auto;" src="https://raw.githubusercontent.com/jupyterhub/the-littlest-jupyterhub/master/docs/images/logo/logo.png">
|
||||||
<div class="loader"></div>
|
<div class="loader center"></div>
|
||||||
<div class="message">Please wait while your TLJH is building...</div>
|
<div class="center" style="font-size: 30px; font-weight: bold; color: grey; text-align:center;">Please wait while your TLJH is building...</div>
|
||||||
<div class="logs_info">Click the button below to see the logs</div>
|
<div class="center" style="font-size: 15px; color: grey;">Click the button below to see the logs</div>
|
||||||
<button class="logs_button" onclick="window.location.href='/logs'">View logs</button>
|
<button class="logs-button center" onclick="window.location.href='/logs'">View logs</button>
|
||||||
|
<script type="text/javascript">
|
||||||
|
setInterval('window.location.reload()', 10000);
|
||||||
|
</script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
@@ -15,19 +18,22 @@
|
|||||||
background: grey;
|
background: grey;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message {
|
.center {
|
||||||
position: absolute;
|
margin: 0 auto;
|
||||||
top: 35%;
|
margin-top: 50px;
|
||||||
left: 30%;
|
text-align:center;
|
||||||
font-size: 30px;
|
display: block;
|
||||||
font-weight: bold;
|
}
|
||||||
color: grey;
|
.logs-button {
|
||||||
}
|
margin-top:15px;
|
||||||
|
border: 0;
|
||||||
|
color: white;
|
||||||
|
padding: 15px 32px;
|
||||||
|
font-size: 16px;
|
||||||
|
cursor: pointer;
|
||||||
|
background: #f5a252;
|
||||||
|
}
|
||||||
.loader {
|
.loader {
|
||||||
position: absolute;
|
|
||||||
top: 11%;
|
|
||||||
left: 46%;
|
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 150px;
|
height: 150px;
|
||||||
border-radius: 90%;
|
border-radius: 90%;
|
||||||
@@ -45,23 +51,5 @@
|
|||||||
border-top-color: #fce5cf;
|
border-top-color: #fce5cf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.logs_info {
|
|
||||||
position: absolute;
|
|
||||||
top: 45%;
|
|
||||||
left: 42%;
|
|
||||||
font-size: 15px;
|
|
||||||
color: grey;
|
|
||||||
}
|
|
||||||
.logs_button {
|
|
||||||
position: absolute;
|
|
||||||
top: 50%;
|
|
||||||
left: 46%;
|
|
||||||
border: 0;
|
|
||||||
color: white;
|
|
||||||
padding: 15px 32px;
|
|
||||||
font-size: 16px;
|
|
||||||
cursor: pointer;
|
|
||||||
background: #f5a252;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|||||||
Reference in New Issue
Block a user