##// END OF EJS Templates
main views updated...
main views updated git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@267 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71

File last commit:

r219:5b7b585249bb
r241:94f9320af5e6
Show More
device.html
40 lines | 1.0 KiB | text/html | HtmlDjangoLexer
Juan C. Espinoza
Updating base models and views ...
r6 {% extends "base.html" %}
{% load bootstrap3 %}
{% load static %}
{% load main_tags %}
{% block dev-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 %}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <table class="table table-bordered">
{% for key in device_keys %}
<tr><th>{{key|title}}</th><td>{{device|attr:key}}</td></tr>
{% endfor %}
Juan C. Espinoza
Updating base models and views ...
r6 </table>
Juan C. Espinoza
Add Change IP function for DDS Device...
r219 <div class="btn-group pull-right" role="group">
<button type="button" class="btn btn-primary" id="bt_edit_device">Edit</button>
<button type="button" class="btn btn-primary" id="bt_change_ip_device">Change IP</button>
</div>
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <br></br>
<br></br>
{% endblock %}
Juan C. Espinoza
Updating base models and views ...
r6
Miguel Urco
Campaign has been added to RadarSys Model...
r13 {% block sidebar%}
{% include "sidebar_devices.html" %}
Juan C. Espinoza
Updating base models and views ...
r6 {% endblock %}
{% block extra-js%}
Miguel Urco
Campaign has been added to RadarSys Model...
r13 <script type="text/javascript">
Juan C. Espinoza
Updating base models and views ...
r6
Miguel Urco
Campaign has been added to RadarSys Model...
r13 $("#bt_edit_device").click(function() {
document.location = "{% url 'url_edit_device' device.id%}";
Juan C. Espinoza
Updating base models and views ...
r6 });
Miguel Urco
Campaign has been added to RadarSys Model...
r13
Juan C. Espinoza
Add Change IP function for DDS Device...
r219 $("#bt_change_ip_device").click(function() {
document.location = "{% url 'url_change_ip_device' device.id%}";
});
Juan C. Espinoza
Updating base models and views ...
r6 </script>
{% endblock %}