diff --git a/piggy/templates/assignments/5-assignment.html b/piggy/templates/assignments/5-assignment.html index 49d7250..e03e938 100644 --- a/piggy/templates/assignments/5-assignment.html +++ b/piggy/templates/assignments/5-assignment.html @@ -94,4 +94,8 @@

{{ content.heading }}

Home
{{ content.body | safe }}
+ + {% if debug %} + {% include "partials/devtools/_devtools.html" %} + {% endif %} diff --git a/piggy/templates/layout.html b/piggy/templates/layout.html index 8df0b88..68ca50d 100644 --- a/piggy/templates/layout.html +++ b/piggy/templates/layout.html @@ -22,4 +22,8 @@ {% endblock %} + + {% if debug %} + {% include "partials/devtools/_devtools.html" %} + {% endif %} diff --git a/piggy/templates/partials/devtools/_devtools.html b/piggy/templates/partials/devtools/_devtools.html new file mode 100644 index 0000000..4cecdf4 --- /dev/null +++ b/piggy/templates/partials/devtools/_devtools.html @@ -0,0 +1 @@ +{% include "partials/devtools/log_variables.html" %} diff --git a/piggy/templates/partials/devtools/log_variables.html b/piggy/templates/partials/devtools/log_variables.html new file mode 100644 index 0000000..3d9b405 --- /dev/null +++ b/piggy/templates/partials/devtools/log_variables.html @@ -0,0 +1,54 @@ +