courrier multi account restore compose
This commit is contained in:
parent
d9ebe3d6fd
commit
d1c134da24
@ -778,9 +778,9 @@ export default function CourrierPage() {
|
||||
}}>
|
||||
<div>
|
||||
<Tabs defaultValue="imap" className="w-full">
|
||||
<TabsList className="grid w-full grid-cols-2 h-6 mb-0.5 bg-gray-200">
|
||||
<TabsTrigger value="imap" className="text-xs h-5 data-[state=active]:bg-black data-[state=active]:text-white">IMAP Settings</TabsTrigger>
|
||||
<TabsTrigger value="smtp" className="text-xs h-5 data-[state=active]:bg-black data-[state=active]:text-white">SMTP Settings</TabsTrigger>
|
||||
<TabsList className="grid w-full grid-cols-2 h-6 mb-0.5 bg-gray-100">
|
||||
<TabsTrigger value="imap" className="text-xs h-5 data-[state=active]:bg-blue-500 data-[state=active]:text-white">IMAP</TabsTrigger>
|
||||
<TabsTrigger value="smtp" className="text-xs h-5 data-[state=active]:bg-blue-500 data-[state=active]:text-white">SMTP</TabsTrigger>
|
||||
</TabsList>
|
||||
|
||||
<TabsContent value="imap" className="mt-0.5 space-y-0.5">
|
||||
@ -789,7 +789,7 @@ export default function CourrierPage() {
|
||||
id="email"
|
||||
name="email"
|
||||
placeholder="email@example.com"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
@ -799,7 +799,7 @@ export default function CourrierPage() {
|
||||
name="password"
|
||||
type="password"
|
||||
placeholder="•••••••••"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
@ -808,7 +808,7 @@ export default function CourrierPage() {
|
||||
id="display_name"
|
||||
name="display_name"
|
||||
placeholder="John Doe"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
@ -816,7 +816,7 @@ export default function CourrierPage() {
|
||||
id="host"
|
||||
name="host"
|
||||
placeholder="imap.example.com"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900"
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
@ -826,7 +826,7 @@ export default function CourrierPage() {
|
||||
id="port"
|
||||
name="port"
|
||||
placeholder="993"
|
||||
className="h-7 text-xs bg-white border-gray-300"
|
||||
className="h-7 text-xs bg-white border-gray-300 text-gray-900"
|
||||
defaultValue="993"
|
||||
required
|
||||
/>
|
||||
@ -846,7 +846,7 @@ export default function CourrierPage() {
|
||||
id="smtp_host"
|
||||
name="smtp_host"
|
||||
placeholder="smtp.example.com"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5"
|
||||
className="h-7 text-xs bg-white border-gray-300 mb-0.5 text-gray-900"
|
||||
/>
|
||||
</div>
|
||||
<div className="flex gap-1">
|
||||
@ -855,7 +855,7 @@ export default function CourrierPage() {
|
||||
id="smtp_port"
|
||||
name="smtp_port"
|
||||
placeholder="587"
|
||||
className="h-7 text-xs bg-white border-gray-300"
|
||||
className="h-7 text-xs bg-white border-gray-300 text-gray-900"
|
||||
defaultValue="587"
|
||||
/>
|
||||
</div>
|
||||
@ -875,7 +875,7 @@ export default function CourrierPage() {
|
||||
<div className="flex gap-1 mt-1">
|
||||
<Button
|
||||
type="submit"
|
||||
className="flex-1 h-7 text-xs bg-blue-500 hover:bg-blue-600 text-white rounded-md"
|
||||
className="flex-1 h-6 text-xs bg-blue-500 hover:bg-blue-600 text-white rounded-md px-2 py-0"
|
||||
disabled={loading}
|
||||
>
|
||||
{loading ? <Loader2 className="h-3 w-3 animate-spin mr-1" /> : null}
|
||||
@ -883,7 +883,7 @@ export default function CourrierPage() {
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
className="h-7 text-xs bg-black text-white hover:bg-gray-800 rounded-md"
|
||||
className="h-6 text-xs bg-gray-200 text-gray-800 hover:bg-gray-300 rounded-md px-2 py-0"
|
||||
onClick={() => setShowAddAccountForm(false)}
|
||||
>
|
||||
Cancel
|
||||
|
||||
Loading…
Reference in New Issue
Block a user