mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-27 04:21:27 +02:00
Fix build, Add some color
This commit is contained in:
@@ -16,20 +16,20 @@ function Settings() {
|
||||
<PageContentBody>
|
||||
<Link
|
||||
className={styles.link}
|
||||
to="/settings/indexers"
|
||||
to="/settings/applications"
|
||||
>
|
||||
{translate('Indexers')}
|
||||
Applications
|
||||
</Link>
|
||||
|
||||
<div className={styles.summary}>
|
||||
{translate('IndexersSettingsSummary')}
|
||||
Applications and settings to configure how prowlarr interacts with your PVR programs
|
||||
</div>
|
||||
|
||||
<Link
|
||||
className={styles.link}
|
||||
to="/settings/connect"
|
||||
>
|
||||
{translate('Connect')}
|
||||
Notifications
|
||||
</Link>
|
||||
|
||||
<div className={styles.summary}>
|
||||
|
@@ -43,11 +43,6 @@ export const timeFormatOptions = [
|
||||
{ key: 'HH:mm', value: '17:00/17:30' }
|
||||
];
|
||||
|
||||
export const movieRuntimeFormatOptions = [
|
||||
{ key: 'hoursMinutes', value: '1h 15m' },
|
||||
{ key: 'minutes', value: '75 mins' }
|
||||
];
|
||||
|
||||
class UISettings extends Component {
|
||||
|
||||
//
|
||||
@@ -120,20 +115,6 @@ class UISettings extends Component {
|
||||
</FormGroup>
|
||||
</FieldSet>
|
||||
|
||||
<FieldSet legend={translate('Movies')}>
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('SettingsRuntimeFormat')}</FormLabel>
|
||||
|
||||
<FormInputGroup
|
||||
type={inputTypes.SELECT}
|
||||
name="movieRuntimeFormat"
|
||||
values={movieRuntimeFormatOptions}
|
||||
onChange={onInputChange}
|
||||
{...settings.movieRuntimeFormat}
|
||||
/>
|
||||
</FormGroup>
|
||||
</FieldSet>
|
||||
|
||||
<FieldSet legend={translate('Dates')}>
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('SettingsShortDateFormat')}</FormLabel>
|
||||
@@ -197,19 +178,6 @@ class UISettings extends Component {
|
||||
</FieldSet>
|
||||
|
||||
<FieldSet legend={translate('Language')}>
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('MovieInfoLanguage')}</FormLabel>
|
||||
<FormInputGroup
|
||||
type={inputTypes.SELECT}
|
||||
name="movieInfoLanguage"
|
||||
values={languages}
|
||||
helpText={translate('MovieInfoLanguageHelpText')}
|
||||
helpTextWarning={translate('MovieInfoLanguageHelpTextWarning')}
|
||||
onChange={onInputChange}
|
||||
{...settings.movieInfoLanguage}
|
||||
/>
|
||||
</FormGroup>
|
||||
|
||||
<FormGroup>
|
||||
<FormLabel>{translate('UILanguage')}</FormLabel>
|
||||
<FormInputGroup
|
||||
|
Reference in New Issue
Block a user