-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6523db2
commit 8c31a81
Showing
5 changed files
with
144 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
27 changes: 27 additions & 0 deletions
27
app/jenkins-for-jira-ui/src/components/ConnectionWizard/ConnectionWizard.styles.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { css } from '@emotion/css'; | ||
import { token } from '@atlaskit/tokens'; | ||
// import { token } from '@atlaskit/tokens'; | ||
|
||
export const connectionWizardContainer = css` | ||
align-items: center; | ||
display: flex; | ||
flex-direction: column; | ||
height: 100vh; | ||
justify-content: center; | ||
width: 496px; | ||
`; | ||
|
||
export const connectionWizardInfoBox = css` | ||
background-color: #F7F8F9; | ||
display: flex; | ||
margin-left: ${token('space.100')}; | ||
padding: ${token('space.250')}; | ||
[role=img] { | ||
margin-right: ${token('space.100')}; | ||
} | ||
p { | ||
margin-top: ${token('space.0')}; | ||
} | ||
`; |
28 changes: 28 additions & 0 deletions
28
app/jenkins-for-jira-ui/src/components/ConnectionWizard/ConnectionWizard.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import React from 'react'; | ||
import { cx } from '@emotion/css'; | ||
import PeopleGroup from '@atlaskit/icon/glyph/people-group'; | ||
import { connectionWizardContainer, connectionWizardInfoBox } from './ConnectionWizard.styles'; | ||
|
||
const ConnectionWizard = (): JSX.Element => { | ||
return ( | ||
<div className={cx(connectionWizardContainer)}> | ||
<h3>Connect Jenkins to Jira</h3> | ||
<p>To complete this connection you'll need:</p> | ||
|
||
<ol> | ||
<li>An active Jenkins server</li> | ||
<li>Team knowledge</li> | ||
<li>The help of your Jenkins admin</li> | ||
</ol> | ||
|
||
<div className={cx(connectionWizardInfoBox)}> | ||
<PeopleGroup label="people-group" /> | ||
<p> | ||
Not sure who should use this guide? It depends how your teams use Jenkins. | ||
</p> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export { ConnectionWizard }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters