added refresh button to inventory group/host page for when user is not in live mode (websockets disabled)

This commit is contained in:
Jared Tabor 2014-07-14 14:18:11 -04:00
parent f0b1034d29
commit ccc6e16d2e
2 changed files with 12 additions and 0 deletions

View File

@ -78,6 +78,12 @@ angular.module('InventoryGroupsDefinition', [])
awToolTip: "Edit inventory properties",
ngClick: 'editInventoryProperties()'
},
refresh: {
mode: 'all',
awToolTip: "Refresh the page",
ngClick: "refreshGroups()",
ngShow: "socketStatus == 'error'"
},
stream: {
ngClick: "showGroupActivity()",
awToolTip: "View Activity Stream",

View File

@ -98,6 +98,12 @@ angular.module('InventoryHostsDefinition', [])
ngHide: '!selected_group_id', //disable when 'All Hosts' selected
awToolTip: "Create a new host"
},
refresh: {
mode: 'all',
awToolTip: "Refresh the page",
ngClick: "refreshGroups()",
ngShow: "socketStatus == 'error'"
},
stream: {
ngClick: "showHostActivity()",
awToolTip: "View Activity Stream",