Experimental tidying up after vega introduction

None of this is very significant, but it is small improvements.
This commit is contained in:
simon 2017-07-30 14:40:56 +01:00
parent c289f10524
commit fd5cd11024
5 changed files with 15 additions and 7 deletions

View file

@ -5,8 +5,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="{{servlet-context}}/content/stylesheet.css" media="screen" rel="stylesheet" type="text/css" />
<link href="{{servlet-context}}/css/print.css" media="print" rel="stylesheet" type="text/css" />
{% style "/content/stylesheet.css" %}
{% block extra-headers %}
{% endblock %}
</head>

View file

@ -1,7 +1,7 @@
{% extends "templates/base.html" %}
{% block extra-headers %}
<link rel="stylesheet" href="{{servlet-context}}/vendor/simplemde/dist/simplemde.min.css">
<script src="{{servlet-context}}/vendor/simplemde/dist/simplemde.min.js"></script>
{% style "/vendor/simplemde/dist/simplemde.min.css" %}
{% script "/vendor/simplemde/dist/simplemde.min.js" %}
{% endblock %}
{% block content %}

View file

@ -2,7 +2,9 @@
{% block extra-headers %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/3.0.0-rc2/vega.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-lite/2.0.0-beta.10/vega-lite.js"></script>
<!-- there's at the time of writing (20170731) a problem with the dependencies of the Bower
package for vega-embed, so we're currently not installing either it or Vega locally. TODO: fix -->
{% script "/vendor/vega-lite/build/vega-lite.js" %}
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega-embed/3.0.0-beta.19/vega-embed.js"></script>
<style media="screen">