From 78ae9462c516dc74b480a8f8d2ef32e0e85673e8 2015-12-31 16:50:07 From: Miguel Urco Date: 2015-12-31 16:50:07 Subject: [PATCH] Export and Send buttons added to templates git-svn-id: http://jro-dev.igp.gob.pe/svn/jro_hard/radarsys/trunk/webapp@29 aa17d016-51d5-4e8b-934c-7b2bbb1bbe71 --- diff --git a/apps/main/templates/campaign.html b/apps/main/templates/campaign.html index c793044..48a0cbf 100644 --- a/apps/main/templates/campaign.html +++ b/apps/main/templates/campaign.html @@ -12,49 +12,52 @@ {% block content-suptitle %}{{suptitle}}{% endblock %} {% block content %} - -{% for key in campaign_keys %} - -{% endfor %} -
{{key|title}}{{campaign|attr:key}}
- -

-

+ + {% for key in campaign_keys %} + + {% endfor %} +
{{key|title}}{{campaign|attr:key}}
+ + + + +

+

-
- -
- - -
-
- - - - {% for header in experiment_keys %} - - {% endfor%} - - {% for item in experiments %} - - - {% for key in experiment_keys %} - - {% endfor %} - - {% endfor %} -
#{{ header|title }}
{{ forloop.counter }}{{ item|attr:key }}
- -
-
-
-
+
+ +
+ + +
+
+ + + + {% for header in experiment_keys %} + + {% endfor%} + + {% for item in experiments %} + + + {% for key in experiment_keys %} + + {% endfor %} + + {% endfor %} +
#{{ header|title }}
{{ forloop.counter }}{{ item|attr:key }}
+ +
+
+
+
{% endblock %} {% block sidebar%} @@ -70,8 +73,8 @@ $(".clickable-row").click(function() { document.location = $(this).data("href"); }); - - $("#bt_edit_campaign").click(function() { + + $("#bt_edit").click(function() { document.location = "{% url 'url_edit_campaign' campaign.id%}"; }); diff --git a/apps/main/templates/dev_conf.html b/apps/main/templates/dev_conf.html index 60d2d0b..23f4ac1 100644 --- a/apps/main/templates/dev_conf.html +++ b/apps/main/templates/dev_conf.html @@ -14,7 +14,9 @@ {{key|title}}{{dev_conf|attr:key}} {% endfor %} - + + +



{% endblock %} @@ -26,7 +28,7 @@ {% block extra-js%}