UI: rename "logs" page to "telemetries", remove island log download

"Logs" page displayed agent telemetries and islands' log download button. This is inconsistent, page should either offer the download of all logs or only show telemetries.
This commit is contained in:
vakarisz 2022-01-31 11:02:49 +02:00
parent 3d25c56a6e
commit e74bb92432
2 changed files with 2 additions and 10 deletions

View File

@ -91,7 +91,7 @@ const SideNavComponent = ({disabled,
</NavLink></li>
<li><NavLink to='/infection/telemetry'
className={getNavLinkClass()}>
Logs
Telemetries
</NavLink></li>
</ul>

View File

@ -4,7 +4,6 @@ import AuthService from '../../services/AuthService';
import TelemetryLogTable from '../ui-components/TelemetryLogTable'
import '../../styles/pages/TelemetryPage.scss';
import {IslandLogDownloadButton} from '../ui-components/LogDownloadButtons';
class TelemetryPageComponent extends React.Component {
@ -23,16 +22,9 @@ class TelemetryPageComponent extends React.Component {
lg={{offset: 3, span: 9}} xl={{offset: 2, span: 7}}
className={'main'}>
<div>
<h1 className="page-title">Logs</h1>
<h1 className="page-title">Agent telemetries</h1>
<TelemetryLogTable/>
</div>
<div>
<h1 className="page-title"> Monkey Island Logs </h1>
<div className="text-center" style={{marginBottom: '20px'}}>
<p style={{'marginBottom': '2em', 'fontSize': '1.2em'}}> Download Monkey Island internal log file </p>
<IslandLogDownloadButton url={'/api/log/island/download'}/>
</div>
</div>
</Col>
);
}