RPGs3_card_insanity/templates/style.xsl.j2

31 lines
858 B
Plaintext
Raw Normal View History

2019-09-09 18:54:25 +02:00
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
2019-09-09 19:29:27 +02:00
<xsl:output method="html" omit-xml-declaration="yes" indent="yes" />
2019-09-09 18:54:25 +02:00
<xsl:template match="/*">
<xsl:text disable-output-escaping='yes'>&lt;!DOCTYPE html&gt;
</xsl:text>
<script src="https://raw.githubusercontent.com/nodeca/js-yaml/master/dist/js-yaml.min.js"></script>
2019-09-09 19:29:27 +02:00
<script src="https://raw.githubusercontent.com/chrisdickinson/plate/master/dist/plate.min.js"></script>
2019-09-09 18:54:25 +02:00
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css"/>
<title>Status Card</title>
2019-09-09 19:29:27 +02:00
2019-09-09 18:54:25 +02:00
<style type="text/css">
2019-09-09 19:29:27 +02:00
{{ css_data }}
2019-09-09 18:54:25 +02:00
</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 }};
2019-09-09 19:29:27 +02:00
</script>
<script type="text/javascript">
{{ js_data }}
2019-09-09 18:54:25 +02:00
</script>
</xsl:template>
</xsl:stylesheet>