| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
|
| 3 |
<!-- A stylesheet formatting maintenance message (which are given in |
| 4 |
DALI format so things work out nicely in non-browser clients) |
| 5 |
|
| 6 |
This stylesheet is made available under CC-0 by the GAVO project, |
| 7 |
http://www.g-vo.org. |
| 8 |
See http://creativecommons.org/publicdomain/zero/1.0/ for details. |
| 9 |
--> |
| 10 |
|
| 11 |
<xsl:stylesheet |
| 12 |
xmlns:v="http://www.ivoa.net/xml/VOTable/v1.3" |
| 13 |
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" |
| 14 |
xmlns="http://www.w3.org/1999/xhtml" |
| 15 |
version="1.0"> |
| 16 |
|
| 17 |
<xsl:include href="dachs-xsl-config.xsl"/> |
| 18 |
|
| 19 |
<xsl:output method="xml" |
| 20 |
doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN" |
| 21 |
doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/> |
| 22 |
|
| 23 |
|
| 24 |
<xsl:template match="text()"/> |
| 25 |
|
| 26 |
<xsl:template match="v:INFO[@name='QUERY_STATUS']"> |
| 27 |
<pre class="errmsg"> |
| 28 |
<xsl:value-of select="."/> |
| 29 |
</pre> |
| 30 |
</xsl:template> |
| 31 |
|
| 32 |
<xsl:template match="/"> |
| 33 |
<html> |
| 34 |
<head> |
| 35 |
<title>GAVO DC: Down for Maintenance</title> |
| 36 |
<style type="text/css"> |
| 37 |
pre.errmsg { |
| 38 |
margin-top: 1ex; |
| 39 |
border-top: 2pt solid red; |
| 40 |
padding-top: 0.5ex; |
| 41 |
padding-bottom: 0.5ex; |
| 42 |
border-bottom: 2pt solid red; |
| 43 |
margin-bottom: 1ex |
| 44 |
} |
| 45 |
</style> |
| 46 |
</head> |
| 47 |
<body> |
| 48 |
<h1>Maintenance</h1> |
| 49 |
|
| 50 |
<p>We are terribly sorry, but the archive service is currently down |
| 51 |
for maintenance or because of severe technical trouble.</p> |
| 52 |
|
| 53 |
<p>The reason given by the operators is:</p> |
| 54 |
|
| 55 |
<xsl:apply-templates/> |
| 56 |
|
| 57 |
<p>We generally have something on |
| 58 |
<a href="https://blog.g-vo.org">our blog</a> if trouble |
| 59 |
lasts longer than an hour or so.</p> |
| 60 |
</body> |
| 61 |
</html> |
| 62 |
</xsl:template> |
| 63 |
</xsl:stylesheet> |
| 64 |
|
| 65 |
|