excise system tracking and fix list action layout stuff

This commit is contained in:
John Mitchell 2017-07-19 16:25:01 -04:00
parent 4b168f5f1c
commit 3db571d26c
4 changed files with 14 additions and 29 deletions

View File

@ -485,7 +485,7 @@ table, tbody {
}
}
@media (max-width: 600px) {
@media (max-width: 700px) {
.List-header {
flex-direction: column;
align-items: stretch;
@ -502,8 +502,13 @@ table, tbody {
.List-well {
margin-top: 20px;
}
.List-action:not(.ng-hide) ~ .List-action:not(.ng-hide) {
margin-left: 0;
.List-action {
margin-left: 20px;
}
.List-actionsInner {
margin-left: -20px;
}
}

View File

@ -104,19 +104,6 @@ export default ['i18n', function(i18n) {
// TODO: we don't always want to show this
ngShow: true
},
system_tracking: {
buttonContent: i18n._('System Tracking'),
ngClick: 'systemTracking()',
awToolTip: i18n._("Select one or two hosts by clicking the checkbox beside the host. System tracking offers the ability to compare the results of two scan runs from different dates on one host or the same date on two hosts."),
dataTipWatch: "systemTrackingTooltip",
dataPlacement: 'top',
awFeature: 'system_tracking',
actionClass: 'btn List-buttonDefault system-tracking',
ngDisabled: 'systemTrackingDisabled || !hostsSelected',
showTipWhenDisabled: true,
tooltipInnerClass: "Tooltip-wide",
ngShow: true
},
refresh: {
mode: 'all',
awToolTip: i18n._("Refresh the page"),

View File

@ -117,19 +117,6 @@ export default ['i18n', function(i18n) {
// TODO: we don't always want to show this
ngShow: true
},
system_tracking: {
buttonContent: i18n._('System Tracking'),
ngClick: 'systemTracking()',
awToolTip: i18n._("Select one or two hosts by clicking the checkbox beside the host. System tracking offers the ability to compare the results of two scan runs from different dates on one host or the same date on two hosts."),
dataTipWatch: "systemTrackingTooltip",
dataPlacement: 'top',
awFeature: 'system_tracking',
actionClass: 'btn List-buttonDefault system-tracking',
ngDisabled: 'systemTrackingDisabled || !hostsSelected',
showTipWhenDisabled: true,
tooltipInnerClass: "Tooltip-wide",
ngShow: true
},
create: {
mode: 'all',
ngClick: "createHost()",

View File

@ -243,3 +243,9 @@
width: 100%;
}
}
@media (max-width: 700px) {
.SmartSearch-bar {
width: 100%;
}
}