Skip to content
Merged
Show file tree
Hide file tree
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
60 changes: 34 additions & 26 deletions mdp-web/429_error.html
Original file line number Diff line number Diff line change
@@ -1,46 +1,54 @@
<!doctype html>
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml"
data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta charset="utf-8" />

<title>Hathi Trust Digital Library - Resource Unavailable</title>

<link rel="stylesheet" href="/common/firebird/dist/assets/index.css" />
<script type="module" src="/common/firebird/dist/assets/index.js"></script>
</head>

<body class="staticPage apps" style="opacity: 0; visibility: hidden;">

<body class="staticPage apps" style="opacity: 0; visibility: hidden">
<hathi-cookie-consent-banner></hathi-cookie-consent-banner>
<div id="skiplinks" class="visually-hidden-focusable" role="complementary" aria-label="Skip links">
<ul>
<li><a href="#main">Skip to main content</a></li>
</ul>
</div>
<div id="root">

<hathi-website-header data-prop-search-state="toggle" data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main-container error">

<div class="container mt-4">
<section class="m-3 col-md-6 bg-vaguely-faded">
<h1>Resource Temporarily Unavailable</h1>

<div class="alert alert-warning message_error rounded-4 mt-4">

<p>You have temporarily exceeded viewing limits. ___CHOKED_UNTIL___</p>
<p>Viewing limits protect HathiTrust resources from abuse and help ensure a consistent experience for everyone.</p>

<hathi-website-header data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main main-container error">
<div class="container error-wrapper">
<section class="d-flex flex-column">
<div class="d-flex flex-column message-wrapper">
<div class="d-flex flex-column-reverse gap-2">
<h1>Application error</h1>
<h2 class="text-uppercase error-code">Error: 429</h2>
</div>

<p class="error-message">We ran into an unexpected issue. Please try again later.</p>
</div>

<!-- PHOTOCOPIER_USAGE -->

<p><a class="btn btn-primary" href="__REQUEST_URL__">Reload Page</a></p>

<div class="d-flex flex-column gap-3 help-links">
<p>Here are a few links that may be helpful:</p>
<ul class="m-0 p-0 list-unstyled d-flex gap-3">
<li><a href="https://www.hathitrust.org">Home</a></li>
<li><a href="https://babel.hathitrust.org/cgi/ls?a=page&page=advanced">Advanced Search</a></li>
<li><a href="https://hathitrust.atlassian.net/servicedesk/customer/portals">Help Center</a></li>
<li>
<a href="#" data-hathi-trigger="hathi-feedback-form-modal" id="feedback-form">Report a Problem</a>
</li>
</ul>
</div>
<hathi-feedback-form-modal data-prop-form="error" data-prop-is-open="false"></hathi-feedback-form-modal>
</section>
</div>
</main>

<hathi-website-footer></hathi-website-footer>

</div>
</body>
</html>

68 changes: 36 additions & 32 deletions mdp-web/production_404.html
Original file line number Diff line number Diff line change
@@ -1,49 +1,53 @@
<!doctype html>
<html lang="en" xml:lang="en" xmlns= "http://www.w3.org/1999/xhtml" data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta charset="utf-8" />
<title>Not Found | Hathi Trust Digital Library</title>

<link rel="stylesheet" href="/common/firebird/dist/assets/index.css" />
<script type="module" src="/common/firebird/dist/assets/index.js"></script>

</head>

<body class="staticPage apps" style="opacity: 0; visibility: hidden;">

<body class="staticPage apps" style="opacity: 0; visibility: hidden">
<hathi-cookie-consent-banner></hathi-cookie-consent-banner>
<div id="skiplinks" class="visually-hidden-focusable" role="complementary" aria-label="Skip links">
<ul>
<li><a href="#main">Skip to main content</a></li>
</ul>
</div>
<div id="root">

<hathi-website-header data-prop-search-state="toggle" data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main-container error">

<div class="container mt-4">

<section class="m-3 col-md-6 bg-vaguely-faded">

<h1>This item does not exist.</h1>
<p>
We couldn't locate that item in the repository.
</p>

