summaryrefslogtreecommitdiffstats
path: root/dashboard/src/templates/resource
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/src/templates/resource')
-rw-r--r--dashboard/src/templates/resource/steps/pod_definition.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/dashboard/src/templates/resource/steps/pod_definition.html b/dashboard/src/templates/resource/steps/pod_definition.html
index b2b4998..1e0a6f2 100644
--- a/dashboard/src/templates/resource/steps/pod_definition.html
+++ b/dashboard/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);