AC-369 Inventories->Groups page now loads from /api/v1/inventories/N/trees. All nodes are open on load. Drag-n-drop works. Node add/update/delete working.

This commit is contained in:
chouseknecht
2013-08-28 12:38:41 -04:00
parent 5ce8328230
commit 51033abe87
4 changed files with 56 additions and 20 deletions

View File

@@ -1022,7 +1022,7 @@ angular.module('FormGenerator', ['GeneratorHelpers', 'ngCookies'])
html += "<td>";
html += "<div class=\"input-group input-group-sm\">\n";
html += "<span class=\"input-group-btn\">\n";
html += "<button class=\"btn btn-default\" type=\"button\" ng-click=\"editHostGroups({{ host.id }})\"><i class=\"icon-list\"></i></button>\n";
html += "<button class=\"btn btn-default\" type=\"button\" ng-click=\"editHostGroups({{ host.id }})\"><i class=\"icon-sitemap\"></i></button>\n";
html += "</span>\n";
html += "<input type=\"text\" ng-model=\"host.groups\" class=\"form-control\" disabled=\"disabled\" >\n";
html += "</div>\n";