<p data-hathi-trigger="hathi-feedback-form-modal" id="feedback-form">
<button type="button" class="btn btn-primary"><span>Report the Problem</span></button>
</p>

<hathi-feedback-form-modal data-prop-form="error" data-prop-is-open="false"></hathi-feedback-form-modal">

<hathi-website-header data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main main-container error">
<div class="container error-wrapper">
<section class="d-flex flex-column">
<div class="d-flex flex-column message-wrapper">
<div class="d-flex flex-column-reverse gap-2">
<h1>Page not found</h1>
<h2 class="text-uppercase error-code">Error: 404</h2>
</div>

<p class="error-message">Sorry, we can't find the page you're looking for.</p>
</div>

<div class="d-flex flex-column gap-3 help-links">
<p>Here are a few links that may be helpful:</p>
<ul class="m-0 p-0 list-unstyled d-flex gap-3">
<li><a href="https://www.hathitrust.org">Home</a></li>
<li><a href="https://babel.hathitrust.org/cgi/ls?a=page&page=advanced">Advanced Search</a></li>
<li><a href="https://hathitrust.atlassian.net/servicedesk/customer/portals">Help Center</a></li>
<li>
<a href="#" data-hathi-trigger="hathi-feedback-form-modal" id="feedback-form">Report a Problem</a>
</li>
</ul>
</div>
<hathi-feedback-form-modal data-prop-form="error" data-prop-is-open="false"></hathi-feedback-form-modal>
</section>

</div>

</main>

<hathi-website-footer></hathi-website-footer>

</div>


</body>
</html>

83 changes: 37 additions & 46 deletions mdp-web/production_500.html
Original file line number Diff line number Diff line change
@@ -1,63 +1,54 @@
<!doctype html>
<html lang="en" xml:lang="en" xmlns= "http://www.w3.org/1999/xhtml" data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta charset="utf-8" />
<title>Application Error | Hathi Trust Digital Library</title>

<link rel="stylesheet" href="/common/firebird/dist/assets/index.css" />
<script type="module" src="/common/firebird/dist/assets/index.js"></script>
</head>

<body class="staticPage apps" style="opacity: 0; visibility: hidden;">

<div id="root">

<hathi-website-header data-prop-search-state="toggle" data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main-container error">

<div class="container mt-4">

<section class="m-3 col-md-6 bg-vaguely-faded">

<h1>Application error.</h1>

<div class="mt-3">
<p>
What you've tried to reach isn't working. We'll need to investigate why.
</p>

<p data-hathi-trigger="hathi-feedback-form-modal" id="feedback-form">
<button type="button" class="btn btn-primary"><span>Report the Problem</span></button>
</p>

<p>
Visit the <a class="alert-link" href="//www.hathitrust.org/">HathiTrust Home</a> to start over or use the <strong>search bar</strong>.
</p>

</div>

<!-- <p class="fs-4 mt-3">
What you've tried to reach isn't working. We'll need to investigate why.
</p> -->


<hathi-feedback-form-modal data-prop-form="error" data-prop-is-open="false"></hathi-feedback-form-modal">


<body class="staticPage apps" style="opacity: 0; visibility: hidden">
<hathi-cookie-consent-banner></hathi-cookie-consent-banner>
<div id="skiplinks" class="visually-hidden-focusable" role="complementary" aria-label="Skip links">
<ul>
<li><a href="#main">Skip to main content</a></li>
</ul>
</div>

<div id="root">
<hathi-website-header data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main main-container error">
<div class="container error-wrapper">
<section class="d-flex flex-column">
<div class="d-flex flex-column message-wrapper">
<div class="d-flex flex-column-reverse gap-2">
<h1>Application error</h1>
<h2 class="text-uppercase error-code">Error: 500</h2>
</div>

<p class="error-message">We ran into an unexpected issue. Please try again later.</p>
</div>

