AC-201 Added help to Job Hosts Summary page. Added logic to the Attr method used in form generator and list generator to support icon sizing.

This commit is contained in:
chouseknecht
2013-07-11 09:23:36 -04:00
parent 65d4aa50c7
commit 6e28fac463
6 changed files with 255 additions and 224 deletions

View File

@@ -59,6 +59,12 @@ angular.module('GeneratorHelpers', ['GeneratorHelpers'])
case 'dataContainer':
result = "data-container=\"" + value + "\" ";
break;
case 'icon':
// new method of constructing <i> icon tag. Replces Icon method.
result = "<i class=\"" + value;
result += (obj['iconSize']) ? " icon-" + obj['iconSize'] : "";
result += "\"></i>";
break;
default:
result = key + "=\"" + value + "\" ";
}