mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 14:06:09 +05:00
use dark bar with light dialogs
This commit is contained in:
@@ -11,6 +11,8 @@ import ListItemIcon from '@material-ui/core/ListItemIcon'
|
||||
import ListItemText from '@material-ui/core/ListItemText'
|
||||
import { useTranslation } from 'react-i18next'
|
||||
import { echoHost } from 'utils/Hosts'
|
||||
import { ThemeProvider } from '@material-ui/core/styles'
|
||||
import { lightTheme } from 'components/App'
|
||||
|
||||
export default function AboutDialog() {
|
||||
const { t } = useTranslation()
|
||||
@@ -29,59 +31,55 @@ export default function AboutDialog() {
|
||||
<ListItemText primary={t('About')} />
|
||||
</ListItem>
|
||||
|
||||
<Dialog
|
||||
open={open}
|
||||
onClose={() => setOpen(false)}
|
||||
aria-labelledby='form-dialog-title'
|
||||
fullWidth
|
||||
maxWidth='sm'
|
||||
>
|
||||
<DialogTitle id='form-dialog-title'>{t('About')}</DialogTitle>
|
||||
<ThemeProvider theme={lightTheme}>
|
||||
<Dialog open={open} onClose={() => setOpen(false)} aria-labelledby='form-dialog-title' fullWidth maxWidth='sm'>
|
||||
<DialogTitle id='form-dialog-title'>{t('About')}</DialogTitle>
|
||||
|
||||
<DialogContent>
|
||||
<center>
|
||||
<h2>TorrServer {torrServerVersion}</h2>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/YouROK/TorrServer'>
|
||||
https://github.com/YouROK/TorrServer
|
||||
</a>
|
||||
</center>
|
||||
<DialogContent>
|
||||
<center>
|
||||
<h2>{t('ThanksToEveryone')}</h2>
|
||||
<h2>TorrServer {torrServerVersion}</h2>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/YouROK/TorrServer'>
|
||||
https://github.com/YouROK/TorrServer
|
||||
</a>
|
||||
</center>
|
||||
<br />
|
||||
<h2>{t('SpecialThanks')}</h2>
|
||||
<b>anacrolix Matt Joiner</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/anacrolix/'>
|
||||
github.com/anacrolix
|
||||
</a>
|
||||
<br />
|
||||
<b>nikk</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/tsynik'>
|
||||
github.com/tsynik
|
||||
</a>
|
||||
<br />
|
||||
<b>dancheskus</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/dancheskus'>
|
||||
github.com/dancheskus
|
||||
</a>
|
||||
<br />
|
||||
<b>tw1cker Руслан Пахнев</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/Nemiroff'>
|
||||
github.com/Nemiroff
|
||||
</a>
|
||||
<br />
|
||||
<b>SpAwN_LMG</b>
|
||||
<br />
|
||||
<DialogContent>
|
||||
<center>
|
||||
<h2>{t('ThanksToEveryone')}</h2>
|
||||
</center>
|
||||
<br />
|
||||
<h2>{t('SpecialThanks')}</h2>
|
||||
<b>anacrolix Matt Joiner</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/anacrolix/'>
|
||||
github.com/anacrolix
|
||||
</a>
|
||||
<br />
|
||||
<b>nikk</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/tsynik'>
|
||||
github.com/tsynik
|
||||
</a>
|
||||
<br />
|
||||
<b>dancheskus</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/dancheskus'>
|
||||
github.com/dancheskus
|
||||
</a>
|
||||
<br />
|
||||
<b>tw1cker Руслан Пахнев</b>
|
||||
<a style={{ color: '#00a572' }} href='https://github.com/Nemiroff'>
|
||||
github.com/Nemiroff
|
||||
</a>
|
||||
<br />
|
||||
<b>SpAwN_LMG</b>
|
||||
<br />
|
||||
</DialogContent>
|
||||
</DialogContent>
|
||||
</DialogContent>
|
||||
|
||||
<DialogActions>
|
||||
<Button onClick={() => setOpen(false)} color='primary' variant='outlined' autoFocus>
|
||||
{t('Close')}
|
||||
</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
<DialogActions>
|
||||
<Button onClick={() => setOpen(false)} color='primary' variant='outlined' autoFocus>
|
||||
{t('Close')}
|
||||
</Button>
|
||||
</DialogActions>
|
||||
</Dialog>
|
||||
</ThemeProvider>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user