mirror of
https://github.com/Prowlarr/Prowlarr.git
synced 2025-09-17 17:14:18 +02:00
Fix build, Add some color
This commit is contained in:
@@ -132,7 +132,7 @@ CircularProgressBar.defaultProps = {
|
|||||||
containerClassName: styles.circularProgressBarContainer,
|
containerClassName: styles.circularProgressBarContainer,
|
||||||
size: 60,
|
size: 60,
|
||||||
strokeWidth: 5,
|
strokeWidth: 5,
|
||||||
strokeColor: colors.prowlarrYellow,
|
strokeColor: colors.prowlarrOrange,
|
||||||
showProgressText: false
|
showProgressText: false
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -4,7 +4,8 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
flex: 0 0 auto;
|
flex: 0 0 auto;
|
||||||
height: $headerHeight;
|
height: $headerHeight;
|
||||||
background-color: #464b51;
|
background-color: $prowlarrOrange;
|
||||||
|
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
|
||||||
color: $white;
|
color: $white;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -16,8 +17,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.appTitle {
|
.appTitle {
|
||||||
|
display: none;
|
||||||
|
color: #555;
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
color: #fff
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.logoFull,
|
.logoFull,
|
||||||
|
@@ -49,8 +49,8 @@ const links = [
|
|||||||
to: '/settings',
|
to: '/settings',
|
||||||
children: [
|
children: [
|
||||||
{
|
{
|
||||||
title: translate('Indexers'),
|
title: translate('Apps'),
|
||||||
to: '/settings/indexers'
|
to: '/settings/applications'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: translate('Connect'),
|
title: translate('Connect'),
|
||||||
|
@@ -65,9 +65,6 @@ class MovieIndexRow extends Component {
|
|||||||
render() {
|
render() {
|
||||||
const {
|
const {
|
||||||
id,
|
id,
|
||||||
tmdbId,
|
|
||||||
imdbId,
|
|
||||||
youTubeTrailerId,
|
|
||||||
monitored,
|
monitored,
|
||||||
status,
|
status,
|
||||||
title,
|
title,
|
||||||
|
@@ -16,20 +16,20 @@ function Settings() {
|
|||||||
<PageContentBody>
|
<PageContentBody>
|
||||||
<Link
|
<Link
|
||||||
className={styles.link}
|
className={styles.link}
|
||||||
to="/settings/indexers"
|
to="/settings/applications"
|
||||||
>
|
>
|
||||||
{translate('Indexers')}
|
Applications
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<div className={styles.summary}>
|
<div className={styles.summary}>
|
||||||
{translate('IndexersSettingsSummary')}
|
Applications and settings to configure how prowlarr interacts with your PVR programs
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<Link
|
<Link
|
||||||
className={styles.link}
|
className={styles.link}
|
||||||
to="/settings/connect"
|
to="/settings/connect"
|
||||||
>
|
>
|
||||||
{translate('Connect')}
|
Notifications
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<div className={styles.summary}>
|
<div className={styles.summary}>
|
||||||
|
@@ -43,11 +43,6 @@ export const timeFormatOptions = [
|
|||||||
{ key: 'HH:mm', value: '17:00/17:30' }
|
{ 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 {
|
class UISettings extends Component {
|
||||||
|
|
||||||
//
|
//
|
||||||
@@ -120,20 +115,6 @@ class UISettings extends Component {
|
|||||||
</FormGroup>
|
</FormGroup>
|
||||||
</FieldSet>
|
</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')}>
|
<FieldSet legend={translate('Dates')}>
|
||||||
<FormGroup>
|
<FormGroup>
|
||||||
<FormLabel>{translate('SettingsShortDateFormat')}</FormLabel>
|
<FormLabel>{translate('SettingsShortDateFormat')}</FormLabel>
|
||||||
@@ -197,19 +178,6 @@ class UISettings extends Component {
|
|||||||
</FieldSet>
|
</FieldSet>
|
||||||
|
|
||||||
<FieldSet legend={translate('Language')}>
|
<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>
|
<FormGroup>
|
||||||
<FormLabel>{translate('UILanguage')}</FormLabel>
|
<FormLabel>{translate('UILanguage')}</FormLabel>
|
||||||
<FormInputGroup
|
<FormInputGroup
|
||||||
|
@@ -1,4 +1,4 @@
|
|||||||
const prowlarrYellow = '#aaa';
|
const prowlarrOrange = '#e66000';
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
textColor: '#515253',
|
textColor: '#515253',
|
||||||
@@ -17,7 +17,7 @@ module.exports = {
|
|||||||
queueColor: '#7a43b6',
|
queueColor: '#7a43b6',
|
||||||
purple: '#7a43b6',
|
purple: '#7a43b6',
|
||||||
pink: '#ff69b4',
|
pink: '#ff69b4',
|
||||||
prowlarrYellow,
|
prowlarrOrange,
|
||||||
helpTextColor: '#909293',
|
helpTextColor: '#909293',
|
||||||
darkGray: '#888',
|
darkGray: '#888',
|
||||||
gray: '#adadad',
|
gray: '#adadad',
|
||||||
@@ -26,7 +26,7 @@ module.exports = {
|
|||||||
|
|
||||||
// Theme Colors
|
// Theme Colors
|
||||||
|
|
||||||
themeBlue: prowlarrYellow,
|
themeBlue: prowlarrOrange,
|
||||||
themeRed: '#c4273c',
|
themeRed: '#c4273c',
|
||||||
themeDarkColor: '#595959',
|
themeDarkColor: '#595959',
|
||||||
themeLightColor: '#707070',
|
themeLightColor: '#707070',
|
||||||
|
Reference in New Issue
Block a user