- addional xml elements for DINI requirements
- port browser style oai2_style.xslt to xslt version 3.0 - oai2_style includes extra style.css
This commit is contained in:
parent
8ebd8f3251
commit
edea5ccbd0
5 changed files with 758 additions and 660 deletions
|
@ -498,11 +498,11 @@
|
|||
<gmd:extent>
|
||||
<gmd:EX_Extent>
|
||||
<xsl:if test="//*[name() = 'Coverage']">
|
||||
<xsl:variable name="thebox" select="//*[name() = 'Coverage']"/>
|
||||
<!-- <xsl:variable name="thebox" select="//*[name() = 'Coverage']"/> -->
|
||||
<xsl:variable name="sLat">
|
||||
<xsl:choose>
|
||||
<xsl:when test="string($thebox/@YMin) != ''">
|
||||
<xsl:value-of select="number($thebox/@YMin)"/>
|
||||
<xsl:when test="string(Coverage/@YMin) != ''">
|
||||
<xsl:value-of select="number(Coverage/@YMin)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="''"/>
|
||||
|
@ -511,8 +511,8 @@
|
|||
</xsl:variable>
|
||||
<xsl:variable name="wLong">
|
||||
<xsl:choose>
|
||||
<xsl:when test="string($thebox/@XMin) != ''">
|
||||
<xsl:value-of select="number($thebox/@XMin)"/>
|
||||
<xsl:when test="string(Coverage/@XMin) != ''">
|
||||
<xsl:value-of select="number(Coverage/@XMin)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="''"/>
|
||||
|
@ -521,8 +521,8 @@
|
|||
</xsl:variable>
|
||||
<xsl:variable name="nLat">
|
||||
<xsl:choose>
|
||||
<xsl:when test="string($thebox/@YMax) != ''">
|
||||
<xsl:value-of select="number($thebox/@YMax)"/>
|
||||
<xsl:when test="string(Coverage/@YMax) != ''">
|
||||
<xsl:value-of select="number(Coverage/@YMax)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="''"/>
|
||||
|
@ -531,8 +531,8 @@
|
|||
</xsl:variable>
|
||||
<xsl:variable name="eLong">
|
||||
<xsl:choose>
|
||||
<xsl:when test="string($thebox/@XMax) != ''">
|
||||
<xsl:value-of select="number($thebox/@XMax)"/>
|
||||
<xsl:when test="string(Coverage/@XMax) != ''">
|
||||
<xsl:value-of select="number(Coverage/@XMax)"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>
|
||||
<xsl:value-of select="''"/>
|
||||
|
|
File diff suppressed because it is too large
Load diff
145
assets/style.css
Normal file
145
assets/style.css
Normal file
|
@ -0,0 +1,145 @@
|
|||
html,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea,
|
||||
.pure-g [class*="pure-u"] {
|
||||
font-family: "Open Sans", sans-serif;
|
||||
}
|
||||
|
||||
td.value {
|
||||
vertical-align: top;
|
||||
padding-left: 1em;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
td.key {
|
||||
background-color: #3abac4;
|
||||
padding: 3px;
|
||||
text-align: right;
|
||||
border: 1px solid #c0c0c0;
|
||||
white-space: nowrap;
|
||||
/* font-weight: bold; */
|
||||
vertical-align: top;
|
||||
}
|
||||
|
||||
.dcdata td.key {
|
||||
background-color: #f4f8f4;
|
||||
}
|
||||
|
||||
body {
|
||||
margin: 1em 2em 1em 2em;
|
||||
}
|
||||
|
||||
h1,
|
||||
h2,
|
||||
h3 {
|
||||
font-family: sans-serif;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
h1 {
|
||||
padding-bottom: 4px;
|
||||
margin-bottom: 0px;
|
||||
}
|
||||
|
||||
h2 {
|
||||
margin-bottom: 0.5em;
|
||||
}
|
||||
|
||||
h3 {
|
||||
margin-bottom: 0.3em;
|
||||
font-size: medium;
|
||||
}
|
||||
|
||||
.link {
|
||||
border: 1px outset #88f;
|
||||
background-color: #00beff;
|
||||
padding: 1px 4px 1px 4px;
|
||||
font-size: 80%;
|
||||
text-decoration: none;
|
||||
font-weight: bold;
|
||||
font-family: sans-serif;
|
||||
color: #6c6e6b;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
color: #d0d0d0;
|
||||
}
|
||||
|
||||
.link:active {
|
||||
color: #d0d0d0;
|
||||
background-color: #00beff;
|
||||
}
|
||||
|
||||
.oaiRecord,
|
||||
.oaiRecordTitle {
|
||||
background-color: #eee;
|
||||
border-style: solid;
|
||||
border-color: #d0d0d0;
|
||||
}
|
||||
|
||||
h2.oaiRecordTitle {
|
||||
background-color: #51565c;
|
||||
color: #fff;
|
||||
font-size: medium;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border-width: 0px 0px 0px 0px;
|
||||
margin: 0px;
|
||||
}
|
||||
|
||||
.oaiRecord {
|
||||
margin-bottom: 3em;
|
||||
border-width: 2px;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
.results {
|
||||
margin-bottom: 1.5em;
|
||||
}
|
||||
|
||||
ul.quicklinks {
|
||||
margin-top: 2px;
|
||||
padding: 4px;
|
||||
text-align: left;
|
||||
border-bottom: 2px solid #ccc;
|
||||
border-top: 2px solid #ccc;
|
||||
clear: left;
|
||||
}
|
||||
|
||||
ul.quicklinks li {
|
||||
font-size: 80%;
|
||||
display: inline;
|
||||
list-style: none;
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
p.intro {
|
||||
font-size: 80%;
|
||||
}
|
||||
|
||||
.xmlSource {
|
||||
font-size: 70%;
|
||||
border: solid #c0c0a0 1px;
|
||||
/* background-color: #ffffe0; */
|
||||
background-color: #f4f8f4;
|
||||
padding: 2em 2em 2em 0em;
|
||||
}
|
||||
|
||||
.xmlBlock {
|
||||
padding-left: 2em;
|
||||
}
|
||||
|
||||
.xmlTagName {
|
||||
color: #800000;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.xmlAttrName {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.xmlAttrValue {
|
||||
color: #0000c0;
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue