-
Notifications
You must be signed in to change notification settings - Fork 486
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
A static 404 page (9770) #9856
Merged
Merged
A static 404 page (9770) #9856
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
11dd3a9
A static 404 page to replace the dynamic 404.xhtml page that's been t…
landreev b60c258
(Realized that I had the words "Harvard Dataverse" in that static pag…
landreev 9ca9ba5
replaced a couple of hard-coded English words with entries from the b…
landreev File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
<?xml version='1.0' encoding='UTF-8' ?> | ||
<!DOCTYPE html> | ||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" lang="en"> | ||
<head> | ||
<title>#{bundle['error.404.page.title']}</title> | ||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
<meta http-equiv="Content-Language" content="en" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="description" content="Share, archive, and get credit for your data. Find and cite data across all research fields." /> | ||
|
||
<link type="image/png" rel="icon" href="https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/images/favicondataverse.png.xhtml" /> | ||
|
||
<link type="image/png" rel="image_src" href="https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/images/dataverseproject.png.xhtml" /> | ||
|
||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" /> | ||
|
||
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css" /> | ||
|
||
<link rel="stylesheet" href="https://cdn.rawgit.com/IQSS/dataverse/develop/src/main/webapp/resources/css/structure.css" /> | ||
|
||
<style type="text/css"> | ||
/* FontCustom CSS */ | ||
@font-face { | ||
font-family: "fontcustom"; | ||
src: url("https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.eot"); | ||
src: url("https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.eot?#iefix") format("embedded-opentype"), | ||
url("https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.woff") format("woff"), | ||
url("https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.ttf") format("truetype"), | ||
url("https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.svg#fontcustom") format("svg"); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
@media screen and (-webkit-min-device-pixel-ratio:0) { | ||
@font-face { | ||
font-family: "fontcustom"; | ||
src: url("https://cdn.rawgit.com/IQSS/dataverse/src/main/webapp/resources/fontcustom/fontcustom_0cdeefae934823416d24b6c2132ac702.svg#fontcustom") format("svg"); | ||
} | ||
} | ||
|
||
[data-icon]:before { content: attr(data-icon); } | ||
|
||
[data-icon]:before, | ||
.icon-dataverse:before { | ||
display: inline-block; | ||
font-family: "fontcustom"; | ||
font-style: normal; | ||
font-weight: normal; | ||
font-variant: normal; | ||
line-height: 1; | ||
text-decoration: inherit; | ||
text-rendering: optimizeLegibility; | ||
text-transform: none; | ||
-moz-osx-font-smoothing: grayscale; | ||
-webkit-font-smoothing: antialiased; | ||
font-smoothing: antialiased; | ||
} | ||
|
||
.icon-dataverse:before { content: "\f100"; } | ||
|
||
/* Custom CSS */ | ||
#navbarFixed div.navbar-header img.navbar-brand.custom-logo {height:50px !important;} | ||
#dataverseDesc span > span > span > h3 {font-weight: 300 !important;} | ||
|
||
nav.navbar.navbar-default {background: #ececec !important;} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="dataverse-header-block"> | ||
<!-- Navbar Panel --> | ||
<nav id="navbarFixed" class="navbar navbar-default navbar-fixed-top" role="navigation"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<h:outputFormat class="navbar-brand custom-logo" value="#{bundle['footer.dataverseProject']}"/> | ||
</div> | ||
<div class="collapse navbar-collapse" id="topNavBar"> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li> | ||
  | ||
</li> | ||
</ul> | ||
</div> | ||
</div> | ||
</nav> | ||
</div> | ||
<div class="container" id="content"> | ||
<div class="alert alert-danger" role="alert" style="margin-top:3em;"> | ||
<h:outputFormat value="#{bundle['error.404.message']}" escape="false" /> | ||
</div> | ||
</div> | ||
<div id="footer"> | ||
<div class="container"> | ||
<div class="row"> | ||
<div class="col-sm-8 small"> | ||
<p>Copyright © 2023, The President & Fellows of Harvard College | <a href="http://best-practices.dataverse.org/harvard-policies/harvard-privacy-policy.html" target="_blank">Privacy Policy</a> | ||
</p> | ||
</div> | ||
<div class="col-sm-4 text-right"> | ||
<div class="poweredbylogo"> | ||
<span>Powered by</span> | ||
<a href="http://dataverse.org/" title="The Dataverse Project" target="_blank"><img src="https://cdn.rawgit.com/IQSS/dataverse/develop/src/main/webapp/resources/images/dataverseproject_logo.png" alt="The Dataverse Project" /></a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess we can't have anything dynamic like this: