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
11 changes: 10 additions & 1 deletion docs/_includes/doi-template/hero.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,17 @@ <h1>Metadata Reporting Standards</h1>
</div>

<div class="actions">
<select class="version-select" id="version-select" aria-label="Select version">
{{ page.version_options}}
</select>
<script>
document.getElementById('version-select').addEventListener('change', function () {
window.location.href = this.value;
});
</script>

<a class="primary-btn download" href="{{ page.download_href | default: '#' }}">Download (ZIP)</a>
<p class="checksum">MD5 hash: {{ page.md5_hash | default: '7531483d85468575da1e0d2437695b46' }}</p>
<p class="checksum">MD5 hash: {{ page.md5_hash | default: '' }}</p>
<div class="icon-row">
{% if page.help_href %}
<a class="icon-btn help" href="{{ page.help_href | relative_url }}" title="Help" aria-label="Help">?</a>
Expand Down
19 changes: 3 additions & 16 deletions docs/css/doi-template.css
Original file line number Diff line number Diff line change
Expand Up @@ -111,23 +111,9 @@ p span.requiredMark {
border: 1px solid #aeb6c6;
border-radius: 7px;
background: #e8edf5;
color: #4a5365;
color: #000;
font-size: 14px;
line-height: 34px;
padding: 0 38px 0 10px;
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
background-image:
linear-gradient(45deg, transparent 50%, #8ea0c2 50%),
linear-gradient(135deg, #8ea0c2 50%, transparent 50%),
linear-gradient(to right, #d7e7f8, #d7e7f8);
background-position:
calc(100% - 18px) 14px,
calc(100% - 11px) 14px,
calc(100% - 36px) 0;
background-size: 7px 7px, 7px 7px, 34px 100%;
background-repeat: no-repeat;
padding: 0 10px;
}

.icon-row {
Expand Down Expand Up @@ -213,6 +199,7 @@ p span.requiredMark {
.primary-btn.download {
height:28px;
font-size: 14px;
color:white!important;
}

.primary-btn.download:visited {
Expand Down
Loading
Loading