move Create Entitlement button up and shrink username search bar
This commit is contained in:
@@ -7,7 +7,7 @@ import EntitlementSupportTableContainer from '../Table/EntitlementSupportTableCo
|
||||
import EntitlementFormContainer from '../EntitlementForm/container.jsx';
|
||||
|
||||
const Main = props => (
|
||||
<div>
|
||||
<div className="entitlement-support-wrapper">
|
||||
<StatusAlert
|
||||
alertType="danger"
|
||||
dialog={props.errorMessage}
|
||||
@@ -28,15 +28,17 @@ const Main = props => (
|
||||
const MainContent = (props) => {
|
||||
if (props.isFormOpen) {
|
||||
return <EntitlementFormContainer />;
|
||||
}
|
||||
}
|
||||
return (
|
||||
<div>
|
||||
<SearchContainer />
|
||||
<Button
|
||||
className={['btn', 'btn-primary']}
|
||||
label="Create New Entitlement"
|
||||
onClick={props.openCreationForm}
|
||||
/>
|
||||
<div className="actions">
|
||||
<SearchContainer />
|
||||
<Button
|
||||
className={['btn', 'btn-primary']}
|
||||
label="Create New Entitlement"
|
||||
onClick={props.openCreationForm}
|
||||
/>
|
||||
</div>
|
||||
<EntitlementSupportTableContainer ecommerceUrl={props.ecommerceUrl} />
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -24,7 +24,7 @@ class Search extends React.Component {
|
||||
|
||||
render() {
|
||||
return (
|
||||
<form onSubmit={this.handleSubmit}>
|
||||
<form onSubmit={this.handleSubmit} className="col-md-3 search-form">
|
||||
<InputText
|
||||
name="username"
|
||||
label="Search by Username"
|
||||
|
||||
Reference in New Issue
Block a user