/>
<DeferredSpinner loading={loading}>
- {!selectedAlmInstance && (
+ {!loading && !selectedAlmInstance && (
<WrongBindingCountAlert alm={AlmKeys.BitbucketServer} canAdmin={!!canAdmin} />
)}
- {selectedAlmInstance &&
+ {!loading &&
+ selectedAlmInstance &&
(showPersonalAccessTokenForm ? (
<BitbucketServerPersonalAccessTokenForm
almSetting={selectedAlmInstance}
const { creatingAlmDefinition } = this.state;
const mode: CreateProjectModes | undefined = location.query?.mode;
const isProjectSetupDone = location.query?.setncd === 'true';
+ const gridLayoutStyle = mode ? 'sw-col-start-2 sw-col-span-10' : 'sw-col-span-12';
return (
- <LargeCenteredLayout className="sw-pt-8">
- <Helmet title={translate('onboarding.create_project.select_method')} titleTemplate="%s" />
- <A11ySkipTarget anchor="create_project_main" />
+ <LargeCenteredLayout
+ id="create-project"
+ className="sw-pt-8 sw-grid sw-gap-x-12 sw-gap-y-6 sw-grid-cols-12"
+ >
+ <div className={gridLayoutStyle}>
+ <Helmet title={translate('onboarding.create_project.select_method')} titleTemplate="%s" />
+ <A11ySkipTarget anchor="create_project_main" />
- <div id="create-project">
<div className={classNames({ 'sw-hidden': isProjectSetupDone })}>
{this.renderProjectCreation(mode)}
</div>