mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 19:28:09 +00:00
improved admin dashboard UI
This commit is contained in:
committed by
Akhil Mohan
parent
8f85f292db
commit
e850b82fb3
@@ -119,9 +119,12 @@ export const AdminDashboardPage = () => {
|
|||||||
className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"
|
className="mb-6 rounded-lg border border-mineshaft-600 bg-mineshaft-900 p-4"
|
||||||
onSubmit={handleSubmit(onFormSubmit)}
|
onSubmit={handleSubmit(onFormSubmit)}
|
||||||
>
|
>
|
||||||
<div className="flex justify-between">
|
<div className="flex flex-col justify-start">
|
||||||
<div className="mb-4 text-xl font-semibold text-mineshaft-100">
|
<div className="mb-2 text-xl font-semibold text-mineshaft-100">
|
||||||
Allow user sign up
|
Allow user signups
|
||||||
|
</div>
|
||||||
|
<div className="mb-4 text-sm max-w-sm text-mineshaft-400">
|
||||||
|
Select if you want users to be able to signup freely into your Infisical instance.
|
||||||
</div>
|
</div>
|
||||||
<Controller
|
<Controller
|
||||||
control={control}
|
control={control}
|
||||||
@@ -147,9 +150,9 @@ export const AdminDashboardPage = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
{signupMode === "anyone" && (
|
{signupMode === "anyone" && (
|
||||||
<div className="mt-4 flex items-center justify-between">
|
<div className="mt-8 mb-8 flex flex-col justify-start">
|
||||||
<div className="mb-4 flex text-mineshaft-100">
|
<div className="mb-4 text-xl font-semibold text-mineshaft-100">
|
||||||
Restrict sign up by email domain(s)
|
Restrict signup by email domain(s)
|
||||||
</div>
|
</div>
|
||||||
<Controller
|
<Controller
|
||||||
control={control}
|
control={control}
|
||||||
|
|||||||
Reference in New Issue
Block a user