##// END OF EJS Templates
Update code for django 1.10, python 3 and latest third party packages, review operation view ...
Update code for django 1.10, python 3 and latest third party packages, review operation view git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@195 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r172:a641bec15a9b
r172:a641bec15a9b
Show More
rc_pulses.html
62 lines | 1.4 KiB | text/html | HtmlDjangoLexer
Juan C. Espinoza
Update RC models, views, templates & statics...
r45 {% extends "dev_conf.html" %}
{% load static %}
{% load bootstrap3 %}
{% load main_tags %}
{% block extra-head %}
Juan C. Espinoza
Update code for django 1.10, python 3 and latest third party packages, review operation view ...
r172 <link href="http://cdn.pydata.org/bokeh/release/bokeh-0.12.1.min.css" rel="stylesheet" type="text/css">
Juan C. Espinoza
Update RC models, views, templates & statics...
r45 {% endblock %}
{% block content %}
Juan C. Espinoza
sync repo...
r157
Juan C. Espinoza
- Update rc app...
r79 <div id="div_plot">{{div}}</div>
Juan C. Espinoza
- Add sequence mode in mix configurations....
r116 <br>
Juan C. Espinoza
sync repo...
r157
<form class="form-horizontal">
<div class="form-group">
<label class="col-sm-2 control-label">Axis</label>
<div class="col-sm-4">
<select class="form-control" id='id_axis'>
<option value=0>Units</option>
{%if km_selected %}
<option value=1 selected>Km</option>
{%else%}
<option value=1>Km</option>
Juan C. Espinoza
Update code for django 1.10, python 3 and latest third party packages, review operation view ...
r172 {%endif%}
Juan C. Espinoza
sync repo...
r157 </select>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">1 Km</label>
<div class="col-sm-4">
<p class="form-control-static">{{units}} Units</p>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 control-label">1 Unit</label>
<div class="col-sm-4">
<p class="form-control-static">{{kms}} Km</p>
</div>
</div>
</form>
Juan C. Espinoza
Update RC models, views, templates & statics...
r45 {% endblock %}
{% block extra-js%}
Juan C. Espinoza
Update code for django 1.10, python 3 and latest third party packages, review operation view ...
r172 <script src="{% static 'js/bokeh-0.12.1.min.js' %}"></script>
Juan C. Espinoza
sync repo...
r157
<script type="text/javascript">
$("#id_axis").change(function() {
Juan C. Espinoza
Update code for django 1.10, python 3 and latest third party packages, review operation view ...
r172 if($(this).val()=='0'){
Juan C. Espinoza
sync repo...
r157 document.location = '?unit';
}else{
document.location = '?km'
}
});
Juan C. Espinoza
Update code for django 1.10, python 3 and latest third party packages, review operation view ...
r172 </script>
Juan C. Espinoza
Update RC models, views, templates & statics...
r45 {{script}}
Juan C. Espinoza
Update code for django 1.10, python 3 and latest third party packages, review operation view ...
r172 {% endblock %}