Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(helm): Adds 2 hour cache limit to 503 page #413

Merged
merged 1 commit into from
Oct 3, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 37 additions & 17 deletions helm/config/error503.html
Original file line number Diff line number Diff line change
@@ -1,24 +1,44 @@
<!DOCTYPE html>
<html>
<head>
<title>NGEE-Tropics Archive Service -- Down For Maintenance</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style>
h1 { font-size: 50px; }
body { text-align:center; font: 20px Helvetica, sans-serif; color: #333; }
#email { color:darkgreen;font-weight:bold }
</style>
</head>
<body>
<h1> NGEE-Tropics Data Service</h1>
<h2>Down For Maintenance</h2>
<p>Sorry for the inconvenience, but we are performing a maintenance at the moment.</p>
<p>We will be back online shortly!</p>
<p>For questions contact:
<span style="color:darkgreen;font-style:italic">
<head>

<title>NGEE-Tropics Archive Service -- Down For Maintenance</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script>
let dt = new Date();
dt.setHours(dt.getHours() + 2);
var link = document.createElement('meta');
link.setAttribute('name', 'expires');
link.content = dt.toLocaleTimeString();
document.getElementsByTagName('head')[0].appendChild(link);
</script>
<style>
h1 {
font-size: 50px;
}

body {
text-align: center;
font: 20px Helvetica, sans-serif;
color: #333;
}

#email {
color: darkgreen;
font-weight: bold
}
</style>
</head>
<body>
<h1> NGEE-Tropics Data Service</h1>
<h2>Down For Maintenance</h2>
<p>Sorry for the inconvenience, but we are performing a maintenance at te moment.</p>
<p>We will be back online shortly!</p>
<p>For questions contact:
<span style="color:darkgreen;font-style:italic">
<span id="email">ngee-tropics-archive</span> at
<span id="email">lbl</span> dot
<span id="email">gov</span>
</span></p>
</body>
</body>
</html>