<div class="d-flex flex-column gap-3 help-links">
<p>Here are a few links that may be helpful:</p>
<ul class="m-0 p-0 list-unstyled d-flex gap-3">
<li><a href="https://www.hathitrust.org">Home</a></li>
<li><a href="https://babel.hathitrust.org/cgi/ls?a=page&page=advanced">Advanced Search</a></li>
<li><a href="https://hathitrust.atlassian.net/servicedesk/customer/portals">Help Center</a></li>
<li>
<a href="#" data-hathi-trigger="hathi-feedback-form-modal" id="feedback-form">Report a Problem</a>
</li>
</ul>
</div>
<hathi-feedback-form-modal data-prop-form="error" data-prop-is-open="false"></hathi-feedback-form-modal>
</section>

</div>

</main>

<hathi-website-footer></hathi-website-footer>

</div>


</body>
</html>

82 changes: 36 additions & 46 deletions mdp-web/production_error.html
Original file line number Diff line number Diff line change
@@ -1,63 +1,53 @@
<!doctype html>
<html lang="en" xml:lang="en" xmlns= "http://www.w3.org/1999/xhtml" data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache">
<html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml" data-app="pt">
<head>
<meta http-equiv="Pragma" content="no-cache" />
<meta charset="utf-8" />
<title>Application Error | Hathi Trust Digital Library</title>

<link rel="stylesheet" href="/common/firebird/dist/assets/index.css" />
<script type="module" src="/common/firebird/dist/assets/index.js"></script>
</head>

<body class="staticPage apps" style="opacity: 0; visibility: hidden;">

<body class="staticPage apps" style="opacity: 0; visibility: hidden">
<hathi-cookie-consent-banner></hathi-cookie-consent-banner>
<div id="skiplinks" class="visually-hidden-focusable" role="complementary" aria-label="Skip links">
<ul>
<li><a href="#main">Skip to main content</a></li>
</ul>
</div>
<div id="root">

<hathi-website-header data-prop-search-state="toggle" data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main-container error">

<div class="container mt-4">

<section class="m-3 col-md-6 bg-vaguely-faded">

<h1>Application error.</h1>

<div class="mt-3">
<p>
What you've tried to reach isn't working. We'll need to investigate why.
</p>

<p data-hathi-trigger="hathi-feedback-form-modal" id="feedback-form">
<button type="button" class="btn btn-primary"><span>Report the Problem</span></button>
</p>

<p>
Visit the <a class="alert-link" href="//www.hathitrust.org/">HathiTrust Home</a> to start over or use the <strong>search bar</strong>.
</p>

</div>

<!-- <p class="fs-4 mt-3">
What you've tried to reach isn't working. We'll need to investigate why.
</p> -->


<hathi-feedback-form-modal data-prop-form="error" data-prop-is-open="false"></hathi-feedback-form-modal">



<hathi-website-header data-prop-user-navigation="false"></hathi-website-header>

<main id="main" class="main main-container error">
<div class="container error-wrapper">
<section class="d-flex flex-column">
<div class="d-flex flex-column message-wrapper">
<div class="d-flex flex-column-reverse gap-2">
<h1>Application error</h1>
<h2 class="text-uppercase error-code">Error: 500</h2>
</div>

<p class="error-message">We ran into an unexpected issue. Please try again later.</p>
</div>

<div class="d-flex flex-column gap-3 help-links">
<p>Here are a few links that may be helpful:</p>
<ul class="m-0 p-0 list-unstyled d-flex gap-3">
<li><a href="https://www.hathitrust.org">Home</a></li>
<li><a href="https://babel.hathitrust.org/cgi/ls?a=page&page=advanced">Advanced Search</a></li>
<li><a href="https://hathitrust.atlassian.net/servicedesk/customer/portals">Help Center</a></li>
<li>
<a href="#" data-hathi-trigger="hathi-feedback-form-modal" id="feedback-form">Report a Problem</a>
</li>
</ul>
</div>
<hathi-feedback-form-modal data-prop-form="error" data-prop-is-open="false"></hathi-feedback-form-modal>
</section>

</div>

</main>

<hathi-website-footer></hathi-website-footer>

</div>


</body>
</html>