Этот коммит содержится в:
=Corey Hulen
2015-09-15 09:19:29 -07:00
родитель 9a3f67a9c9
Коммит 23a1311ef5
3 изменённых файлов: 14 добавлений и 14 удалений

Просмотреть файл

@@ -329,9 +329,9 @@ Usage:
platform -create_user -team_name="name" -email="user@example.com" -password="mypassword" platform -create_user -team_name="name" -email="user@example.com" -password="mypassword"
-assign_role Assigns role to a user. It requres the -role, -assign_role Assigns role to a user. It requres the -role,
-email and -team_name flag. If you're assigning the -email and -team_name flag. You may need to logout
role="system_admin" role it must be for a user on the of your current sessions for the new role to be
team_name="admin" applied.
Example: Example:
platform -assign_role -team_name="name" -email="user@example.com" -role="admin" platform -assign_role -team_name="name" -email="user@example.com" -role="admin"

Просмотреть файл

@@ -69,16 +69,6 @@ export default class Logs extends React.Component {
} }
} }
var divStyle = {
overflow: 'scroll',
width: '100%',
height: '800px',
border: '1px solid #ddd',
marginTop: '10px',
padding: '5px',
backgroundColor: 'white'
};
return ( return (
<div className='panel'> <div className='panel'>
<h3>{'Server Logs'}</h3> <h3>{'Server Logs'}</h3>
@@ -89,7 +79,7 @@ export default class Logs extends React.Component {
> >
{'Reload'} {'Reload'}
</button> </button>
<div style={divStyle}> <div className='log__panel'>
{content} {content}
</div> </div>
</div> </div>

Просмотреть файл

@@ -73,6 +73,16 @@
} }
} }
.log__panel {
overflow: scroll;
width: 100%;
height: 800px;
border: 1px solid #ddd;
margin-top: 10px;
padding: 5px;
background-color: white;
}
.app__content { .app__content {
&.admin { &.admin {
overflow: auto; overflow: auto;