Skip to content

Commit

Permalink
Moved user heads to left side of the user container
Browse files Browse the repository at this point in the history
  • Loading branch information
AuroraLS3 committed Jun 18, 2018
1 parent 194d27e commit eb91cba
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
3 changes: 1 addition & 2 deletions react/dashboard/src/views/Users/User.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,8 @@ class User extends React.Component {
<Media body>
<Row onClick={this.toggle} title={'Click to ' + (open ? 'Collapse' : 'Open')}>
<Col md='8'>
<img className='float-left' style={{ padding: 0, alignContent: 'center', width: '25px' }} src={`https://visage.surgeplay.com/face/30/${user.name}`}></img>
<span className='float-left'>
<h5 style={{ padding: 0, paddingLeft: 5 }}>
<h5 style={{ padding: 0 }}>
{(
hasUnexistingGroups ? <span title='Group does not exist' style={{ color: '#b71c1c' }}>{user.name} <Icon i='fa fa-warning' /> </span>
: user.name + ' '
Expand Down
6 changes: 5 additions & 1 deletion react/dashboard/src/views/Users/Users.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,14 @@ class Users extends Component {
after: <span>
<BiggerDuplicateButton duplicate={() => this.props.duplicateUser(user, prompt('Name of the duplicated user'))} />
<BiggerRemoveButton remove={() => this.props.removeUser(user)} />
</span>
</span>,
name: user.name
}
}).map((user, indx) => (
<Media key={indx}>
<Media>
<img style={{ padding: 0, alignContent: 'center', width: '55px' }} src={`https://visage.surgeplay.com/face/50/${user.name}`}></img>
</Media>
<Media body>
<ListGroupItem >
<Row>
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/web/index.bundle.js

Large diffs are not rendered by default.

0 comments on commit eb91cba

Please sign in to comment.