From: Ambroise C Date: Fri, 5 Jan 2024 15:28:03 +0000 (+0100) Subject: Address PR comments X-Git-Tag: 10.4.0.87286~206 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=91e8f72e649f6258f8e159c8b28f989ed51fecfb;p=sonarqube.git Address PR comments --- diff --git a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx index dac43387268..c1f776c0154 100644 --- a/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx +++ b/server/sonar-web/src/main/js/apps/maintenance/components/App.tsx @@ -18,7 +18,7 @@ * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ import styled from '@emotion/styled'; -import { ButtonPrimary, Link, Title, themeBorder } from 'design-system'; +import { ButtonPrimary, Card, Link, Note, Spinner, Title } from 'design-system'; import * as React from 'react'; import { Helmet } from 'react-helmet-async'; import { FormattedMessage } from 'react-intl'; @@ -138,7 +138,7 @@ export default class App extends React.PureComponent { <>
- + {status === 'OFFLINE' && ( <> @@ -175,7 +175,7 @@ export default class App extends React.PureComponent { - + )} @@ -276,13 +276,13 @@ export default class App extends React.PureComponent { {translate('background_tasks.table.started')}{' '}
- + - + )} - + )} @@ -306,18 +306,13 @@ export default class App extends React.PureComponent { {translate('maintenance.upgrade_failed.text')} )} -
+
); } } -const MaintenanceContainer = styled.div` - border: ${themeBorder('default')}; - width: 400px; -`; - const MaintenanceTitle = styled(Title)` text-align: center; margin-bottom: 2.5rem;