mirror of
https://github.com/journeyman-cc/smeagol.git
synced 2026-04-12 18:05:06 +00:00
28 lines
1,015 B
HTML
28 lines
1,015 B
HTML
{% extends "templates/base.html" %}
|
|
|
|
{% block extra-headers %}
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/vega/3.0.0-rc2/vega.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">
|
|
/* Add space between Vega-Embed links */
|
|
.vega-actions a {
|
|
margin-right: 5px;
|
|
}
|
|
</style>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<div id="content" class="wiki">
|
|
{% if editable %}
|
|
<ul class="minor-controls">
|
|
<li><a href="{{servlet-context}}/edit?page={{title}}">{{config.edit-page-link}}</a></li>
|
|
<li><a href="history?page={{page}}">{{config.history-link}}</a></li>
|
|
</ul>
|
|
{% endif %}
|
|
{{content|safe}}
|
|
</div>
|
|
{% endblock %}
|