Moving style into css
Этот коммит содержится в:
@@ -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;
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user