mirror of
https://github.com/sct/overseerr.git
synced 2025-09-17 17:24:35 +02:00
fix(frontend): fix modal design and rename some text for adding servers
This commit is contained in:
@@ -116,7 +116,11 @@ const Modal: React.FC<ModalProps> = ({
|
|||||||
{iconSvg}
|
{iconSvg}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="mt-3 text-center sm:mt-0 sm:text-left mb-6">
|
<div
|
||||||
|
className={`mt-3 text-center sm:mt-0 sm:text-left ${
|
||||||
|
iconSvg ? 'sm:ml-4' : 'mb-6'
|
||||||
|
}`}
|
||||||
|
>
|
||||||
{title && (
|
{title && (
|
||||||
<h3
|
<h3
|
||||||
className="text-lg leading-6 font-medium text-white"
|
className="text-lg leading-6 font-medium text-white"
|
||||||
|
@@ -186,7 +186,7 @@ const RadarrModal: React.FC<RadarrModalProps> = ({
|
|||||||
? 'Saving...'
|
? 'Saving...'
|
||||||
: !!radarr
|
: !!radarr
|
||||||
? 'Save Changes'
|
? 'Save Changes'
|
||||||
: 'Create Instance'
|
: 'Add Server'
|
||||||
}
|
}
|
||||||
secondaryButtonType="warning"
|
secondaryButtonType="warning"
|
||||||
secondaryText={isTesting ? 'Testing...' : 'Test'}
|
secondaryText={isTesting ? 'Testing...' : 'Test'}
|
||||||
|
@@ -252,7 +252,7 @@ const SettingsServices: React.FC = () => {
|
|||||||
clipRule="evenodd"
|
clipRule="evenodd"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
Add New Radarr Instance
|
Add Radarr Server
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
@@ -314,7 +314,7 @@ const SettingsServices: React.FC = () => {
|
|||||||
clipRule="evenodd"
|
clipRule="evenodd"
|
||||||
/>
|
/>
|
||||||
</svg>
|
</svg>
|
||||||
Add New Sonarr Instance
|
Add Sonarr Server
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
@@ -186,7 +186,7 @@ const SonarrModal: React.FC<SonarrModalProps> = ({
|
|||||||
? 'Saving...'
|
? 'Saving...'
|
||||||
: !!sonarr
|
: !!sonarr
|
||||||
? 'Save Changes'
|
? 'Save Changes'
|
||||||
: 'Create Instance'
|
: 'Add Server'
|
||||||
}
|
}
|
||||||
secondaryButtonType="warning"
|
secondaryButtonType="warning"
|
||||||
secondaryText={isTesting ? 'Testing...' : 'Test'}
|
secondaryText={isTesting ? 'Testing...' : 'Test'}
|
||||||
|
Reference in New Issue
Block a user