Bug fixes to templating issues.
This commit is contained in:
@@ -22,4 +22,7 @@
|
||||
{% endfor %}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block signing_button %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
</body>
|
||||
@@ -66,6 +66,8 @@
|
||||
<h3><u>Plate map:</u></h3>
|
||||
<img height="600px" width="1300px" src="data:image/jpeg;base64,{{ sub['export_map'] | safe }}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block signing_button %}
|
||||
{% if signing_permission %}
|
||||
<button type="button" id="sign_btn">Sign Off</button>
|
||||
{% endif %}
|
||||
@@ -82,8 +84,6 @@
|
||||
document.getElementById("{{ sample['submitter_id'] }}").addEventListener("click", function(){
|
||||
backend.sample_details("{{ sample['submitter_id'] }}");
|
||||
});
|
||||
{% endfor %}
|
||||
{% for sample in sub['samples'] %}
|
||||
document.getElementById("{{ sample['submitter_id'] }}_alpha").addEventListener("click", function(){
|
||||
backend.sample_details("{{ sample['submitter_id'] }}");
|
||||
});
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
{% block body %}
|
||||
<!--<button type="button" id="back_btn">Back</button>-->
|
||||
{% endblock %}
|
||||
{% block signing_button %}{% endblock %}
|
||||
</body>
|
||||
<script>
|
||||
{% block script %}
|
||||
|
||||
@@ -31,4 +31,7 @@
|
||||
{{ sub['origin_plate'] }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block signing_button %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
||||
Binary file not shown.
@@ -35,4 +35,7 @@
|
||||
<br/>
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
{% block signing_button %}
|
||||
{{ super() }}
|
||||
{% endblock %}
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user