Merge branch 'fileupload' into 'master'
Video upload through webpage Closes #59 See merge request lukas/openmediacenter!55
This commit is contained in:
		@@ -11,3 +11,9 @@
 | 
			
		||||
    padding: 10px;
 | 
			
		||||
    width: 40%;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.uploadtext {
 | 
			
		||||
    font-size: x-large;
 | 
			
		||||
    margin-top: 30px;
 | 
			
		||||
    margin-bottom: 10px;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -2,6 +2,8 @@ import React from 'react';
 | 
			
		||||
import style from './MovieSettings.module.css';
 | 
			
		||||
import {APINode, callAPI} from '../../utils/Api';
 | 
			
		||||
import {GeneralSuccess} from '../../types/GeneralTypes';
 | 
			
		||||
import {DropZone} from '../../elements/DropZone/DropZone';
 | 
			
		||||
import GlobalInfos from '../../utils/GlobalInfos';
 | 
			
		||||
 | 
			
		||||
interface state {
 | 
			
		||||
    text: string[];
 | 
			
		||||
@@ -99,6 +101,8 @@ class MovieSettings extends React.Component<Props, state> {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    render(): JSX.Element {
 | 
			
		||||
        const theme = GlobalInfos.getThemeStyle();
 | 
			
		||||
 | 
			
		||||
        return (
 | 
			
		||||
            <>
 | 
			
		||||
                <button
 | 
			
		||||
@@ -123,6 +127,10 @@ class MovieSettings extends React.Component<Props, state> {
 | 
			
		||||
                        </div>
 | 
			
		||||
                    ))}
 | 
			
		||||
                </div>
 | 
			
		||||
                <div className={theme.textcolor}>
 | 
			
		||||
                    <div className={style.uploadtext}>Video Upload:</div>
 | 
			
		||||
                    <DropZone />
 | 
			
		||||
                </div>
 | 
			
		||||
            </>
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user