Skip to content

Commit

Permalink
chore(ui): cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
polonel committed Apr 19, 2019
1 parent 81adab7 commit e98bc56
Showing 1 changed file with 25 additions and 17 deletions.
42 changes: 25 additions & 17 deletions src/client/containers/Departments/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,16 @@ class DepartmentsContainer extends React.Component {
<table className={'uk-table uk-table-striped sticky-header fixed-width'}>
<thead>
<tr>
<th style={{ width: 50, height: 50, verticalAlign: 'middle' }} />
<th style={{ width: '35%', verticalAlign: 'middle', fontSize: 12, textTransform: 'uppercase' }}>
{/*<th style={{ width: 50, height: 50, verticalAlign: 'middle' }} />*/}
<th
style={{
width: '35%',
verticalAlign: 'middle',
fontSize: 12,
textTransform: 'uppercase',
padding: '8px 8px 8px 27px'
}}
>
Name
</th>
<th style={{ verticalAlign: 'middle', fontSize: 12, textTransform: 'uppercase' }}>Teams</th>
Expand All @@ -109,21 +117,21 @@ class DepartmentsContainer extends React.Component {
{this.props.departments.map(department => {
return (
<tr key={department.get('_id')}>
<td style={{ padding: '17px 18px', verticalAlign: 'middle' }}>
<input
type='checkbox'
id={'c_' + department.get('_id')}
style={{ display: 'none' }}
className='svgcheckinput'
/>
<label htmlFor={'c_' + department.get('_id')} className='svgcheck'>
<svg width='16px' height='16px' viewBox='0 0 18 18'>
<path d='M1,9 L1,3.5 C1,2 2,1 3.5,1 L14.5,1 C16,1 17,2 17,3.5 L17,14.5 C17,16 16,17 14.5,17 L3.5,17 C2,17 1,16 1,14.5 L1,9 Z' />
<polyline points='1 9 7 14 15 4' />
</svg>
</label>
</td>
<td style={{ verticalAlign: 'middle' }}>
{/*<td style={{ padding: '17px 18px', verticalAlign: 'middle' }}>*/}
{/* <input*/}
{/* type='checkbox'*/}
{/* id={'c_' + department.get('_id')}*/}
{/* style={{ display: 'none' }}*/}
{/* className='svgcheckinput'*/}
{/* />*/}
{/* <label htmlFor={'c_' + department.get('_id')} className='svgcheck'>*/}
{/* <svg width='16px' height='16px' viewBox='0 0 18 18'>*/}
{/* <path d='M1,9 L1,3.5 C1,2 2,1 3.5,1 L14.5,1 C16,1 17,2 17,3.5 L17,14.5 C17,16 16,17 14.5,17 L3.5,17 C2,17 1,16 1,14.5 L1,9 Z' />*/}
{/* <polyline points='1 9 7 14 15 4' />*/}
{/* </svg>*/}
{/* </label>*/}
{/*</td>*/}
<td style={{ verticalAlign: 'middle', padding: '8px 8px 8px 26px' }}>
<div style={{ fontWeight: '500' }}>{department.get('name')}</div>
</td>
<td style={{ verticalAlign: 'middle' }}>
Expand Down

0 comments on commit e98bc56

Please sign in to comment.