Context submenu; Modal beginnings

This commit is contained in:
James Barnsley
2016-11-11 23:21:51 +13:00
parent 31a1856baf
commit c471ae62e7
17 changed files with 294 additions and 19 deletions

View File

@ -8,6 +8,7 @@ import { connect } from 'react-redux'
import Sidebar from '../components/Sidebar'
import ContextMenu from '../components/ContextMenu'
import Dragger from '../components/Dragger'
import Modal from '../components/Modal'
import * as uiActions from '../services/ui/actions'
import * as pusherActions from '../services/pusher/actions'
@ -112,6 +113,7 @@ class App extends React.Component{
</main>
<ContextMenu state={this.props.context_menu} />
<Dragger />
<Modal />
</div>
);
}

View File

@ -19,8 +19,9 @@ class LibraryPlaylists extends React.Component{
render(){
if( !this.props.playlists ) return null
var columns = [
{ name: 'name', width: '50'},
{ name: 'uri', width: '25'}
{ name: 'name', width: '40'},
{ name: 'can_edit', width: '15'},
{ name: 'uri', width: '45'}
]
return (