{ "name": "Item Dashboard", "author": "Lucky Mallari", "description": "Displays a collection of items", "settings": [ { "type": "string", "id": "itmdb_itemList", "label": "Items", "description": "Items separated by comma ( , )", "default": "item1,item2,item3" }, { "type": "string", "id": "itmdb_stateMap", "label": "Item State Mapping", "default": "{ \"OPEN\" : { color: \"red\", icon: \"glyphicon-ok-sign\" }, \"CLOSED\": { color: \"green\", icon: \"glyphicon-remove-sign\" }, \"ON\" : { color: \"red\", icon: \"glyphicon-ok-sign\" }, \"OFF\": { color: \"green\", icon: \"glyphicon-remove-sign\" } }", "description": "Item State Value/Icon/Color Mapping" }, { "type": "color", "id": "itmdb_headerBgColor", "label": "Header Background Color", "description": "Header background color.", "default": "#337ab7" }, { "type": "color", "id": "itmdb_headerTextColor", "label": "Header Text Color", "default": "#fff", "description": "Header text color" }, { "type": "string", "id": "itmdb_headerIcon", "label": "Header Icon", "description": "Header Icon (Bootstrap Glyphicon https://getbootstrap.com/docs/3.3/components/#glyphicons ) Leave blank for no icon", "default": "glyphicon-heart-empty" }, { "type": "string", "id": "itmdb_headerTextSize", "label": "Header Text Font Size", "description": "Header Size including Unit. Example (12px, 1em)", "default": "1.17em" }, { "type": "choice", "id": "itmdb_headerAlignment", "label": "Header Alignment", "default": "left", "choices": "left,center,right", "description": "Header Alignment" }, { "type": "color", "id": "itmdb_bodyBgColor", "label": "Body Background Color", "default": "#fff", "description": "Body Background Color" }, { "type": "color", "id": "itmdb_bodyTextColor", "label": "Body Text Color", "default": "#000", "description": "Body Text Color" }, { "type": "choice", "id": "itmdb_iconPosition", "label": "Item Icon Position", "default": "left", "choices": "left,right", "description": "Icon Position (left or right of item name)" }, { "type": "string", "id": "itmdb_bodyTextSize", "label": "Body Text Font Size", "description": "Font Size including Unit. Example (12px, 1em)", "default": "1em" }, { "type": "choice", "id": "itmdb_itemAlignment", "label": "Item Alignment", "default": "left", "choices": "left,center,right", "description": "Alignment of items inside body" } ], "template": "\n\n