##// END OF EJS Templates
Task #716: ABS Views...
Task #716: ABS Views git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@202 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r178:6920059c9c16
r179:127ca1c0468c
Show More
abs_patterns.html
54 lines | 1.1 KiB | text/html | HtmlDjangoLexer
Fiorella Quino
Task #714: Modulo web del ABS ...
r166 {% extends "dev_conf.html" %}
{% load static %}
{% load bootstrap3 %}
{% load main_tags %}
{% block content %}
<style>
</style>
Fiorella Quino
Task #716: ABS Views, plot beams patterns with OverJRO and overJroShow scripts...
r178
Fiorella Quino
Task #714: Modulo web del ABS ...
r166 {% if abs_beams %}
<div>
<h4>Beams:</h4>
<div class="container">
Fiorella Quino
Task #716: ABS Views, plot beams patterns with OverJRO and overJroShow scripts...
r178 <div class="btn-group">
{% for abs_beam in abs_beams %}
<button id="bt_beam{{ forloop.counter }}" type="button" class="btn btn-default">{{ forloop.counter }}</button>
{% endfor %}
</div>
Fiorella Quino
Task #714: Modulo web del ABS ...
r166 </div>
Fiorella Quino
Task #716: ABS Views, plot beams patterns with OverJRO and overJroShow scripts...
r178 </div>
Fiorella Quino
Task #714: Modulo web del ABS ...
r166 <br>
Fiorella Quino
Task #716: ABS Views, plot beams patterns with OverJRO and overJroShow scripts...
r178
{% if beam %}
{% include "abs_pattern.html" %}
{% endif %}
Fiorella Quino
Task #714: Modulo web del ABS ...
r166
{% else %}
<div>
<h4>Beams:</h4>
<p style="color:#b4bcc2; margin-left: 5%;"><i>No Beams...</i></p>
</div>
{% endif %}
<script>
Fiorella Quino
Task #716: ABS Views, plot beams patterns with OverJRO and overJroShow scripts...
r178 {% for abs_beam in abs_beams %}
$("#bt_beam{{ forloop.counter }}").click(function() {
document.location = "{% url 'url_plot_abs_pattern' abs_beam.abs_conf.id abs_beam.id %}";
});
{% endfor %}
//function ChangeColor() {
// document.getElementById("button_1").style.backgroundColor = "#2c3e50";
// document.getElementById("button_1").style.color = "#ecf0f1";
//}
Fiorella Quino
Task #714: Modulo web del ABS ...
r166 </script>
Fiorella Quino
Task #716: ABS Views, plot beams patterns with OverJRO and overJroShow scripts...
r178
{% endblock %}