More style cleanup for database listing
This commit is contained in:
parent
e3db564175
commit
bb3486f559
2 changed files with 11 additions and 4 deletions
|
@ -28,10 +28,10 @@ export default ({ database }: { database: ServerDatabase }) => {
|
|||
</div>
|
||||
<div className={'ml-6'}>
|
||||
<button className={'btn btn-sm btn-secondary mr-2'}>
|
||||
<FontAwesomeIcon icon={faEye}/>
|
||||
<FontAwesomeIcon icon={faEye} fixedWidth={true}/>
|
||||
</button>
|
||||
<button className={'btn btn-sm btn-secondary btn-red'}>
|
||||
<FontAwesomeIcon icon={faTrashAlt}/>
|
||||
<FontAwesomeIcon icon={faTrashAlt} fixedWidth={true}/>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -31,7 +31,7 @@ export default () => {
|
|||
}, []);
|
||||
|
||||
return (
|
||||
<div className={'my-10'}>
|
||||
<div className={'my-10 mb-6'}>
|
||||
<FlashMessageRender byKey={'databases'}/>
|
||||
{loading ?
|
||||
<Spinner large={true} centered={true}/>
|
||||
|
@ -41,8 +41,15 @@ export default () => {
|
|||
{databases.length > 0 ?
|
||||
databases.map(database => <DatabaseRow key={database.id} database={database}/>)
|
||||
:
|
||||
<p className={'text-sm text-neutral-200'}>No databases. :(</p>
|
||||
<p className={'text-center text-sm text-neutral-200'}>
|
||||
It looks like you have no databases. Click the button below to create one now.
|
||||
</p>
|
||||
}
|
||||
<div className={'mt-6 text-right'}>
|
||||
<button className={'btn btn-primary btn-lg'}>
|
||||
Create Database
|
||||
</button>
|
||||
</div>
|
||||
</React.Fragment>
|
||||
</CSSTransition>
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue