Move xls template to style.xsl.j2
This commit is contained in:
parent
c41553fac8
commit
74c738f6cb
|
@ -1,24 +1,5 @@
|
|||
<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">
|
||||
<xsl:include href="style.css"/>
|
||||
</style>
|
||||
<div class="">
|
||||
|
||||
<div class="fjomp_card">
|
||||
asdasd<br/>
|
||||
asdasd<br/>
|
||||
asdasd<br/>
|
||||
asdasd<br/>
|
||||
</div>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
|
|
|
@ -0,0 +1,25 @@
|
|||
<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">
|
||||
{{ yaml_data }}
|
||||
</script>
|
||||
|
||||
<script type="text/javascript">
|
||||
// render this shit
|
||||
</script>
|
||||
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
Loading…
Reference in New Issue