migrated to bokeh
This commit is contained in:
@ -1,9 +1,13 @@
|
||||
<head>
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
|
||||
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
|
||||
<link href=”https://cdn.pydata.org/bokeh/release/bokeh-3.7.1.min.css" rel=”stylesheet” type=”text/css”>
|
||||
<link href=”https://cdn.pydata.org/bokeh/release/bokeh-widgets-3.7.1.min.css" rel=”stylesheet” type=”text/css”>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="center">
|
||||
<h1>Isotopes</h1>
|
||||
<table class="table w-auto table-responsive-sm table-striped table-hover table-bordered">
|
||||
<caption>
|
||||
Table downloaded from <a href="https://easyspin.org/documentation/isotopetable.html">easyspin.org</a>
|
||||
@ -29,17 +33,26 @@
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<div>
|
||||
<img src="data:image/png;base64, {{ figure }}" alt="somealt" />
|
||||
</div>
|
||||
{{ div| safe }}
|
||||
|
||||
<div>
|
||||
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-3.7.1.min.js"></script>
|
||||
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-widgets-3.7.1.min.js"></script>
|
||||
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-tables-3.7.1.min.js"></script>
|
||||
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-api-3.7.1.min.js"></script>
|
||||
<script src="https://cdn.bokeh.org/bokeh/release/bokeh-mathjax-3.7.1.min.js"></script>
|
||||
|
||||
{{ script| safe }}
|
||||
</div>
|
||||
|
||||
|
||||
<a href="{% url 'home' %}">Go Back</a>
|
||||
|
||||
<a href="{% url 'home' %}">Go Back</a>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
<style>
|
||||
.center {
|
||||
margin: auto;
|
||||
@ -55,6 +68,8 @@
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.table-striped {--bs-table-striped-bg: rgba(213, 217, 255, 0.7);}
|
||||
.table-striped {
|
||||
--bs-table-striped-bg: rgba(213, 217, 255, 0.7);
|
||||
}
|
||||
</style>
|
||||
|
||||
|
Reference in New Issue
Block a user