mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-03 21:29:59 -05:00
Removing unused Progresses. Fixing issues reported by React.
This commit is contained in:
parent
70dc356adc
commit
0bd5d17b46
5 changed files with 15 additions and 76 deletions
|
|
@ -1,12 +1,12 @@
|
|||
import React from 'react';
|
||||
import {Link, NavLink, Route} from "react-router-dom";
|
||||
import {Link, Route} from "react-router-dom";
|
||||
import Paginator, {
|
||||
changePageHistory,
|
||||
DEFAULT_LIMIT,
|
||||
defaultSearchOrder,
|
||||
defaultVideoOrder,
|
||||
humanFileSize, PageContainer,
|
||||
Progresses,
|
||||
humanFileSize,
|
||||
PageContainer,
|
||||
scrollToTop,
|
||||
searchOrders,
|
||||
secondsToString,
|
||||
|
|
@ -67,26 +67,17 @@ class ManageVideos extends React.Component {
|
|||
<Container fluid>
|
||||
<WROLModeMessage content='Cannot modify Videos'/>
|
||||
|
||||
<p>
|
||||
<Button primary
|
||||
onClick={this.download}
|
||||
>
|
||||
Download Videos
|
||||
</Button>
|
||||
<label>Download any missing videos</label>
|
||||
<br/>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<Button secondary
|
||||
id='refresh_videos'
|
||||
onClick={this.refresh}
|
||||
>
|
||||
Refresh Video Files
|
||||
</Button>
|
||||
<label>Search for any videos in the media directory</label>
|
||||
<label htmlFor='refresh_videos'>
|
||||
Find any new video files. Remove any Videos which no longer have files.
|
||||
</label>
|
||||
</p>
|
||||
|
||||
{this.state.streamUrl && <Progresses streamUrl={this.state.streamUrl}/>}
|
||||
</Container>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue