File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
resources/scripts/components/server/databases Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ export default ({ database }: { database: ServerDatabase }) => {
2828 </ div >
2929 < div className = { 'ml-6' } >
3030 < button className = { 'btn btn-sm btn-secondary mr-2' } >
31- < FontAwesomeIcon icon = { faEye } />
31+ < FontAwesomeIcon icon = { faEye } fixedWidth = { true } />
3232 </ button >
3333 < button className = { 'btn btn-sm btn-secondary btn-red' } >
34- < FontAwesomeIcon icon = { faTrashAlt } />
34+ < FontAwesomeIcon icon = { faTrashAlt } fixedWidth = { true } />
3535 </ button >
3636 </ div >
3737 </ div >
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default () => {
3131 } , [ ] ) ;
3232
3333 return (
34- < div className = { 'my-10' } >
34+ < div className = { 'my-10 mb-6 ' } >
3535 < FlashMessageRender byKey = { 'databases' } />
3636 { loading ?
3737 < Spinner large = { true } centered = { true } />
@@ -41,8 +41,15 @@ export default () => {
4141 { databases . length > 0 ?
4242 databases . map ( database => < DatabaseRow key = { database . id } database = { database } /> )
4343 :
44- < p className = { 'text-sm text-neutral-200' } > No databases. :(</ p >
44+ < p className = { 'text-center text-sm text-neutral-200' } >
45+ It looks like you have no databases. Click the button below to create one now.
46+ </ p >
4547 }
48+ < div className = { 'mt-6 text-right' } >
49+ < button className = { 'btn btn-primary btn-lg' } >
50+ Create Database
51+ </ button >
52+ </ div >
4653 </ React . Fragment >
4754 </ CSSTransition >
4855 }
You can’t perform that action at this time.
0 commit comments