##// END OF EJS Templates
Add compatibility with embed CGS in RC
Add compatibility with embed CGS in RC

File last commit:

r309:7f11f3361375
r328:e61e12b2d8be
Show More
abs_patterns.html
48 lines | 1.0 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 %}
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() {
Juan C. Espinoza
Improve abs pattern views, templates and plots....
r180 document.location = "{% url 'url_plot_abs_patterns' abs_beam.abs_conf.id abs_beam.id %}";
Fiorella Quino
Task #716: ABS Views, plot beams patterns with OverJRO and overJroShow scripts...
r178 });
{% 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 %}