ui(admin): add "working" React admin ui

This commit is contained in:
Matthew Penner 2022-12-15 19:06:14 -07:00
parent d1c7494933
commit 5402584508
No known key found for this signature in database
199 changed files with 13387 additions and 151 deletions

View file

@ -140,7 +140,7 @@ export default ({ backup }: Props) => {
Your server will be stopped. You will not be able to control the power state, access the file
manager, or create additional backups until completed.
</p>
<p css={tw`mt-4 -mb-2 bg-gray-700 p-3 rounded`}>
<p css={tw`mt-4 -mb-2 bg-slate-700 p-3 rounded`}>
<label htmlFor={'restore_truncate'} css={tw`text-base flex items-center cursor-pointer`}>
<Input
type={'checkbox'}
@ -169,7 +169,7 @@ export default ({ backup }: Props) => {
renderToggle={onClick => (
<button
onClick={onClick}
css={tw`text-gray-200 transition-colors duration-150 hover:text-gray-100 p-2`}
css={tw`text-slate-200 transition-colors duration-150 hover:text-slate-100 p-2`}
>
<FontAwesomeIcon icon={faEllipsisH} />
</button>
@ -211,7 +211,7 @@ export default ({ backup }: Props) => {
) : (
<button
onClick={() => setModal('delete')}
css={tw`text-gray-200 transition-colors duration-150 hover:text-gray-100 p-2`}
css={tw`text-slate-200 transition-colors duration-150 hover:text-slate-100 p-2`}
>
<FontAwesomeIcon icon={faTrashAlt} />
</button>