1
0
mirror of https://github.com/Sonarr/Sonarr.git synced 2026-04-25 22:46:31 -04:00

Metadata attribution for TheTVDB

This commit is contained in:
Mark McDowall
2020-11-15 14:10:48 -08:00
parent 00ab449ebe
commit ac8f6f339a
15 changed files with 136 additions and 3 deletions
@@ -0,0 +1,21 @@
import React from 'react';
import PageContent from 'Components/Page/PageContent';
import PageContentBody from 'Components/Page/PageContentBody';
import SettingsToolbarConnector from 'Settings/SettingsToolbarConnector';
import TheTvdb from './TheTvdb';
function MetadataSourceSettings() {
return (
<PageContent title="Metadata Source Settings">
<SettingsToolbarConnector
showSave={false}
/>
<PageContentBody>
<TheTvdb />
</PageContentBody>
</PageContent>
);
}
export default MetadataSourceSettings;
@@ -0,0 +1,18 @@
.container {
display: flex;
}
.info {
margin-left: 30px;
}
.title {
margin-bottom: 20px;
font-weight: 300;
font-size: 36px;
}
.image {
width: 213px;
height: 123px;
}
@@ -0,0 +1,27 @@
import React from 'react';
import Link from 'Components/Link/Link';
import styles from './TheTvdb.css';
function TheTvdb(props) {
return (
<div className={styles.container}>
<img
className={styles.image}
src={`${window.Sonarr.urlBase}/Content/Images/thetvdb.png`}
/>
<div className={styles.info}>
<div className={styles.title}>
TheTVDB
</div>
<div>
Series and episode information is provided by TheTVDB.com. <Link to="https://www.thetvdb.com/subscribe">Please consider supporting them.</Link>
</div>
</div>
</div>
);
}
export default TheTvdb;