Fix build, Add some color

This commit is contained in:
Qstick
2020-10-19 13:15:50 -04:00
parent ad04d0d261
commit e671cce021
9 changed files with 14 additions and 47 deletions

View File

@@ -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}>

View File

@@ -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