mirror of
https://github.com/documenso/documenso.git
synced 2025-11-12 15:53:02 +10:00
ui
This commit is contained in:
@ -19,6 +19,7 @@ import {
|
|||||||
InformationCircleIcon,
|
InformationCircleIcon,
|
||||||
MapPinIcon,
|
MapPinIcon,
|
||||||
PaperAirplaneIcon,
|
PaperAirplaneIcon,
|
||||||
|
UserPlusIcon,
|
||||||
UsersIcon,
|
UsersIcon,
|
||||||
} from "@heroicons/react/24/outline";
|
} from "@heroicons/react/24/outline";
|
||||||
|
|
||||||
@ -107,9 +108,10 @@ const DocumentsDetailPage: NextPageWithLayout = (props: any) => {
|
|||||||
props.document.id +
|
props.document.id +
|
||||||
"/recipients"
|
"/recipients"
|
||||||
}
|
}
|
||||||
className="inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
|
className="ml-3 inline-flex items-center rounded-md border border-transparent bg-neon px-4 py-2 text-sm font-medium text-white shadow-sm bg-grey hover:bg-neon-dark focus:outline-none focus:ring-2 focus:neon-dark focus:ring-offset-2"
|
||||||
>
|
>
|
||||||
Edit Recipients
|
<UserPlusIcon className="inline text-white h-4 mr-1"></UserPlusIcon>
|
||||||
|
Add Recipients
|
||||||
</Link>
|
</Link>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
@ -123,7 +125,7 @@ const DocumentsDetailPage: NextPageWithLayout = (props: any) => {
|
|||||||
alert();
|
alert();
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
className="ml-3 inline-flex items-center rounded-md border border-transparent bg-neon px-4 py-2 text-sm font-medium text-white shadow-sm bg-grey hover:bg-neon-dark focus:outline-none focus:ring-2 focus:neon-dark focus:ring-offset-2"
|
className="ml-3 inline-flex items-center rounded-md border border-transparent bg-neon disabled:bg-gray-300 px-4 py-2 text-sm font-medium text-white shadow-sm bg-grey hover:bg-neon-dark focus:outline-none focus:ring-2 focus:neon-dark focus:ring-offset-2"
|
||||||
>
|
>
|
||||||
<PaperAirplaneIcon className="inline text-white w-4 mr-1"></PaperAirplaneIcon>
|
<PaperAirplaneIcon className="inline text-white w-4 mr-1"></PaperAirplaneIcon>
|
||||||
Send
|
Send
|
||||||
|
|||||||
@ -111,12 +111,6 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
<div className="mt-4 flex flex-shrink-0 md:mt-0 md:ml-4">
|
<div className="mt-4 flex flex-shrink-0 md:mt-0 md:ml-4">
|
||||||
<button
|
|
||||||
type="button"
|
|
||||||
className="inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 shadow-sm hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
|
|
||||||
>
|
|
||||||
Save and Close
|
|
||||||
</button>
|
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
disabled={(props?.document?.Recipient?.length || 0) === 0}
|
||||||
@ -130,7 +124,7 @@ const RecipientsPage: NextPageWithLayout = (props: any) => {
|
|||||||
toast.success("Document sent!");
|
toast.success("Document sent!");
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
className="ml-3 inline-flex items-center rounded-md border border-transparent bg-neon px-4 py-2 text-sm font-medium text-white shadow-sm bg-grey hover:bg-neon-dark focus:outline-none focus:ring-2 focus:neon-dark focus:ring-offset-2"
|
className="ml-3 inline-flex items-center rounded-md border border-transparent disabled:bg-gray-300 bg-neon px-4 py-2 text-sm font-medium text-white shadow-sm bg-grey hover:bg-neon-dark focus:outline-none focus:ring-2 focus:neon-dark focus:ring-offset-2"
|
||||||
>
|
>
|
||||||
<PaperAirplaneIcon className="inline text-white w-4 mr-1"></PaperAirplaneIcon>
|
<PaperAirplaneIcon className="inline text-white w-4 mr-1"></PaperAirplaneIcon>
|
||||||
Send
|
Send
|
||||||
|
|||||||
Reference in New Issue
Block a user