From d7f2ba1b42ce919326592e339cf10507d035cc10 Mon Sep 17 00:00:00 2001 From: Li Chaoran Date: Thu, 14 Sep 2017 22:19:03 +0800 Subject: [PATCH] [CE-119] Fix fail to create swarm worker node 1. this patchset will allow user to chose host_type via our jinja2 dashboard Change-Id: I1d0bfbb9ab3be21ca2fcd7ecc843e2bbe9e05f1f Signed-off-by: Li Chaoran --- src/themes/basic/templates/layout.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/themes/basic/templates/layout.html b/src/themes/basic/templates/layout.html index ff002ea7..9f2b6402 100644 --- a/src/themes/basic/templates/layout.html +++ b/src/themes/basic/templates/layout.html @@ -130,6 +130,19 @@ + {% if host_types|length > 0 %} +
+ + +
+ {% endif %} {% if log_levels|length > 0 %}