Merge pull request #7172 from jlmitch5/exciseSystemTrackingUI

excise system tracking and fix list action layout stuff
This commit is contained in:
jlmitch5 2017-07-19 16:31:09 -04:00 committed by GitHub
commit 1c5b0f023e
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%;
}
}