2019-09-09 18:54:25 +02:00
|
|
|
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
|
|
|
|
<xsl:output method="html" omit-xml-declaration="yes" />
|
|
|
|
<xsl:template match="/*">
|
|
|
|
<xsl:text disable-output-escaping='yes'><!DOCTYPE html>
|
|
|
|
</xsl:text>
|
|
|
|
|
|
|
|
<script src="https://raw.githubusercontent.com/nodeca/js-yaml/master/dist/js-yaml.min.js"></script>
|
|
|
|
<script src="http://mozilla.github.io/nunjucks/files/nunjucks.min.js"></script>
|
|
|
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"/>
|
|
|
|
|
|
|
|
<title>Status Card</title>
|
|
|
|
<style type="text/css">
|
|
|
|
{{ css }}
|
|
|
|
</style>
|
|
|
|
|
|
|
|
<script type="text/html" id="yaml_data">
|
2019-09-09 19:07:05 +02:00
|
|
|
xsl
|
2019-09-09 18:54:25 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
2019-09-09 19:07:05 +02:00
|
|
|
var jinja_template = {{ jinja_data | tojson }};
|
|
|
|
// render this shit
|
2019-09-09 18:54:25 +02:00
|
|
|
</script>
|
|
|
|
|
|
|
|
</xsl:template>
|
|
|
|
</xsl:stylesheet>
|