aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/resource
diff options
context:
space:
mode:
authorParker Berberian <pberberian@iol.unh.edu>2019-01-02 16:51:35 -0500
committerParker Berberian <pberberian@iol.unh.edu>2019-01-02 16:51:35 -0500
commitc4f741020f3f90701a77cd881fc1c66d4810c9ee (patch)
tree9977440ff38775bf7b4576272df804a3d0559971 /src/templates/resource
parentb729dd4e21e90fe6f83b31cabdcc9f74757c70bd (diff)
Removes log button in deployment
We had a button that would barf up XML logs for development but forgot to disable it for the live dashboard Change-Id: I1061ba967f077a103a7e1ae61d60d81cd9e4c443 Signed-off-by: Parker Berberian <pberberian@iol.unh.edu>
Diffstat (limited to 'src/templates/resource')
-rw-r--r--src/templates/resource/steps/pod_definition.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/templates/resource/steps/pod_definition.html b/src/templates/resource/steps/pod_definition.html
index b2b4998..1e0a6f2 100644
--- a/src/templates/resource/steps/pod_definition.html
+++ b/src/templates/resource/steps/pod_definition.html
@@ -85,7 +85,11 @@ function main(graphContainer, overviewContainer, toolbarContainer) {
addToolbarButton(editor, toolbarContainer, 'zoomIn', '', "/static/img/mxgraph/zoom_in.png", true);
addToolbarButton(editor, toolbarContainer, 'zoomOut', '', "/static/img/mxgraph/zoom_out.png", true);
+
+ {% if debug %}
addToolbarButton(editor, toolbarContainer, 'printXML', '', '/static/img/mxgraph/fit_to_size.png', true);
+ {% endif %}
+
var outline = new mxOutline(graph, overviewContainer);