From 4eda0fb866b2f7fa0049a16c285fb9c7a1cf39f8 Mon Sep 17 00:00:00 2001 From: catborise Date: Wed, 14 Nov 2018 14:39:18 +0300 Subject: [PATCH] add chevron-toggle to collapse_all on grouped_index --- instances/templates/allinstances_index_grouped.html | 1 + 1 file changed, 1 insertion(+) diff --git a/instances/templates/allinstances_index_grouped.html b/instances/templates/allinstances_index_grouped.html index eae11b5..5d9adbf 100644 --- a/instances/templates/allinstances_index_grouped.html +++ b/instances/templates/allinstances_index_grouped.html @@ -128,6 +128,7 @@ function hide_all_host_instances() { var rows = $('table tr'); all_host_rows = rows.filter('[host]'); all_host_rows.toggle(); + $('span[id^=collapse_host_instances_]').toggleClass("glyphicon-chevron-down").toggleClass("glyphicon-chevron-up"); } function hide_host_instances(host) { var rows = $('table tr');