##// END OF EJS Templates
Task # 487: Operation View: radar_play...
Task # 487: Operation View: radar_play git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@111 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r85:d4fe0e132735
r90:832e6445d6f2
Show More
experiment.html
79 lines | 2.3 KiB | text/html | HtmlDjangoLexer
Juan C. Espinoza
Updating base models and views ...
r6 {% extends "base.html" %}
{% load bootstrap3 %}
{% load static %}
{% load main_tags %}
{% block extra-head %}
<link href="{% static 'css/bootstrap-datetimepicker.min.css' %}" media="screen" rel="stylesheet">
{% endblock %}
{% block exp-active %}active{% endblock %}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 {% block content-title %}{{title}}{% endblock %}
Juan C. Espinoza
Updating base models and views ...
r6 {% block content-suptitle %}{{suptitle}}{% endblock %}
{% block content %}
<table class="table table-bordered">
{% for key in experiment_keys %}
<tr><th>{{key|title}}</th><td>{{experiment|attr:key}}</td></tr>
{% endfor %}
</table>
Miguel Urco
Export and Send buttons added to templates...
r15 <button class="btn btn-primary pull-right" style="margin-left: 10px" id="bt_export">Export</button>
<button class="btn btn-primary pull-right" style="margin-left: 10px" id="bt_edit">Edit</button>
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <br></br>
<br></br>
Juan C. Espinoza
Updating base models and views ...
r6
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
Miguel Urco
Campaign has been added to RadarSys Model...
r13
Juan C. Espinoza
Updating base models and views ...
r6 <div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingTwo">
<h4 class="panel-title">
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <a class="collapsed" role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseTwo" aria-expanded="false" aria-controls="collapseThree">
Miguel Urco
sidebar_devices updated...
r14 Device Configurations
Juan C. Espinoza
Updating base models and views ...
r6 </a>
</h4>
</div>
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <div id="collapseTwo" class="panel-collapse collapse in" role="tabpanel" aria-labelledby="headingTwo">
Juan C. Espinoza
Updating base models and views ...
r6 <div class="panel-body">
<table class="table table-hover">
<tr>
<th>#</th>
Miguel Urco
Location model added to RadarSys...
r41 {% for key in configuration_labels %}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <th>{{ key|title }}</th>
Juan C. Espinoza
Updating base models and views ...
r6 {% endfor%}
</tr>
Miguel Urco
Campaign has been added to RadarSys Model...
r13 {% for item in configurations %}
Miguel Urco
Location model added to RadarSys...
r41 <tr class="clickable-row" data-href="{{item.get_absolute_url}}">
Juan C. Espinoza
Updating base models and views ...
r6 <td>{{ forloop.counter }}</td>
Miguel Urco
Campaign has been added to RadarSys Model...
r13 {% for key in configuration_keys %}
Miguel Urco
Location model added to RadarSys...
r41 <td>{{ item|value:key }}</td>
Juan C. Espinoza
Updating base models and views ...
r6 {% endfor %}
</tr>
{% endfor %}
</table>
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <button class="btn btn-primary pull-right" id="bt_add_conf">{{button}}</button>
Juan C. Espinoza
Updating base models and views ...
r6 </div>
</div>
</div>
</div>
{% endblock %}
{% block sidebar%}
{% include "sidebar_devices.html" %}
{% endblock %}
{% block extra-js%}
<script type="text/javascript">
$(".clickable-row").click(function() {
document.location = $(this).data("href");
});
Miguel Urco
Export and Send buttons added to templates...
r15 $("#bt_edit").click(function() {
Miguel Urco
Campaign has been added to RadarSys Model...
r13 document.location = "{% url 'url_edit_experiment' experiment.id%}";
});
Juan C. Espinoza
Updating base models and views ...
r6
Miguel Urco
Campaign has been added to RadarSys Model...
r13 $("#bt_add_conf").click(function() {
Juan C. Espinoza
Update several views and models in main app...
r85 document.location = "{% url 'url_add_dev_conf' experiment.id %}";
Juan C. Espinoza
Updating base models and views ...
r6 });
Miguel Urco
Campaign has been added to RadarSys Model...
r13
Juan C. Espinoza
Updating base models and views ...
r6 </script>
{% endblock %}