bijoe/bijoe/templates/bijoe/cube_raw.html

30 lines
1.1 KiB
HTML

{% load staticfiles gadjo %}<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/gadjo.css"/>
<link href="{% static "css/bijoe.css" %}" rel="stylesheet">
<script src="{% xstatic 'jquery' 'jquery.min.js' %}"></script>
<script src="{% static "js/jquery.form.js" %}"></script>
<script src="{% static "xstatic/ChartNew.js" %}"></script>
<script src="{% static "js/bijoe.js" %}"></script>
{{ form.media.css }}
{{ form.media.js }}
<style>.button { display: none }
html, body { background: transparent; }
</style>
</head>
<body class="bijoe-iframe">
<div id="data">
{% if visualization %}
{% if visualization.representation == 'table' %}
{% include "bijoe/cube_table.html" %}
{% else %}
{% include "bijoe/cube_chart.html" %}
{% endif %}
<a href="?{% firstof view.request.POST.urlencode view.request.GET.urlencode %}" title="{{
visualization.title }}" class="button">URL</a>
{% endif %}
</div>
</body>
</html>