##// 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
{% extends "dev_conf.html" %}
{% load static %}
{% load bootstrap3 %}
{% load main_tags %}
{% block extra-head %}
<link href="http://cdn.pydata.org/bokeh/release/bokeh-0.12.1.min.css" rel="stylesheet" type="text/css">
{% endblock %}
{% block content %}
<div id="div_plot">{{div}}</div>
<br>
<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>
{%endif%}
</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>
{% endblock %}
{% block extra-js%}
<script src="{% static 'js/bokeh-0.12.1.min.js' %}"></script>
<script type="text/javascript">
$("#id_axis").change(function() {
if($(this).val()=='0'){
document.location = '?unit';
}else{
document.location = '?km'
}
});
</script>
{{script}}
{% endblock %}