experiment_mix.html
33 lines
| 964 B
| text/html
|
HtmlDjangoLexer
|
r96 | {% extends "base_edit.html" %} | |
{% load bootstrap3 %} | |||
{% load static %} | |||
{% load main_tags %} | |||
{% block extra-head %} | |||
<link href="{% static 'css/bootstrap-datetimepicker.min.css' %}" media="screen" rel="stylesheet"> | |||
|
r106 | <style type="text/css"> | |
.tabuled {font-family: Courier New} | |||
.check-inline {display: inline} | |||
</style> | |||
|
r96 | {% endblock %} | |
{% block extra-js%} | |||
<script src="{% static 'js/moment.min.js' %}"></script> | |||
<script src="{% static 'js/bootstrap-datetimepicker.min.js' %}"></script> | |||
<script src="{% static 'js/cr.js' %}"></script> | |||
|
r106 | <script type="text/javascript"> | |
$("#bt_Delete").click(function() { | |||
document.location = "{% url 'url_delete_mix_experiment' id_exp %}"; | |||
}); | |||
|
r112 | $('input[type=radio][name=mode]').change(function() { | |
if (this.value == '0') { | |||
$('input[type=radio][name=operation]').prop('disabled', false); | |||
}else{ | |||
$('input[type=radio][name=operation]').prop('disabled', true); | |||
} | |||
}); | |||
|
r106 | </script> | |
|
r96 | {% endblock %} |