Skip to content

Commit

Permalink
feat(ZNTA-2093) added no version content
Browse files Browse the repository at this point in the history
  • Loading branch information
kgough committed Aug 23, 2017
1 parent 69789e2 commit 95c88c4
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 37 deletions.
Expand Up @@ -434,21 +434,21 @@ storiesOf('VersionTMMergeModal', module)
<ListGroup className="checkbox">
<ListGroupItem className='list-group-item'
title='target project'>
<Checkbox checked inline><Icon name='project'
<Checkbox inline><Icon name='project'
className='s0 tmx-icon'/>
Project A</Checkbox>
</ListGroupItem>
</ListGroup>
</h3>}>
<ListGroup fill>
<ListGroupItem className='v' title='target version'>
<Checkbox checked inline><Icon name='version'
<Checkbox inline><Icon name='version'
className='s0 tmx-icon'/>
Version 1 <Icon name='locked' className='s0 icon-locked'/></Checkbox>

</ListGroupItem>
<ListGroupItem className='v' title='target version'>
<Checkbox checked inline><Icon name='version'
<Checkbox inline><Icon name='version'
className='s0 tmx-icon'/>
Version 2 <Icon name='locked' className='s0 icon-locked'/></Checkbox>

Expand All @@ -464,40 +464,8 @@ storiesOf('VersionTMMergeModal', module)
</div>
</Col>
<Col xs={6}>
<span className="vmerge-adjtitle vmerge-title">
Adjust priority of selected versions
</span><br/>
<span className="text-muted vmerge-adjsub">(best first)
<OverlayTrigger placement='right' overlay={tooltip2}>
<Button bsStyle="link" className="tooltip-btn">
<Icon name="info" className="s0 info-icon" />
</Button>
</OverlayTrigger>
</span>
<ListGroup fill>
<ListGroupItem className='v'>
<Icon name='menu' className='n1 drag-handle'/>
Version 1 <Icon name='locked' className='s0 icon-locked'/>
<br /><span className='text-muted'> Project A
</span>
{" "}
<Button bsSize='xsmall' className='close rm-version-btn'>
<Icon name='cross' className='n2 crossicon'
title='remove version'/>
</Button>
</ListGroupItem>
<ListGroupItem className='v'>
<Icon name='menu' className='n1 drag-handle'/>
Version 2 <Icon name='locked' className='s0 icon-locked'/>
<br /><span className='text-muted'> Project A
</span>
{" "}
<Button bsSize='xsmall' className='close rm-version-btn'>
<Icon name='cross' className='n2 crossicon'
title='remove version'/>
</Button>
</ListGroupItem>
</ListGroup>
<span className="no-v text-muted">Please select versions to sort<br />
<Icon name="version" className="s8" /></span>
</Col>
<Col xs={12} className="validations">
<Col xs={12} md={4}>
Expand Down
Expand Up @@ -295,3 +295,16 @@ li.list-group-item.to .item .tmx-icon {
padding-top: 1.5rem;
font-size: 1.1rem;
}

.no-v {
display: flex;
flex-direction: column;
align-items: center;
padding-top: 2rem;
font-weight: 500;
font-size: 1.1rem;
}

.no-v .s8 {
margin-top: 1rem;
}

0 comments on commit 95c88c4

Please sign in to comment.