##// END OF EJS Templates
Actualizacion de la app RC a python3 y django 2, antes del merge con cambios
Actualizacion de la app RC a python3 y django 2, antes del merge con cambios

File last commit:

r338:7377db7c77e8
r341:cb29d2ed7f9e merge
Show More
dev_conf.html
85 lines | 3.1 KiB | text/html | HtmlDjangoLexer
Miguel Urco
Campaign has been added to RadarSys Model...
r13 {% extends "base.html" %}
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 {% load bootstrap4 %}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 {% load static %}
{% load main_tags %}
{% block content-title %}{{title}}{% endblock %}
{% block content-suptitle %}{{suptitle}}{% endblock %}
{% block content %}
Miguel Urco
git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@44 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71
r26
Juan C. Espinoza
- Update rc app...
r79 {% block menu-actions %}
Miguel Urco
Models changed:...
r53 <span class=" dropdown pull-right">
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 <a href="#" class="dropdown-toggle" data-toggle="dropdown"><span class="fas fa-bars" aria-hidden="true"></span></a>
Miguel Urco
Models changed:...
r53 <ul class="dropdown-menu" role="menu">
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 <li><a href="{{ dev_conf.get_absolute_url_edit }}"><span class="fa fa-pencil" aria-hidden="true"></span> Edit</a></li>
<li><a href="{{ dev_conf.get_absolute_url_delete }}"><span class="fa fa-times" aria-hidden="true"></span> Delete</a></li>
<li><a href="{{ dev_conf.get_absolute_url_import }}"><span class="fas fa-cloud-download-alt" aria-hidden="true"></span> Import </a></li>
<li><a href="{{ dev_conf.get_absolute_url_export }}"><span class="fas fa-cloud-upload-alt" aria-hidden="true"></span> Export </a></li>
Juan C. Espinoza
- Update rc app...
r79 {% block extra-menu-actions %}
{% endblock %}
Miguel Urco
Models changed:...
r53 <li><a>----------------</a></li>
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 <li><a href="{{ dev_conf.get_absolute_url_status }}"><span class="fas fa-sync-alt" aria-hidden="true"></span> Status</a></li>
Fiorella Quino
Task #95: Modulo CGS "no-play" "no-stop"...
r60 {% if not no_play %}
Juan C. Espinoza
sync repo...
r157 {% if not only_stop %}
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 <li><a href="{{ dev_conf.get_absolute_url_start}}"><span class="fas fa-play" aria-hidden="true"></span> Start</a></li>
Juan C. Espinoza
sync repo...
r157 {% endif %}
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 <li><a href="{{ dev_conf.get_absolute_url_stop }}"><span class="fas fa-stop" aria-hidden="true"></span> Stop</a></li>
Fiorella Quino
Task #95: Modulo CGS "no-play" "no-stop"...
r60 {% endif %}
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 <li><a href="{{ dev_conf.get_absolute_url_write }}"><span class="fas fa-arrow-circle-down" aria-hidden="true"></span> Write</a></li>
Fiorella Quino
standardize functions in cgs device, abs device does not have read_device function...
r207 {% if dev_conf.device.device_type.name != 'abs' %}
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 <li><a href="{{ dev_conf.get_absolute_url_read }}"><span class="fas fa-arrow-circle-up" aria-hidden="true"></span> Read</a></li>
Fiorella Quino
standardize functions in cgs device, abs device does not have read_device function...
r207 {% endif %}
Fiorella Quino
no sidebar for plotting abs patterns...
r197 </ul>
Miguel Urco
Models changed:...
r53 </span>
Juan C. Espinoza
- Update rc app...
r79 {% endblock %}
Juan C. Espinoza
Add compatibility with embed CGS in RC
r328 {% block content-detail %}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <table class="table table-bordered">
Miguel Urco
Buttons "Import", "Export, "Read" and "Write" added to Configuration View...
r30 <tr>
Juan C. Espinoza
Check for active configuration for status update
r329 <th>Status</th>
{% if dev_conf.pk == dev_conf.device.conf_active %}
<td class="text-{{dev_conf.device.status_color}}"><strong> {% if dev_conf.device.device_type.name == 'abs' %} {{connected_modules}} {% else %} {{dev_conf.device.get_status_display}}{% endif %}</strong></td>
{% else %}
<td class="text-info"><strong> Connected </strong></td>
Nueva plantilla, prueba comunicacion y nuevos campos ddsrest
r338 {% endif %}
Juan C. Espinoza
Check for active configuration for status update
r329 </tr>
Fiorella Quino
no sidebar for plotting abs patterns...
r197
Miguel Urco
Buttons "Import", "Export, "Read" and "Write" added to Configuration View...
r30 {% for key in dev_conf_keys %}
<tr>
<th>{% get_verbose_field_name dev_conf key %}</th>
<td>{{dev_conf|attr:key}}</td>
</tr>
{% endfor %}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 </table>
Juan C. Espinoza
Add compatibility with embed CGS in RC
r328 {% endblock %}
Miguel Urco
git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@44 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71
r26
Juan C. Espinoza
- Update rc app...
r79 {% block extra-content %}
{% endblock %}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 {% endblock %}
{% block extra-js%}
<script type="text/javascript">
Fiorella Quino
no sidebar for plotting abs patterns...
r197
Miguel Urco
Export and Send buttons added to templates...
r15 $("#bt_edit").click(function() {
Miguel Urco
Buttons "Import", "Export, "Read" and "Write" added to Configuration View...
r30 document.location = "{{ dev_conf.get_absolute_url_edit }}";
});
Fiorella Quino
no sidebar for plotting abs patterns...
r197
Miguel Urco
Buttons "Import", "Export, "Read" and "Write" added to Configuration View...
r30 $("#bt_read").click(function() {
document.location = "{{ dev_conf.get_absolute_url_read }}";
});
$("#bt_write").click(function() {
document.location = "{{ dev_conf.get_absolute_url_write }}";
});
$("#bt_import").click(function() {
document.location = "{{ dev_conf.get_absolute_url_import }}";
});
$("#bt_export").click(function() {
document.location = "{{ dev_conf.get_absolute_url_export }}";
Miguel Urco
Campaign has been added to RadarSys Model...
r13 });
Fiorella Quino
no sidebar for plotting abs patterns...
r197
Miguel Urco
Campaign has been added to RadarSys Model...
r13 </script>
Fiorella Quino
no sidebar for plotting abs patterns...
r197 {% endblock %}