Skip to content

Commit

Permalink
Solved issue BU-ISCIII#323 Incorrect type of button to modify protoco…
Browse files Browse the repository at this point in the history
…l fields
  • Loading branch information
luissian committed Sep 29, 2024
1 parent 43bcd4e commit c748ec0
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions wetlab/templates/wetlab/display_protocol.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{% extends "core/base.html" %}
{% load static %}
{% block content %}
{% include "wetlab/menu.html" %}
<section class="iskylims d-flex flex-column fill-height">
Expand All @@ -8,7 +9,7 @@
<div class="row mt-2 mb-4">
<div class="col-md-7 offset-3">
<div class="card border-danger mb-3">
<div class="card-header border-danger text-center"><h3>Invalid definition </h3le=> </div>
<div class="card-header border-danger text-center"><h3>Invalid definition </h3> </div>
<div class="card-body">
<h4>{{error_message}}</h4>
</div>
Expand All @@ -17,9 +18,9 @@ <h4>{{error_message}}</h4>
</div>
{% endif %}
{% if protocol_data %}
<div class="row row-space-4 margin-b-4">
<div class="row mt-2 mb-4">
<div class="col-sm-12" >
<h3>These are the parameters defined for {{protocol_data.protocol_name}} Protocol</h3>
<h3>Parameters defined for {{protocol_data.protocol_name}} Protocol</h3>
<div class="card ">
<div class="card-header"><h4>{{protocol_data.protocol_name}}</h4></div>
<div class="card-body">
Expand All @@ -42,15 +43,12 @@ <h3>These are the parameters defined for {{protocol_data.protocol_name}} Protoco
{% endfor %}
</tbody>
</table>
</div> <!--// end col-sm-11 -->
<button class="btn btn-outline.primary float-end" onclick="window.location.href = '/wetlab/modifyProtocolFields={{protocol_data.protocol_id}}';">Modify Protocol Fields</button>
</div>
<input class="btn btn-outline-primary float-end my-3" type="submit" value="Modify Protocol Fields" onclick="window.location.href = '/wetlab/modifyProtocolFields={{protocol_data.protocol_id}}';">
</div>
</div>

</div> <!--// end col-sm-12 -->

</div> <!--// end row -->

</div>
</div>
{% endif %}

{% if kit_data %}
Expand Down

0 comments on commit c748ec0

Please sign in to comment.