mirror of
https://github.com/documenso/documenso.git
synced 2025-11-26 06:32:08 +10:00
Merge branch 'main' into settings-navbar-bug
This commit is contained in:
@ -90,12 +90,12 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
<Breadcrumb document={props.document} items={breadcrumbItems} />
|
<Breadcrumb document={props.document} items={breadcrumbItems} />
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-2 md:flex md:items-center md:justify-between">
|
<div className="mt-2 md:flex md:items-center md:justify-between">
|
||||||
<div className="min-w-0 flex-1">
|
<div className="flex-1 min-w-0">
|
||||||
<h2 className="text-2xl font-bold leading-7 text-gray-900 sm:truncate sm:text-3xl sm:tracking-tight">
|
<h2 className="text-2xl font-bold leading-7 text-gray-900 sm:truncate sm:text-3xl sm:tracking-tight">
|
||||||
{props.document.title}
|
{props.document.title}
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-4 flex flex-shrink-0 md:mt-0 md:ml-4">
|
<div className="flex flex-shrink-0 mt-4 md:mt-0 md:ml-4">
|
||||||
<Button
|
<Button
|
||||||
icon={ArrowDownTrayIcon}
|
icon={ArrowDownTrayIcon}
|
||||||
color="secondary"
|
color="secondary"
|
||||||
@ -137,12 +137,12 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="overflow-hidden rounded-md bg-white shadow mt-10 p-6">
|
<div className="p-6 mt-10 overflow-hidden bg-white rounded-md shadow">
|
||||||
<div className="border-b border-gray-200 pb-5">
|
<div className="pb-5 border-b border-gray-200">
|
||||||
<h3 className="text-lg font-medium leading-6 text-gray-900">
|
<h3 className="text-lg font-medium leading-6 text-gray-900">
|
||||||
Signers
|
Signers
|
||||||
</h3>
|
</h3>
|
||||||
<p className="mt-2 max-w-4xl text-sm text-gray-500">
|
<p className="max-w-4xl mt-2 text-sm text-gray-500">
|
||||||
The people who will sign the document.
|
The people who will sign the document.
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
@ -156,7 +156,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
{fields.map((item: any, index: number) => (
|
{fields.map((item: any, index: number) => (
|
||||||
<li
|
<li
|
||||||
key={index}
|
key={index}
|
||||||
className="px-0 py-4 w-full hover:bg-green-50 border-0 group"
|
className="w-full px-0 py-4 border-0 hover:bg-green-50 group"
|
||||||
>
|
>
|
||||||
<div id="container" className="flex w-full">
|
<div id="container" className="flex w-full">
|
||||||
<div
|
<div
|
||||||
@ -193,7 +193,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
documentId: props.document.id,
|
documentId: props.document.id,
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
className="block w-full border-0 p-0 text-gray-900 placeholder-gray-500 sm:text-sm outline-none bg-inherit"
|
className="block w-full p-0 text-gray-900 placeholder-gray-500 border-0 outline-none sm:text-sm bg-inherit"
|
||||||
placeholder="john.dorian@loremipsum.com"
|
placeholder="john.dorian@loremipsum.com"
|
||||||
/>
|
/>
|
||||||
{errors?.signers?.[index] ? (
|
{errors?.signers?.[index] ? (
|
||||||
@ -241,11 +241,11 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
documentId: props.document.id,
|
documentId: props.document.id,
|
||||||
});
|
});
|
||||||
}}
|
}}
|
||||||
className="block w-full border-0 p-0 text-gray-900 placeholder-gray-500 sm:text-sm outline-none bg-inherit"
|
className="block w-full p-0 text-gray-900 placeholder-gray-500 border-0 outline-none sm:text-sm bg-inherit"
|
||||||
placeholder="John Dorian"
|
placeholder="John Dorian"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="ml-auto flex">
|
<div className="flex ml-auto">
|
||||||
<div key={item.id}>
|
<div key={item.id}>
|
||||||
{item.sendStatus === "NOT_SENT" ? (
|
{item.sendStatus === "NOT_SENT" ? (
|
||||||
<span
|
<span
|
||||||
@ -301,7 +301,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="ml-auto flex mr-1">
|
<div className="flex ml-auto mr-1">
|
||||||
<IconButton
|
<IconButton
|
||||||
icon={PaperAirplaneIcon}
|
icon={PaperAirplaneIcon}
|
||||||
disabled={
|
disabled={
|
||||||
@ -311,7 +311,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
loading
|
loading
|
||||||
}
|
}
|
||||||
color="secondary"
|
color="secondary"
|
||||||
className="mr-4 h-9 my-auto"
|
className="my-auto mr-4 h-9"
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
if (confirm("Resend this signing request?")) {
|
if (confirm("Resend this signing request?")) {
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
@ -375,11 +375,11 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
leaveFrom="opacity-100"
|
leaveFrom="opacity-100"
|
||||||
leaveTo="opacity-0"
|
leaveTo="opacity-0"
|
||||||
>
|
>
|
||||||
<div className="fixed inset-0 bg-gray-500 bg-opacity-75 transition-opacity" />
|
<div className="fixed inset-0 transition-opacity bg-gray-500 bg-opacity-75" />
|
||||||
</Transition.Child>
|
</Transition.Child>
|
||||||
|
|
||||||
<div className="fixed inset-0 z-10 overflow-y-auto">
|
<div className="fixed inset-0 z-10 overflow-y-auto">
|
||||||
<div className="flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0">
|
<div className="flex items-end justify-center min-h-full p-4 text-center sm:items-center sm:p-0">
|
||||||
<Transition.Child
|
<Transition.Child
|
||||||
as={Fragment}
|
as={Fragment}
|
||||||
enter="ease-out duration-300"
|
enter="ease-out duration-300"
|
||||||
@ -389,11 +389,11 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
leaveFrom="opacity-100 translate-y-0 sm:scale-100"
|
leaveFrom="opacity-100 translate-y-0 sm:scale-100"
|
||||||
leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
leaveTo="opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95"
|
||||||
>
|
>
|
||||||
<Dialog.Panel className="relative transform overflow-hidden rounded-lg bg-white px-4 pt-5 pb-4 text-left shadow-xl transition-all sm:my-8 sm:w-full sm:max-w-lg sm:p-6">
|
<Dialog.Panel className="relative px-4 pt-5 pb-4 overflow-hidden text-left transition-all transform bg-white rounded-lg shadow-xl sm:my-8 sm:w-full sm:max-w-lg sm:p-6">
|
||||||
<div>
|
<div>
|
||||||
<div className="mx-auto flex h-12 w-12 items-center justify-center rounded-full bg-green-100">
|
<div className="flex items-center justify-center w-12 h-12 mx-auto bg-green-100 rounded-full">
|
||||||
<EnvelopeIcon
|
<EnvelopeIcon
|
||||||
className="h-6 w-6 text-green-600"
|
className="w-6 h-6 text-green-600"
|
||||||
aria-hidden="true"
|
aria-hidden="true"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@ -415,7 +415,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:gap-3">
|
<div className="flex justify-end gap-3 mt-5 sm:mt-6 sm:grid sm:grid-flow-row-dense sm:grid-cols-2 sm:flex-none ">
|
||||||
<Button color="secondary" onClick={() => setOpen(false)}>
|
<Button color="secondary" onClick={() => setOpen(false)}>
|
||||||
Cancel
|
Cancel
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user