This commit is contained in:
Belen Curcio
2017-01-27 14:55:55 -03:00
parent 58c4d5ceb5
commit 1778c19f6a
3 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ const UserBox = ({className, user, logout, changeTab}) => (
<div className={`${styles.userBox} ${className ? className : ''}`}>
{lang.t('signIn.loggedInAs')}
<a onClick={() => changeTab(1)}>{user.displayName}</a>. {lang.t('signIn.notYou')}
<a onClick={logout} id='logout'>{lang.t('signIn.logout')}</a>
<a className={styles.logout} onClick={logout} id='logout'>{lang.t('signIn.logout')}</a>
</div>
);
+4 -1
View File
@@ -115,7 +115,10 @@ input.error{
margin: 0px;
margin-left: 4px;
padding-bottom: 2px;
border-bottom: solid 1px black;
}
.userBox .logout {
border-bottom: solid 1px black;
}
.attention {
+2 -2
View File
@@ -1,9 +1,9 @@
import React from 'react';
import styles from './Checkbox.css';
export default ({name, cStyle = 'base', onChange, label, className, info, ...props}) => (
export default ({name, cStyle = 'base', onChange, label, className, info, ...attrs}) => (
<label className={`${styles.label} ${styles[`type--${cStyle}`]} ${className}`} htmlFor={name}>
<input type="checkbox" id={name} name={name} onChange={onChange} {...props} />
<input type="checkbox" id={name} name={name} onChange={onChange} {...attrs} />
<span className={styles.checkbox}></span>
{label && <span>{label}</span>}
{info && (