diff --git a/apps/main/templates/base_edit.html b/apps/main/templates/base_edit.html index ee4ed38..e4996b4 100644 --- a/apps/main/templates/base_edit.html +++ b/apps/main/templates/base_edit.html @@ -23,7 +23,7 @@ {% endif %} {% if button %}
- +
{% endif %} diff --git a/apps/main/templates/campaign.html b/apps/main/templates/campaign.html index 56bc435..23f7bba 100644 --- a/apps/main/templates/campaign.html +++ b/apps/main/templates/campaign.html @@ -54,9 +54,11 @@ {% endfor %} - + +
+ {% endblock %} {% block sidebar%} @@ -73,6 +75,10 @@ $("#bt_edit").click(function() { document.location = "{% url 'url_edit_campaign' campaign.id %}"; }); + + $("#bt_mix").click(function() { + document.location = "{% url 'url_mix_campaign' campaign.id %}"; + }); {% endblock %} \ No newline at end of file diff --git a/apps/main/templates/dev_conf_edit.html b/apps/main/templates/dev_conf_edit.html index fdba05c..73cdc15 100644 --- a/apps/main/templates/dev_conf_edit.html +++ b/apps/main/templates/dev_conf_edit.html @@ -1,48 +1,38 @@ -{% extends "base.html" %} +{% extends "base_edit.html" %} {% load bootstrap3 %} {% load static %} {% load main_tags %} -{% block conf-active %}active{% endblock %} - -{% block content-title %}{{title}}{% endblock %} -{% block content-suptitle %}{{suptitle}}{% endblock %} - -{% block content %} - -{% if form.is_multipart %} -
-{% else %} - -{% endif %} - - {% csrf_token %} - {% bootstrap_form form layout='horizontal' size='medium' %} -
-
- {% if extra_button %} -
- -
- {% endif %} -
- - -
-
-{% endblock %} - -{% block sidebar%} -{% include "sidebar_devices.html" %} -{% endblock %} {% block extra-js%} + {% if id_exp %} + + {% endif %} + {% endblock %} \ No newline at end of file diff --git a/apps/main/templates/experiment_mix.html b/apps/main/templates/experiment_mix.html new file mode 100644 index 0000000..32f853a --- /dev/null +++ b/apps/main/templates/experiment_mix.html @@ -0,0 +1,14 @@ +{% extends "base_edit.html" %} +{% load bootstrap3 %} +{% load static %} +{% load main_tags %} +{% block extra-head %} + +{% endblock %} + +{% block extra-js%} + + + + +{% endblock %} \ No newline at end of file diff --git a/apps/main/templates/sidebar_devices.html b/apps/main/templates/sidebar_devices.html index 793d80a..0e1eac0 100644 --- a/apps/main/templates/sidebar_devices.html +++ b/apps/main/templates/sidebar_devices.html @@ -30,7 +30,7 @@
{% for item in side_configurations %} - {{item.device.name}} + {{item}} {% endfor %}