Added gradient calculation
This commit is contained in:
81
isotables/isotopapp/templates/posiiton.html
Normal file
81
isotables/isotopapp/templates/posiiton.html
Normal file
@ -0,0 +1,81 @@
|
||||
<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>
|
||||
(2023-07-29 markusro)
|
||||
</caption>
|
||||
<thead class="table-dark">
|
||||
<tr>
|
||||
<th scope="col">N</th>
|
||||
<th scope="col">Symbol</th>
|
||||
<th scope="col">Name</th>
|
||||
<th scope="col">f<sub>0</sub> in MHz</th>
|
||||
<th scope="col">Spin</th>
|
||||
<th scope="col">Nat. ab. in %</th>
|
||||
<th scope="col">γ in MHz/T</th>
|
||||
<th scope="col">Sens. in %(<sup>1</sup>H)</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
{% for attr in ans %}
|
||||
<tr>
|
||||
{% for i in attr %}
|
||||
<td>{{ i }}</td>
|
||||
{% endfor %}
|
||||
</tr>
|
||||
{% endfor %}
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
{{ div| safe }}
|
||||
|
||||
<div>
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/latest.js"
|
||||
integrity="sha512-nUTIGJLS9aRMjQaRwpCiC+0Y2RzgW4sufFhFgyjHgn15DXLSfoVUaEa83CsNe2FSJpLXtfgdVfgL7a0lrbcBWA=="
|
||||
crossorigin="anonymous"
|
||||
referrerpolicy="no-referrer">
|
||||
</script>
|
||||
<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>
|
||||
|
||||
</div>
|
||||
</body>
|
||||
<style>
|
||||
.center {
|
||||
margin: auto;
|
||||
width: 40%;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
caption {
|
||||
caption-side: bottom;
|
||||
padding: 8px;
|
||||
font-weight: normal;
|
||||
font-size: 0.8rem;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.table-striped {
|
||||
--bs-table-striped-bg: rgba(213, 217, 255, 0.7);
|
||||
}
|
||||
</style>
|
||||
|
Reference in New Issue
Block a user