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

File last commit:

r18:b1ece123c007
r171:1d66ac164b66
Show More
device.html
33 lines | 810 B | 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>
Miguel Urco
Export and Send buttons added to templates...
r15 <button class="btn btn-primary pull-right" style="margin-left: 10px" id="bt_edit_device">Edit</button>
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
Updating base models and views ...
r6 </script>
{% endblock %}