mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
add colors to main UI and fix donate iframe
This commit is contained in:
@@ -2,6 +2,7 @@ import styled, { css } from 'styled-components'
|
|||||||
|
|
||||||
export const AppWrapper = styled.div`
|
export const AppWrapper = styled.div`
|
||||||
height: 100%;
|
height: 100%;
|
||||||
|
background: #cbe8d9;
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-columns: 60px 1fr;
|
grid-template-columns: 60px 1fr;
|
||||||
grid-template-rows: 60px 1fr;
|
grid-template-rows: 60px 1fr;
|
||||||
@@ -34,7 +35,7 @@ export const AppSidebarStyle = styled.div`
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
transition: width 195ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
|
transition: width 195ms cubic-bezier(0.4, 0, 0.6, 1) 0ms;
|
||||||
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
border-right: 1px solid rgba(0, 0, 0, 0.12);
|
||||||
background: #fff;
|
background: #eee;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
`}
|
`}
|
||||||
`
|
`
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ import Button from '@material-ui/core/Button'
|
|||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
|
|
||||||
const donateFrame =
|
const donateFrame =
|
||||||
'<iframe src="https://yoomoney.ru/quickpay/shop-widget?writer=seller&targets=TorrServer Donate&targets-hint=&default-sum=200&button-text=14&payment-type-choice=on&mobile-payment-type-choice=on&comment=on&hint=&successURL=&quickpay=shop&account=410013733697114" width="100%" height="302" frameborder="0" allowtransparency="true" scrolling="no"></iframe>'
|
'<iframe src="https://yoomoney.ru/quickpay/shop-widget?writer=seller&targets=TorrServer Donate&targets-hint=&default-sum=200&button-text=14&payment-type-choice=on&mobile-payment-type-choice=on&comment=on&hint=&successURL=&quickpay=shop&account=410013733697114" width="320" height="320" frameborder="0" allowtransparency="true" scrolling="no"></iframe>'
|
||||||
|
|
||||||
export default function DonateDialog({ onClose }) {
|
export default function DonateDialog({ onClose }) {
|
||||||
// eslint-disable-next-line no-unused-vars
|
// eslint-disable-next-line no-unused-vars
|
||||||
@@ -22,9 +22,7 @@ export default function DonateDialog({ onClose }) {
|
|||||||
<ListItem key='DonateLinks'>
|
<ListItem key='DonateLinks'>
|
||||||
<ButtonGroup variant='outlined' color='primary' aria-label='contained primary button group'>
|
<ButtonGroup variant='outlined' color='primary' aria-label='contained primary button group'>
|
||||||
<Button onClick={() => window.open('https://www.paypal.com/paypalme/yourok', '_blank')}>PayPal</Button>
|
<Button onClick={() => window.open('https://www.paypal.com/paypalme/yourok', '_blank')}>PayPal</Button>
|
||||||
<Button onClick={() => window.open('https://yoomoney.ru/to/410013733697114', '_blank')}>
|
<Button onClick={() => window.open('https://yoomoney.ru/to/410013733697114', '_blank')}>IO.Money</Button>
|
||||||
Yandex.Money
|
|
||||||
</Button>
|
|
||||||
</ButtonGroup>
|
</ButtonGroup>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
<ListItem key='DonateForm'>
|
<ListItem key='DonateForm'>
|
||||||
|
|||||||
Reference in New Issue
Block a user